[glsl][ir] Regenerate skips

Bug: 42251044
Change-Id: I6eeded412e03c801b35e67659e404f914cb286f1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/204895
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Reviewed-by: James Price <jrprice@google.com>
diff --git a/test/tint/access/ptr.wgsl.expected.ir.glsl b/test/tint/access/ptr.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/access/ptr.wgsl.expected.ir.glsl
+++ b/test/tint/access/ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/array/assign_to_function_var.wgsl.expected.ir.glsl b/test/tint/array/assign_to_function_var.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/array/assign_to_function_var.wgsl.expected.ir.glsl
+++ b/test/tint/array/assign_to_function_var.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/array/assign_to_private_var.wgsl.expected.ir.glsl b/test/tint/array/assign_to_private_var.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/array/assign_to_private_var.wgsl.expected.ir.glsl
+++ b/test/tint/array/assign_to_private_var.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/array/assign_to_storage_var.wgsl.expected.ir.glsl b/test/tint/array/assign_to_storage_var.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/array/assign_to_storage_var.wgsl.expected.ir.glsl
+++ b/test/tint/array/assign_to_storage_var.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/array/assign_to_subexpr.wgsl.expected.ir.glsl b/test/tint/array/assign_to_subexpr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/array/assign_to_subexpr.wgsl.expected.ir.glsl
+++ b/test/tint/array/assign_to_subexpr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/array/assign_to_workgroup_var.wgsl.expected.ir.glsl b/test/tint/array/assign_to_workgroup_var.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/array/assign_to_workgroup_var.wgsl.expected.ir.glsl
+++ b/test/tint/array/assign_to_workgroup_var.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/benchmark/cluster-lights.wgsl.expected.ir.glsl b/test/tint/benchmark/cluster-lights.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/benchmark/cluster-lights.wgsl.expected.ir.glsl
+++ b/test/tint/benchmark/cluster-lights.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/benchmark/metaball-isosurface.wgsl.expected.ir.glsl b/test/tint/benchmark/metaball-isosurface.wgsl.expected.ir.glsl
index cc960de..072de26 100644
--- a/test/tint/benchmark/metaball-isosurface.wgsl.expected.ir.glsl
+++ b/test/tint/benchmark/metaball-isosurface.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757165==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5580ff8ad4d3 bp 0x7fff0355c780 sp 0x7fff0355c5a0 T0)
-==1757165==The signal is caused by a READ memory access.
-==1757165==Hint: address points to the zero page.
-    #0 0x5580ff8ad4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5580ff8c017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5580ff8bffd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5580ff8bf72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5580ff8aa704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5580ff8a9a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5580ff8a793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5580ff8a6b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5580ff8a602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5580ff3f2ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5580fec0e455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5580febf6d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5580febde861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fa994c05b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fa994c05c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5580feb03000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757165==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/benchmark/particles.wgsl.expected.ir.glsl b/test/tint/benchmark/particles.wgsl.expected.ir.glsl
index 34bda75..43548a7 100644
--- a/test/tint/benchmark/particles.wgsl.expected.ir.glsl
+++ b/test/tint/benchmark/particles.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757159==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55973af704d3 bp 0x7ffea5d48ac0 sp 0x7ffea5d488e0 T0)
-==1757159==The signal is caused by a READ memory access.
-==1757159==Hint: address points to the zero page.
-    #0 0x55973af704d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55973af8317c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55973af82fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55973af8272f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55973af6d704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55973af6ca63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55973af6a93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55973af69b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55973af6902b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55973aab5ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55973a2d1455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55973a2b9d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55973a2a1861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7ff805b64b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7ff805b64c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55973a1c6000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757159==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/benchmark/shadow-fragment.wgsl.expected.ir.glsl b/test/tint/benchmark/shadow-fragment.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/benchmark/shadow-fragment.wgsl.expected.ir.glsl
+++ b/test/tint/benchmark/shadow-fragment.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.ir.glsl b/test/tint/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.ir.glsl
index 5791950..b771681 100644
--- a/test/tint/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.ir.glsl
+++ b/test/tint/benchmark/skinned-shadowed-pbr-fragment.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757176==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55e4545354d3 bp 0x7fffc05544e0 sp 0x7fffc0554300 T0)
-==1757176==The signal is caused by a READ memory access.
-==1757176==Hint: address points to the zero page.
-    #0 0x55e4545354d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55e45454817c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55e454547fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55e45454772f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55e454532704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55e454531a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55e45452f93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55e45452eb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55e45452e02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55e45407aebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55e453896455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55e45387ed35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55e453866861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f4b2ab37b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f4b2ab37c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55e45378b000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757176==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/benchmark/skinned-shadowed-pbr-vertex.wgsl.expected.ir.glsl b/test/tint/benchmark/skinned-shadowed-pbr-vertex.wgsl.expected.ir.glsl
index c169eb6..c4f3e26 100644
--- a/test/tint/benchmark/skinned-shadowed-pbr-vertex.wgsl.expected.ir.glsl
+++ b/test/tint/benchmark/skinned-shadowed-pbr-vertex.wgsl.expected.ir.glsl
@@ -1,31 +1,84 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757161==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55f6a834a4d3 bp 0x7ffe0ffdb760 sp 0x7ffe0ffdb580 T0)
-==1757161==The signal is caused by a READ memory access.
-==1757161==Hint: address points to the zero page.
-    #0 0x55f6a834a4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55f6a835d17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55f6a835cfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55f6a835c72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55f6a8347704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55f6a8346a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55f6a834493a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55f6a8343b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55f6a834302b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55f6a7e8febb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55f6a76ab455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55f6a7693d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55f6a767b861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f7499337b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f7499337c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55f6a75a0000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757161==ABORTING
+struct Camera {
+  mat4 projection;
+  mat4 inverseProjection;
+  mat4 view;
+  vec3 position;
+  float time;
+  vec2 outputSize;
+  float zNear;
+  float zFar;
+};
+
+struct Joints {
+  mat4 matrices[];
+};
+
+struct VertexInput {
+  vec4 position;
+  vec3 normal;
+  vec4 tangent;
+  vec2 texcoord;
+  uvec4 joints;
+  vec4 weights;
+  vec4 instance0;
+  vec4 instance1;
+  vec4 instance2;
+  vec4 instance3;
+  vec4 instanceColor;
+};
+
+struct VertexOutput {
+  vec4 position;
+  vec3 worldPos;
+  vec3 view;
+  vec2 texcoord;
+  vec2 texcoord2;
+  vec4 color;
+  vec4 instanceColor;
+  vec3 normal;
+  vec3 tangent;
+  vec3 bitangent;
+};
+
+uniform Camera camera;
+Joints joint;
+Joints inverseBind;
+mat4 getInstanceMatrix(VertexInput tint_symbol) {
+  return mat4(tint_symbol.instance0, tint_symbol.instance1, tint_symbol.instance2, tint_symbol.instance3);
+}
+mat4 getSkinMatrix(VertexInput tint_symbol) {
+  mat4 joint0 = (joint.matrices[tint_symbol.joints[0u]] * inverseBind.matrices[tint_symbol.joints[0u]]);
+  mat4 joint1 = (joint.matrices[tint_symbol.joints[1u]] * inverseBind.matrices[tint_symbol.joints[1u]]);
+  mat4 joint2 = (joint.matrices[tint_symbol.joints[2u]] * inverseBind.matrices[tint_symbol.joints[2u]]);
+  mat4 joint3 = (joint.matrices[tint_symbol.joints[3u]] * inverseBind.matrices[tint_symbol.joints[3u]]);
+  mat4 skinMatrix = ((((joint0 * tint_symbol.weights[0u]) + (joint1 * tint_symbol.weights[1u])) + (joint2 * tint_symbol.weights[2u])) + (joint3 * tint_symbol.weights[3u]));
+  return skinMatrix;
+}
+VertexOutput main(VertexInput tint_symbol) {
+  VertexOutput tint_symbol_1 = VertexOutput(vec4(0.0f), vec3(0.0f), vec3(0.0f), vec2(0.0f), vec2(0.0f), vec4(0.0f), vec4(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  mat4 modelMatrix = getSkinMatrix(tint_symbol);
+  tint_symbol_1.normal = normalize((modelMatrix * vec4(tint_symbol.normal, 0.0f)).xyz);
+  tint_symbol_1.tangent = normalize((modelMatrix * vec4(tint_symbol.tangent.xyz, 0.0f)).xyz);
+  tint_symbol_1.bitangent = (cross(tint_symbol_1.normal, tint_symbol_1.tangent) * tint_symbol.tangent[3u]);
+  tint_symbol_1.color = vec4(1.0f);
+  tint_symbol_1.texcoord = tint_symbol.texcoord;
+  tint_symbol_1.instanceColor = tint_symbol.instanceColor;
+  vec4 modelPos = (modelMatrix * tint_symbol.position);
+  tint_symbol_1.worldPos = modelPos.xyz;
+  tint_symbol_1.view = (camera.position - modelPos.xyz);
+  tint_symbol_1.position = ((camera.projection * camera.view) * modelPos);
+  return tint_symbol_1;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: '' : array size required 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/benchmark/uniformity-analysis-pointer-parameters.wgsl.expected.ir.glsl b/test/tint/benchmark/uniformity-analysis-pointer-parameters.wgsl.expected.ir.glsl
index ae9b6d0..56f48c5 100644
--- a/test/tint/benchmark/uniformity-analysis-pointer-parameters.wgsl.expected.ir.glsl
+++ b/test/tint/benchmark/uniformity-analysis-pointer-parameters.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.ir.glsl b/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.ir.glsl
index 5ed0b96..f297654 100644
--- a/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/storage/dynamic_index/read.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757169==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55b3053f44d3 bp 0x7ffe8375bc20 sp 0x7ffe8375ba40 T0)
-==1757169==The signal is caused by a READ memory access.
-==1757169==Hint: address points to the zero page.
-    #0 0x55b3053f44d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55b30540717c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55b305406fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55b30540672f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55b3053f1704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55b3053f0a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55b3053ee93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55b3053edb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55b3053ed02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55b304f39ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55b304755455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55b30473dd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55b304725861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f56ffe43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f56ffe43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55b30464a000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757169==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.ir.glsl b/test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.ir.glsl
index 1fd51b1..f297654 100644
--- a/test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/storage/dynamic_index/read_f16.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757168==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a734b3e4d3 bp 0x7ffd72737c80 sp 0x7ffd72737aa0 T0)
-==1757168==The signal is caused by a READ memory access.
-==1757168==Hint: address points to the zero page.
-    #0 0x55a734b3e4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55a734b5117c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55a734b50fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55a734b5072f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55a734b3b704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55a734b3aa63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55a734b3893a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55a734b37b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55a734b3702b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55a734683ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55a733e9f455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55a733e87d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55a733e6f861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fc226605b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fc226605c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55a733d94000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757168==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.ir.glsl b/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.ir.glsl
index 927eef3..a293e00 100644
--- a/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/storage/dynamic_index/write.wgsl.expected.ir.glsl
@@ -1,31 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757094==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55e32760b4d3 bp 0x7ffd6a9937c0 sp 0x7ffd6a9935e0 T0)
-==1757094==The signal is caused by a READ memory access.
-==1757094==Hint: address points to the zero page.
-    #0 0x55e32760b4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55e32761e17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55e32761dfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55e32761d72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55e327608704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55e327607a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55e32760593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55e327604b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55e32760402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55e327150ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55e32696c455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55e326954d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55e32693c861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f7355364b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f7355364c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55e326861000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757094==ABORTING
+struct Inner {
+  float scalar_f32;
+  int scalar_i32;
+  uint scalar_u32;
+  vec2 vec2_f32;
+  ivec2 vec2_i32;
+  uvec2 vec2_u32;
+  vec3 vec3_f32;
+  ivec3 vec3_i32;
+  uvec3 vec3_u32;
+  vec4 vec4_f32;
+  ivec4 vec4_i32;
+  uvec4 vec4_u32;
+  mat2 mat2x2_f32;
+  mat2x3 mat2x3_f32;
+  mat2x4 mat2x4_f32;
+  mat3x2 mat3x2_f32;
+  mat3 mat3x3_f32;
+  mat3x4 mat3x4_f32;
+  mat4x2 mat4x2_f32;
+  mat4x3 mat4x3_f32;
+  mat4 mat4x4_f32;
+  vec3 arr2_vec3_f32[2];
+};
+
+struct S {
+  Inner arr[];
+};
+
+S sb;
+void tint_store_and_preserve_padding_3(inout vec3 target[2], vec3 value_param[2]) {
+  {
+    uint v = 0u;
+    v = 0u;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 2u)) {
+        break;
+      }
+      target[v_1] = value_param[v_1];
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+}
+void tint_store_and_preserve_padding_2(inout mat4x3 target, mat4x3 value_param) {
+  target[0u] = value_param[0u];
+  target[1u] = value_param[1u];
+  target[2u] = value_param[2u];
+  target[3u] = value_param[3u];
+}
+void tint_store_and_preserve_padding_1(inout mat3 target, mat3 value_param) {
+  target[0u] = value_param[0u];
+  target[1u] = value_param[1u];
+  target[2u] = value_param[2u];
+}
+void tint_store_and_preserve_padding(inout mat2x3 target, mat2x3 value_param) {
+  target[0u] = value_param[0u];
+  target[1u] = value_param[1u];
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uint idx) {
+  sb.arr[idx].scalar_f32 = 0.0f;
+  sb.arr[idx].scalar_i32 = 0;
+  sb.arr[idx].scalar_u32 = 0u;
+  sb.arr[idx].vec2_f32 = vec2(0.0f);
+  sb.arr[idx].vec2_i32 = ivec2(0);
+  sb.arr[idx].vec2_u32 = uvec2(0u);
+  sb.arr[idx].vec3_f32 = vec3(0.0f);
+  sb.arr[idx].vec3_i32 = ivec3(0);
+  sb.arr[idx].vec3_u32 = uvec3(0u);
+  sb.arr[idx].vec4_f32 = vec4(0.0f);
+  sb.arr[idx].vec4_i32 = ivec4(0);
+  sb.arr[idx].vec4_u32 = uvec4(0u);
+  sb.arr[idx].mat2x2_f32 = mat2(vec2(0.0f), vec2(0.0f));
+  tint_store_and_preserve_padding(sb.arr[idx].mat2x3_f32, mat2x3(vec3(0.0f), vec3(0.0f)));
+  sb.arr[idx].mat2x4_f32 = mat2x4(vec4(0.0f), vec4(0.0f));
+  sb.arr[idx].mat3x2_f32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  tint_store_and_preserve_padding_1(sb.arr[idx].mat3x3_f32, mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)));
+  sb.arr[idx].mat3x4_f32 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  sb.arr[idx].mat4x2_f32 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  tint_store_and_preserve_padding_2(sb.arr[idx].mat4x3_f32, mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)));
+  sb.arr[idx].mat4x4_f32 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  tint_store_and_preserve_padding_3(sb.arr[idx].arr2_vec3_f32, vec3[2](vec3(0.0f), vec3(0.0f)));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:29: '' : array size required 
+ERROR: 0:30: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.ir.glsl b/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.ir.glsl
index 5ceb668..97c633f 100644
--- a/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/storage/dynamic_index/write_f16.wgsl.expected.ir.glsl
@@ -1,31 +1,144 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757173==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55dba9c4b4d3 bp 0x7fffdbf28920 sp 0x7fffdbf28740 T0)
-==1757173==The signal is caused by a READ memory access.
-==1757173==Hint: address points to the zero page.
-    #0 0x55dba9c4b4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55dba9c5e17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55dba9c5dfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55dba9c5d72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55dba9c48704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55dba9c47a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55dba9c4593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55dba9c44b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55dba9c4402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55dba9790ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55dba8fac455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55dba8f94d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55dba8f7c861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f8a38243b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f8a38243c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55dba8ea1000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757173==ABORTING
+struct Inner {
+  float scalar_f32;
+  int scalar_i32;
+  uint scalar_u32;
+  float16_t scalar_f16;
+  vec2 vec2_f32;
+  ivec2 vec2_i32;
+  uvec2 vec2_u32;
+  f16vec2 vec2_f16;
+  vec3 vec3_f32;
+  ivec3 vec3_i32;
+  uvec3 vec3_u32;
+  f16vec3 vec3_f16;
+  vec4 vec4_f32;
+  ivec4 vec4_i32;
+  uvec4 vec4_u32;
+  f16vec4 vec4_f16;
+  mat2 mat2x2_f32;
+  mat2x3 mat2x3_f32;
+  mat2x4 mat2x4_f32;
+  mat3x2 mat3x2_f32;
+  mat3 mat3x3_f32;
+  mat3x4 mat3x4_f32;
+  mat4x2 mat4x2_f32;
+  mat4x3 mat4x3_f32;
+  mat4 mat4x4_f32;
+  f16mat2 mat2x2_f16;
+  f16mat2x3 mat2x3_f16;
+  f16mat2x4 mat2x4_f16;
+  f16mat3x2 mat3x2_f16;
+  f16mat3 mat3x3_f16;
+  f16mat3x4 mat3x4_f16;
+  f16mat4x2 mat4x2_f16;
+  f16mat4x3 mat4x3_f16;
+  f16mat4 mat4x4_f16;
+  vec3 arr2_vec3_f32[2];
+  f16mat4x2 arr2_mat4x2_f16[2];
+};
+
+struct S {
+  Inner arr[];
+};
+
+S sb;
+void tint_store_and_preserve_padding_6(inout vec3 target[2], vec3 value_param[2]) {
+  {
+    uint v = 0u;
+    v = 0u;
+    while(true) {
+      uint v_1 = v;
+      if ((v_1 >= 2u)) {
+        break;
+      }
+      target[v_1] = value_param[v_1];
+      {
+        v = (v_1 + 1u);
+      }
+      continue;
+    }
+  }
+}
+void tint_store_and_preserve_padding_5(inout f16mat4x3 target, f16mat4x3 value_param) {
+  target[0u] = value_param[0u];
+  target[1u] = value_param[1u];
+  target[2u] = value_param[2u];
+  target[3u] = value_param[3u];
+}
+void tint_store_and_preserve_padding_4(inout f16mat3 target, f16mat3 value_param) {
+  target[0u] = value_param[0u];
+  target[1u] = value_param[1u];
+  target[2u] = value_param[2u];
+}
+void tint_store_and_preserve_padding_3(inout f16mat2x3 target, f16mat2x3 value_param) {
+  target[0u] = value_param[0u];
+  target[1u] = value_param[1u];
+}
+void tint_store_and_preserve_padding_2(inout mat4x3 target, mat4x3 value_param) {
+  target[0u] = value_param[0u];
+  target[1u] = value_param[1u];
+  target[2u] = value_param[2u];
+  target[3u] = value_param[3u];
+}
+void tint_store_and_preserve_padding_1(inout mat3 target, mat3 value_param) {
+  target[0u] = value_param[0u];
+  target[1u] = value_param[1u];
+  target[2u] = value_param[2u];
+}
+void tint_store_and_preserve_padding(inout mat2x3 target, mat2x3 value_param) {
+  target[0u] = value_param[0u];
+  target[1u] = value_param[1u];
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uint idx) {
+  sb.arr[idx].scalar_f32 = 0.0f;
+  sb.arr[idx].scalar_i32 = 0;
+  sb.arr[idx].scalar_u32 = 0u;
+  sb.arr[idx].scalar_f16 = 0.0hf;
+  sb.arr[idx].vec2_f32 = vec2(0.0f);
+  sb.arr[idx].vec2_i32 = ivec2(0);
+  sb.arr[idx].vec2_u32 = uvec2(0u);
+  sb.arr[idx].vec2_f16 = f16vec2(0.0hf);
+  sb.arr[idx].vec3_f32 = vec3(0.0f);
+  sb.arr[idx].vec3_i32 = ivec3(0);
+  sb.arr[idx].vec3_u32 = uvec3(0u);
+  sb.arr[idx].vec3_f16 = f16vec3(0.0hf);
+  sb.arr[idx].vec4_f32 = vec4(0.0f);
+  sb.arr[idx].vec4_i32 = ivec4(0);
+  sb.arr[idx].vec4_u32 = uvec4(0u);
+  sb.arr[idx].vec4_f16 = f16vec4(0.0hf);
+  sb.arr[idx].mat2x2_f32 = mat2(vec2(0.0f), vec2(0.0f));
+  tint_store_and_preserve_padding(sb.arr[idx].mat2x3_f32, mat2x3(vec3(0.0f), vec3(0.0f)));
+  sb.arr[idx].mat2x4_f32 = mat2x4(vec4(0.0f), vec4(0.0f));
+  sb.arr[idx].mat3x2_f32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  tint_store_and_preserve_padding_1(sb.arr[idx].mat3x3_f32, mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)));
+  sb.arr[idx].mat3x4_f32 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  sb.arr[idx].mat4x2_f32 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  tint_store_and_preserve_padding_2(sb.arr[idx].mat4x3_f32, mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)));
+  sb.arr[idx].mat4x4_f32 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  sb.arr[idx].mat2x2_f16 = f16mat2(f16vec2(0.0hf), f16vec2(0.0hf));
+  tint_store_and_preserve_padding_3(sb.arr[idx].mat2x3_f16, f16mat2x3(f16vec3(0.0hf), f16vec3(0.0hf)));
+  sb.arr[idx].mat2x4_f16 = f16mat2x4(f16vec4(0.0hf), f16vec4(0.0hf));
+  sb.arr[idx].mat3x2_f16 = f16mat3x2(f16vec2(0.0hf), f16vec2(0.0hf), f16vec2(0.0hf));
+  tint_store_and_preserve_padding_4(sb.arr[idx].mat3x3_f16, f16mat3(f16vec3(0.0hf), f16vec3(0.0hf), f16vec3(0.0hf)));
+  sb.arr[idx].mat3x4_f16 = f16mat3x4(f16vec4(0.0hf), f16vec4(0.0hf), f16vec4(0.0hf));
+  sb.arr[idx].mat4x2_f16 = f16mat4x2(f16vec2(0.0hf), f16vec2(0.0hf), f16vec2(0.0hf), f16vec2(0.0hf));
+  tint_store_and_preserve_padding_5(sb.arr[idx].mat4x3_f16, f16mat4x3(f16vec3(0.0hf), f16vec3(0.0hf), f16vec3(0.0hf), f16vec3(0.0hf)));
+  sb.arr[idx].mat4x4_f16 = f16mat4(f16vec4(0.0hf), f16vec4(0.0hf), f16vec4(0.0hf), f16vec4(0.0hf));
+  tint_store_and_preserve_padding_6(sb.arr[idx].arr2_vec3_f32, vec3[2](vec3(0.0f), vec3(0.0f)));
+  sb.arr[idx].arr2_mat4x2_f16 = f16mat4x2[2](f16mat4x2(f16vec2(0.0hf), f16vec2(0.0hf), f16vec2(0.0hf), f16vec2(0.0hf)), f16mat4x2(f16vec2(0.0hf), f16vec2(0.0hf), f16vec2(0.0hf), f16vec2(0.0hf)));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:44: '' : array size required 
+ERROR: 0:45: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/buffer/storage/static_index/read.wgsl.expected.ir.glsl b/test/tint/buffer/storage/static_index/read.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/buffer/storage/static_index/read.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/storage/static_index/read.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/storage/static_index/read_f16.wgsl.expected.ir.glsl b/test/tint/buffer/storage/static_index/read_f16.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/buffer/storage/static_index/read_f16.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/storage/static_index/read_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/storage/types/runtime_array_f16.wgsl.expected.ir.glsl b/test/tint/buffer/storage/types/runtime_array_f16.wgsl.expected.ir.glsl
index f7eb705..ffb69ed 100644
--- a/test/tint/buffer/storage/types/runtime_array_f16.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/storage/types/runtime_array_f16.wgsl.expected.ir.glsl
@@ -1,31 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757203==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55ecf5a0c4d3 bp 0x7ffcc6f8b740 sp 0x7ffcc6f8b560 T0)
-==1757203==The signal is caused by a READ memory access.
-==1757203==Hint: address points to the zero page.
-    #0 0x55ecf5a0c4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55ecf5a1f17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55ecf5a1efd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55ecf5a1e72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55ecf5a09704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55ecf5a08a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55ecf5a0693a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55ecf5a05b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55ecf5a0502b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55ecf5551ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55ecf4d6d455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55ecf4d55d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55ecf4d3d861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7ff643e43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7ff643e43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55ecf4c62000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757203==ABORTING
+float16_t tint_symbol[];
+float16_t tint_symbol_1[];
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tint_symbol_1[0] = tint_symbol[0];
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/buffer/storage/types/runtime_array_f32.wgsl.expected.ir.glsl b/test/tint/buffer/storage/types/runtime_array_f32.wgsl.expected.ir.glsl
index 5bc0c9e..f013b64 100644
--- a/test/tint/buffer/storage/types/runtime_array_f32.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/storage/types/runtime_array_f32.wgsl.expected.ir.glsl
@@ -1,31 +1,18 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757211==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55931f6fb4d3 bp 0x7ffce07b7b00 sp 0x7ffce07b7920 T0)
-==1757211==The signal is caused by a READ memory access.
-==1757211==Hint: address points to the zero page.
-    #0 0x55931f6fb4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55931f70e17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55931f70dfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55931f70d72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55931f6f8704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55931f6f7a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55931f6f593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55931f6f4b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55931f6f402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55931f240ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55931ea5c455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55931ea44d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55931ea2c861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f20d2843b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f20d2843c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55931e951000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757211==ABORTING
+float tint_symbol[];
+float tint_symbol_1[];
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tint_symbol_1[0] = tint_symbol[0];
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/dynamic_index/read.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/dynamic_index/read_f16.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/dynamic_index/read_f16.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/buffer/uniform/dynamic_index/read_f16.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/dynamic_index/read_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/static_index/read.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/static_index/read.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/buffer/uniform/static_index/read.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/static_index/read.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/static_index/read_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/array/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x2_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/struct/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x2_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x3_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat2x4_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x2_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x3_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat3x4_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x2_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x3_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f16/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/dynamic_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/static_index_via_ptr.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/buffer/uniform/std140/unnested/mat4x4_f32/to_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/chromium/1251009.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1251009.wgsl.expected.ir.glsl
index ae9b6d0..fccae17 100644
--- a/test/tint/bug/chromium/1251009.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1251009.wgsl.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct VertexInputs0 {
+  uint vertex_index;
+  int loc0;
+};
+
+struct VertexInputs1 {
+  uint loc1;
+  vec4 loc3;
+};
+
+vec4 main(VertexInputs0 inputs0, uint loc1, uint instance_index, VertexInputs1 inputs1) {
+  uint foo = (inputs0.vertex_index + instance_index);
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'float' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/chromium/1273230.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1273230.wgsl.expected.ir.glsl
index 39277fe..072de26 100644
--- a/test/tint/bug/chromium/1273230.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1273230.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757622==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5637b1b8c4d3 bp 0x7ffea5be74e0 sp 0x7ffea5be7300 T0)
-==1757622==The signal is caused by a READ memory access.
-==1757622==Hint: address points to the zero page.
-    #0 0x5637b1b8c4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5637b1b9f17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5637b1b9efd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5637b1b9e72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5637b1b89704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5637b1b88a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5637b1b8693a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5637b1b85b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5637b1b8502b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5637b16d1ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5637b0eed455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5637b0ed5d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5637b0ebd861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f163b964b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f163b964c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5637b0de2000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757622==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/chromium/1290107.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1290107.wgsl.expected.ir.glsl
index 8b980a5..697d463 100644
--- a/test/tint/bug/chromium/1290107.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1290107.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757624==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x555926f244d3 bp 0x7fff28681160 sp 0x7fff28680f80 T0)
-==1757624==The signal is caused by a READ memory access.
-==1757624==Hint: address points to the zero page.
-    #0 0x555926f244d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x555926f3717c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x555926f36fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x555926f3672f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x555926f21704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x555926f20a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x555926f1e93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x555926f1db21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x555926f1d02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x555926a69ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x555926285455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55592626dd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x555926255861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f3461c43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f3461c43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55592617a000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757624==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/chromium/1360925.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1360925.wgsl.expected.ir.glsl
index 6bb5a5d..4687334 100644
--- a/test/tint/bug/chromium/1360925.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1360925.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757629==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a40d36f4d3 bp 0x7fff048114c0 sp 0x7fff048112e0 T0)
-==1757629==The signal is caused by a READ memory access.
-==1757629==Hint: address points to the zero page.
-    #0 0x55a40d36f4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55a40d38217c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55a40d381fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55a40d38172f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55a40d36c704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55a40d36ba63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55a40d36993a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55a40d368b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55a40d36802b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55a40ceb4ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55a40c6d0455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55a40c6b89a6 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1140:16
-    #12 0x55a40c6a0861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f840d364b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f840d364c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55a40c5c5000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757629==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/chromium/1381883.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1381883.wgsl.expected.ir.glsl
index cdd95eb..eb83c6d 100644
--- a/test/tint/bug/chromium/1381883.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1381883.wgsl.expected.ir.glsl
@@ -1,14 +1,16 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 void main(float none) {
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: 'main' : function cannot take any parameter(s) 
-ERROR: 0:3: '' : compilation terminated 
-ERROR: 3 compilation errors.  No code generated.
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
 
 
 
diff --git a/test/tint/bug/chromium/1386647.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1386647.wgsl.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/bug/chromium/1386647.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1386647.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/chromium/1405676.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1405676.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/bug/chromium/1405676.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1405676.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/chromium/1430309.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1430309.wgsl.expected.ir.glsl
index 37c14ad..f25226f 100644
--- a/test/tint/bug/chromium/1430309.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1430309.wgsl.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_f32 {
+  float f;
+};
+
+struct frexp_result_f32_1 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+frexp_result_f32 a = frexp_result_f32(0.0f);
+frexp_result_f32_1 b = frexp_result_f32_1(0.5f, 1);
+vec4 main() {
+  return vec4(a.f, b.fract, 0.0f, 0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/chromium/1433499.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1433499.wgsl.expected.ir.glsl
index 21c32fe..4687334 100644
--- a/test/tint/bug/chromium/1433499.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1433499.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:264 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/bug/chromium/1434271.wgsl.expected.ir.glsl b/test/tint/bug/chromium/1434271.wgsl.expected.ir.glsl
index 8e1130b..d0115e4 100644
--- a/test/tint/bug/chromium/1434271.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/1434271.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757645==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55f9e8a5d4d3 bp 0x7ffc29229f20 sp 0x7ffc29229d40 T0)
-==1757645==The signal is caused by a READ memory access.
-==1757645==Hint: address points to the zero page.
-    #0 0x55f9e8a5d4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55f9e8a7017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55f9e8a6ffd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55f9e8a6f72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55f9e8a5a704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55f9e8a59a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55f9e8a5793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55f9e8a56b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55f9e8a5602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55f9e85a2ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55f9e7dbe455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55f9e7da6d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55f9e7d8e861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f0b31564b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f0b31564c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55f9e7cb3000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757645==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/chromium/40943165.wgsl.expected.ir.glsl b/test/tint/bug/chromium/40943165.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/bug/chromium/40943165.wgsl.expected.ir.glsl
+++ b/test/tint/bug/chromium/40943165.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/dawn/947.wgsl.expected.ir.glsl b/test/tint/bug/dawn/947.wgsl.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/bug/dawn/947.wgsl.expected.ir.glsl
+++ b/test/tint/bug/dawn/947.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/bug/fxc/dyn_array_idx/read/workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.ir.glsl b/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/bug/fxc/dyn_array_idx/write/workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.ir.glsl b/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.ir.glsl
+++ b/test/tint/bug/fxc/gradient_in_varying_loop/1112.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.ir.glsl b/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.ir.glsl
index 161783e..90920eb 100644
--- a/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.ir.glsl
+++ b/test/tint/bug/fxc/indexed_assign_to_array_in_struct/1206.wgsl.expected.ir.glsl
@@ -1,31 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757675==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a9801c34d3 bp 0x7fff959a39c0 sp 0x7fff959a37e0 T0)
-==1757675==The signal is caused by a READ memory access.
-==1757675==Hint: address points to the zero page.
-    #0 0x55a9801c34d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55a9801d617c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55a9801d5fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55a9801d572f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55a9801c0704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55a9801bfa63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55a9801bd93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55a9801bcb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55a9801bc02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55a97fd08ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55a97f524455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55a97f50cd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55a97f4f4861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f28c5843b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f28c5843c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55a97f419000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757675==ABORTING
+struct Particle {
+  vec3 position[8];
+  float lifetime;
+  vec4 color;
+  vec3 velocity;
+};
+
+struct Particles {
+  Particle p[];
+};
+
+struct Simulation {
+  uint i;
+};
+
+Particles particles;
+uniform Simulation sim;
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  Particle particle = particles.p[0];
+  particle.position[sim.i] = particle.position[sim.i];
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: '' : array size required 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/bug/oss-fuzz/57795.spv.expected.ir.glsl b/test/tint/bug/oss-fuzz/57795.spv.expected.ir.glsl
index 09fa285..965a5b8 100644
--- a/test/tint/bug/oss-fuzz/57795.spv.expected.ir.glsl
+++ b/test/tint/bug/oss-fuzz/57795.spv.expected.ir.glsl
@@ -3,12 +3,15 @@
 #version 310 es
 
 struct S_6 {
-  float field0[13][18];
+  vec3 field0[13][18];
 };
+precision highp float;
+precision highp int;
 
-float x_75[58] = float[58](mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)));
-S_6 x_82[46] = S_6[46](S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(float[13][18](float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), float[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))));
-float x_85[37] = float[37](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+
+mat4 x_75[58] = mat4[58](mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)), mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f)));
+S_6 x_82[46] = S_6[46](S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))), S_6(vec3[13][18](vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)), vec3[18](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f)))));
+vec3 x_85[37] = vec3[37](vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
 void main_1() {
   uint x_88 = 58u;
 }
diff --git a/test/tint/bug/tint/1046.wgsl.expected.ir.glsl b/test/tint/bug/tint/1046.wgsl.expected.ir.glsl
index 832d18e..b771681 100644
--- a/test/tint/bug/tint/1046.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1046.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757708==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55beb51b14d3 bp 0x7fff64c24460 sp 0x7fff64c24280 T0)
-==1757708==The signal is caused by a READ memory access.
-==1757708==Hint: address points to the zero page.
-    #0 0x55beb51b14d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55beb51c417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55beb51c3fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55beb51c372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55beb51ae704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55beb51ada63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55beb51ab93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55beb51aab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55beb51aa02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55beb4cf6ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55beb4512455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55beb44fad35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55beb44e2861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f4454937b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f4454937c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55beb4407000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757708==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1061.spvasm.expected.ir.glsl b/test/tint/bug/tint/1061.spvasm.expected.ir.glsl
index d4bb1c9..ed8530f 100644
--- a/test/tint/bug/tint/1061.spvasm.expected.ir.glsl
+++ b/test/tint/bug/tint/1061.spvasm.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec4 r;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  vec4 v = vec4(0.0f);
+  f = 1.0f;
+  float v_1 = sin(f);
+  float v_2 = cos(f);
+  float v_3 = exp2(f);
+  v = vec4(v_1, v_2, v_3, log(f));
+  if ((distance(v, x_7.r) < 0.10000000149011611938f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1076.wgsl.expected.ir.glsl b/test/tint/bug/tint/1076.wgsl.expected.ir.glsl
index e1168e3..372ebfb 100644
--- a/test/tint/bug/tint/1076.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1076.wgsl.expected.ir.glsl
@@ -1,11 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct FragIn {
+  float a;
+  uint mask;
+};
+precision highp float;
+precision highp int;
+
+
+FragIn main(FragIn tint_symbol_1, float b) {
+  if ((tint_symbol_1.mask == 0u)) {
+    return tint_symbol_1;
+  }
+  return FragIn(b, 1u);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1081.wgsl.expected.ir.glsl b/test/tint/bug/tint/1081.wgsl.expected.ir.glsl
index e1168e3..c6bde81 100644
--- a/test/tint/bug/tint/1081.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1081.wgsl.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+bool continue_execution = true;
+int f(int x) {
+  if ((x == 10)) {
+    continue_execution = false;
+  }
+  return x;
+}
+int main(ivec3 x) {
+  int y = x[0u];
+  {
+    while(true) {
+      int r = f(y);
+      if ((r == 0)) {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  if (!(continue_execution)) {
+    discard;
+  }
+  return y;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'int' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1083.wgsl.expected.ir.glsl b/test/tint/bug/tint/1083.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/bug/tint/1083.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1083.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1088.spvasm.expected.ir.glsl b/test/tint/bug/tint/1088.spvasm.expected.ir.glsl
index d4bb1c9..abb2f73 100644
--- a/test/tint/bug/tint/1088.spvasm.expected.ir.glsl
+++ b/test/tint/bug/tint/1088.spvasm.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct LeftOver {
+  mat4 worldViewProjection;
+  float time;
+  mat4 test2[2];
+  strided_arr test[4];
+};
+
+struct main_out {
+  vec4 tint_symbol;
+  vec2 vUV_1;
+};
+
+vec3 position_1 = vec3(0.0f);
+uniform LeftOver x_14;
+vec2 vUV = vec2(0.0f);
+vec2 uv = vec2(0.0f);
+vec3 normal = vec3(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 q = vec4(0.0f);
+  vec3 p = vec3(0.0f);
+  q = vec4(position_1.x, position_1.y, position_1.z, 1.0f);
+  p = q.xyz;
+  float v = p.x;
+  p[0u] = (v + sin(((x_14.test[0].el * position_1.y) + x_14.time)));
+  float v_1 = p.y;
+  p[1u] = (v_1 + sin((x_14.time + 4.0f)));
+  mat4 v_2 = x_14.worldViewProjection;
+  tint_symbol = (v_2 * vec4(p.x, p.y, p.z, 1.0f));
+  vUV = uv;
+  tint_symbol[1u] = (tint_symbol.y * -1.0f);
+}
+main_out main(vec3 position_1_param, vec2 uv_param, vec3 normal_param) {
+  position_1 = position_1_param;
+  uv = uv_param;
+  normal = normal_param;
+  main_1();
+  return main_out(tint_symbol, vUV);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:39: 'main' : function cannot take any parameter(s) 
+ERROR: 0:39: 'structure' :  entry point cannot return a value
+ERROR: 0:39: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1113.wgsl.expected.ir.glsl b/test/tint/bug/tint/1113.wgsl.expected.ir.glsl
index 2627215..072de26 100644
--- a/test/tint/bug/tint/1113.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1113.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757716==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55876fadd4d3 bp 0x7ffeddef5980 sp 0x7ffeddef57a0 T0)
-==1757716==The signal is caused by a READ memory access.
-==1757716==Hint: address points to the zero page.
-    #0 0x55876fadd4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55876faf017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55876faeffd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55876faef72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55876fada704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55876fad9a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55876fad793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55876fad6b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55876fad602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55876f622ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55876ee3e455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55876ee26d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55876ee0e861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fb515c43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fb515c43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55876ed33000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757716==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1118.wgsl.expected.ir.glsl b/test/tint/bug/tint/1118.wgsl.expected.ir.glsl
index 72ca17c..b3ab4db 100644
--- a/test/tint/bug/tint/1118.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1118.wgsl.expected.ir.glsl
@@ -1,11 +1,130 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Scene {
+  vec4 vEyePosition;
+};
+
+struct Material {
+  vec4 vDiffuseColor;
+  vec3 vAmbientColor;
+  float placeholder;
+  vec3 vEmissiveColor;
+  float placeholder2;
+};
+
+struct Mesh {
+  float visibility;
+};
+
+struct main_out {
+  vec4 glFragColor_1;
+};
+precision highp float;
+precision highp int;
+
+
+float fClipDistance3 = 0.0f;
+float fClipDistance4 = 0.0f;
+uniform Scene x_29;
+uniform Material x_49;
+uniform Mesh x_137;
+vec4 glFragColor = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  vec3 viewDirectionW = vec3(0.0f);
+  vec4 baseColor = vec4(0.0f);
+  vec3 diffuseColor = vec3(0.0f);
+  float alpha = 0.0f;
+  vec3 normalW = vec3(0.0f);
+  vec2 uvOffset = vec2(0.0f);
+  vec3 baseAmbientColor = vec3(0.0f);
+  float glossiness = 0.0f;
+  vec3 diffuseBase = vec3(0.0f);
+  float shadow = 0.0f;
+  vec4 refractionColor = vec4(0.0f);
+  vec4 reflectionColor = vec4(0.0f);
+  vec3 emissiveColor = vec3(0.0f);
+  vec3 finalDiffuse = vec3(0.0f);
+  vec3 finalSpecular = vec3(0.0f);
+  vec4 color = vec4(0.0f);
+  float x_9 = fClipDistance3;
+  if ((x_9 > 0.0f)) {
+    continue_execution = false;
+  }
+  float x_17 = fClipDistance4;
+  if ((x_17 > 0.0f)) {
+    continue_execution = false;
+  }
+  vec4 x_34 = x_29.vEyePosition;
+  vec3 x_38 = vec3(0.0f);
+  viewDirectionW = normalize((vec3(x_34[0u], x_34[1u], x_34[2u]) - x_38));
+  baseColor = vec4(1.0f);
+  vec4 x_52 = x_49.vDiffuseColor;
+  diffuseColor = vec3(x_52[0u], x_52[1u], x_52[2u]);
+  float x_60 = x_49.vDiffuseColor.w;
+  alpha = x_60;
+  vec3 x_62 = vec3(0.0f);
+  vec3 x_64 = vec3(0.0f);
+  uvOffset = vec2(0.0f);
+  vec4 x_74 = vec4(0.0f);
+  vec4 x_76 = baseColor;
+  vec3 v = vec3(x_76[0u], x_76[1u], x_76[2u]);
+  vec3 x_78 = (v * vec3(x_74[0u], x_74[1u], x_74[2u]));
+  vec4 x_79 = baseColor;
+  baseColor = vec4(x_78[0u], x_78[1u], x_78[2u], x_79[3u]);
+  baseAmbientColor = vec3(1.0f);
+  glossiness = 0.0f;
+  diffuseBase = vec3(0.0f);
+  shadow = 1.0f;
+  refractionColor = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  reflectionColor = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  vec3 x_94 = x_49.vEmissiveColor;
+  emissiveColor = x_94;
+  vec3 x_96 = diffuseBase;
+  vec3 x_97 = diffuseColor;
+  vec3 x_99 = emissiveColor;
+  vec3 x_103 = x_49.vAmbientColor;
+  vec4 x_108 = baseColor;
+  vec3 v_1 = clamp((((x_96 * x_97) + x_99) + x_103), vec3(0.0f), vec3(1.0f));
+  finalDiffuse = (v_1 * vec3(x_108[0u], x_108[1u], x_108[2u]));
+  finalSpecular = vec3(0.0f);
+  vec3 x_113 = finalDiffuse;
+  vec3 x_114 = baseAmbientColor;
+  vec3 x_116 = finalSpecular;
+  vec4 x_118 = reflectionColor;
+  vec4 x_121 = refractionColor;
+  vec3 v_2 = (((x_113 * x_114) + x_116) + vec3(x_118[0u], x_118[1u], x_118[2u]));
+  vec3 x_123 = (v_2 + vec3(x_121[0u], x_121[1u], x_121[2u]));
+  float x_124 = alpha;
+  color = vec4(x_123[0u], x_123[1u], x_123[2u], x_124);
+  vec4 x_129 = color;
+  vec3 x_132 = max(vec3(x_129[0u], x_129[1u], x_129[2u]), vec3(0.0f));
+  vec4 x_133 = color;
+  color = vec4(x_132[0u], x_132[1u], x_132[2u], x_133[3u]);
+  float x_140 = x_137.visibility;
+  float x_142 = color.w;
+  color[3u] = (x_142 * x_140);
+  vec4 x_147 = color;
+  glFragColor = x_147;
+}
+main_out main(float fClipDistance3_param, float fClipDistance4_param) {
+  fClipDistance3 = fClipDistance3_param;
+  fClipDistance4 = fClipDistance4_param;
+  main_1();
+  main_out v_3 = main_out(glFragColor);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1121.wgsl.expected.ir.glsl b/test/tint/bug/tint/1121.wgsl.expected.ir.glsl
index b5a9d69..072de26 100644
--- a/test/tint/bug/tint/1121.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1121.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757718==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5637a42204d3 bp 0x7ffd2697fea0 sp 0x7ffd2697fcc0 T0)
-==1757718==The signal is caused by a READ memory access.
-==1757718==Hint: address points to the zero page.
-    #0 0x5637a42204d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5637a423317c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5637a4232fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5637a423272f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5637a421d704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5637a421ca63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5637a421a93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5637a4219b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5637a421902b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5637a3d65ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5637a3581455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5637a3569d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5637a3551861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f3001c43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f3001c43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5637a3476000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757718==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1183.wgsl.expected.ir.glsl b/test/tint/bug/tint/1183.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/bug/tint/1183.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1183.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1321.wgsl.expected.ir.glsl b/test/tint/bug/tint/1321.wgsl.expected.ir.glsl
index 0480431..4687334 100644
--- a/test/tint/bug/tint/1321.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1321.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1385.wgsl.expected.ir.glsl b/test/tint/bug/tint/1385.wgsl.expected.ir.glsl
index 827cb32..f37b41e 100644
--- a/test/tint/bug/tint/1385.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1385.wgsl.expected.ir.glsl
@@ -1,31 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757724==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55bd1cbcb4d3 bp 0x7ffe67245980 sp 0x7ffe672457a0 T0)
-==1757724==The signal is caused by a READ memory access.
-==1757724==Hint: address points to the zero page.
-    #0 0x55bd1cbcb4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55bd1cbde17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55bd1cbddfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55bd1cbdd72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55bd1cbc8704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55bd1cbc7a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55bd1cbc593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55bd1cbc4b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55bd1cbc402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55bd1c710ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55bd1bf2c455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55bd1bf14d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55bd1befc861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f0d5e937b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f0d5e937c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55bd1be21000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757724==ABORTING
+int data[];
+int foo() {
+  return data[0];
+}
+layout(local_size_x = 16, local_size_y = 16, local_size_z = 1) in;
+void main() {
+  foo();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1509.wgsl.expected.ir.glsl b/test/tint/bug/tint/1509.wgsl.expected.ir.glsl
index d4bb1c9..2d5a929 100644
--- a/test/tint/bug/tint/1509.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1509.wgsl.expected.ir.glsl
@@ -1,11 +1,2023 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uint v0 = 0u;
+uint v1 = 0u;
+uint v2 = 0u;
+uint v3 = 0u;
+uint v4 = 0u;
+uint v5 = 0u;
+uint v6 = 0u;
+uint v7 = 0u;
+uint v8 = 0u;
+uint v9 = 0u;
+uint v10 = 0u;
+uint v11 = 0u;
+uint v12 = 0u;
+uint v13 = 0u;
+uint v14 = 0u;
+uint v15 = 0u;
+uint v16 = 0u;
+uint v17 = 0u;
+uint v18 = 0u;
+uint v19 = 0u;
+uint v20 = 0u;
+uint v21 = 0u;
+uint v22 = 0u;
+uint v23 = 0u;
+uint v24 = 0u;
+uint v25 = 0u;
+uint v26 = 0u;
+uint v27 = 0u;
+uint v28 = 0u;
+uint v29 = 0u;
+uint v30 = 0u;
+uint v31 = 0u;
+uint v32 = 0u;
+uint v33 = 0u;
+uint v34 = 0u;
+uint v35 = 0u;
+uint v36 = 0u;
+uint v37 = 0u;
+uint v38 = 0u;
+uint v39 = 0u;
+uint v40 = 0u;
+uint v41 = 0u;
+uint v42 = 0u;
+uint v43 = 0u;
+uint v44 = 0u;
+uint v45 = 0u;
+uint v46 = 0u;
+uint v47 = 0u;
+uint v48 = 0u;
+uint v49 = 0u;
+uint v50 = 0u;
+uint v51 = 0u;
+uint v52 = 0u;
+uint v53 = 0u;
+uint v54 = 0u;
+uint v55 = 0u;
+uint v56 = 0u;
+uint v57 = 0u;
+uint v58 = 0u;
+uint v59 = 0u;
+uint v60 = 0u;
+uint v61 = 0u;
+uint v62 = 0u;
+uint v63 = 0u;
+uint v64 = 0u;
+uint v65 = 0u;
+uint v66 = 0u;
+uint v67 = 0u;
+uint v68 = 0u;
+uint v69 = 0u;
+uint v70 = 0u;
+uint v71 = 0u;
+uint v72 = 0u;
+uint v73 = 0u;
+uint v74 = 0u;
+uint v75 = 0u;
+uint v76 = 0u;
+uint v77 = 0u;
+uint v78 = 0u;
+uint v79 = 0u;
+uint v80 = 0u;
+uint v81 = 0u;
+uint v82 = 0u;
+uint v83 = 0u;
+uint v84 = 0u;
+uint v85 = 0u;
+uint v86 = 0u;
+uint v87 = 0u;
+uint v88 = 0u;
+uint v89 = 0u;
+uint v90 = 0u;
+uint v91 = 0u;
+uint v92 = 0u;
+uint v93 = 0u;
+uint v94 = 0u;
+uint v95 = 0u;
+uint v96 = 0u;
+uint v97 = 0u;
+uint v98 = 0u;
+uint v99 = 0u;
+uint v100 = 0u;
+uint v101 = 0u;
+uint v102 = 0u;
+uint v103 = 0u;
+uint v104 = 0u;
+uint v105 = 0u;
+uint v106 = 0u;
+uint v107 = 0u;
+uint v108 = 0u;
+uint v109 = 0u;
+uint v110 = 0u;
+uint v111 = 0u;
+uint v112 = 0u;
+uint v113 = 0u;
+uint v114 = 0u;
+uint v115 = 0u;
+uint v116 = 0u;
+uint v117 = 0u;
+uint v118 = 0u;
+uint v119 = 0u;
+uint v120 = 0u;
+uint v121 = 0u;
+uint v122 = 0u;
+uint v123 = 0u;
+uint v124 = 0u;
+uint v125 = 0u;
+uint v126 = 0u;
+uint v127 = 0u;
+uint v128 = 0u;
+uint v129 = 0u;
+uint v130 = 0u;
+uint v131 = 0u;
+uint v132 = 0u;
+uint v133 = 0u;
+uint v134 = 0u;
+uint v135 = 0u;
+uint v136 = 0u;
+uint v137 = 0u;
+uint v138 = 0u;
+uint v139 = 0u;
+uint v140 = 0u;
+uint v141 = 0u;
+uint v142 = 0u;
+uint v143 = 0u;
+uint v144 = 0u;
+uint v145 = 0u;
+uint v146 = 0u;
+uint v147 = 0u;
+uint v148 = 0u;
+uint v149 = 0u;
+uint v150 = 0u;
+uint v151 = 0u;
+uint v152 = 0u;
+uint v153 = 0u;
+uint v154 = 0u;
+uint v155 = 0u;
+uint v156 = 0u;
+uint v157 = 0u;
+uint v158 = 0u;
+uint v159 = 0u;
+uint v160 = 0u;
+uint v161 = 0u;
+uint v162 = 0u;
+uint v163 = 0u;
+uint v164 = 0u;
+uint v165 = 0u;
+uint v166 = 0u;
+uint v167 = 0u;
+uint v168 = 0u;
+uint v169 = 0u;
+uint v170 = 0u;
+uint v171 = 0u;
+uint v172 = 0u;
+uint v173 = 0u;
+uint v174 = 0u;
+uint v175 = 0u;
+uint v176 = 0u;
+uint v177 = 0u;
+uint v178 = 0u;
+uint v179 = 0u;
+uint v180 = 0u;
+uint v181 = 0u;
+uint v182 = 0u;
+uint v183 = 0u;
+uint v184 = 0u;
+uint v185 = 0u;
+uint v186 = 0u;
+uint v187 = 0u;
+uint v188 = 0u;
+uint v189 = 0u;
+uint v190 = 0u;
+uint v191 = 0u;
+uint v192 = 0u;
+uint v193 = 0u;
+uint v194 = 0u;
+uint v195 = 0u;
+uint v196 = 0u;
+uint v197 = 0u;
+uint v198 = 0u;
+uint v199 = 0u;
+uint v200 = 0u;
+uint v201 = 0u;
+uint v202 = 0u;
+uint v203 = 0u;
+uint v204 = 0u;
+uint v205 = 0u;
+uint v206 = 0u;
+uint v207 = 0u;
+uint v208 = 0u;
+uint v209 = 0u;
+uint v210 = 0u;
+uint v211 = 0u;
+uint v212 = 0u;
+uint v213 = 0u;
+uint v214 = 0u;
+uint v215 = 0u;
+uint v216 = 0u;
+uint v217 = 0u;
+uint v218 = 0u;
+uint v219 = 0u;
+uint v220 = 0u;
+uint v221 = 0u;
+uint v222 = 0u;
+uint v223 = 0u;
+uint v224 = 0u;
+uint v225 = 0u;
+uint v226 = 0u;
+uint v227 = 0u;
+uint v228 = 0u;
+uint v229 = 0u;
+uint v230 = 0u;
+uint v231 = 0u;
+uint v232 = 0u;
+uint v233 = 0u;
+uint v234 = 0u;
+uint v235 = 0u;
+uint v236 = 0u;
+uint v237 = 0u;
+uint v238 = 0u;
+uint v239 = 0u;
+uint v240 = 0u;
+uint v241 = 0u;
+uint v242 = 0u;
+uint v243 = 0u;
+uint v244 = 0u;
+uint v245 = 0u;
+uint v246 = 0u;
+uint v247 = 0u;
+uint v248 = 0u;
+uint v249 = 0u;
+uint v250 = 0u;
+uint v251 = 0u;
+uint v252 = 0u;
+uint v253 = 0u;
+uint v254 = 0u;
+uint v255 = 0u;
+uint v256 = 0u;
+uint v257 = 0u;
+uint v258 = 0u;
+uint v259 = 0u;
+uint v260 = 0u;
+uint v261 = 0u;
+uint v262 = 0u;
+uint v263 = 0u;
+uint v264 = 0u;
+uint v265 = 0u;
+uint v266 = 0u;
+uint v267 = 0u;
+uint v268 = 0u;
+uint v269 = 0u;
+uint v270 = 0u;
+uint v271 = 0u;
+uint v272 = 0u;
+uint v273 = 0u;
+uint v274 = 0u;
+uint v275 = 0u;
+uint v276 = 0u;
+uint v277 = 0u;
+uint v278 = 0u;
+uint v279 = 0u;
+uint v280 = 0u;
+uint v281 = 0u;
+uint v282 = 0u;
+uint v283 = 0u;
+uint v284 = 0u;
+uint v285 = 0u;
+uint v286 = 0u;
+uint v287 = 0u;
+uint v288 = 0u;
+uint v289 = 0u;
+uint v290 = 0u;
+uint v291 = 0u;
+uint v292 = 0u;
+uint v293 = 0u;
+uint v294 = 0u;
+uint v295 = 0u;
+uint v296 = 0u;
+uint v297 = 0u;
+uint v298 = 0u;
+uint v299 = 0u;
+uint v300 = 0u;
+uint v301 = 0u;
+uint v302 = 0u;
+uint v303 = 0u;
+uint v304 = 0u;
+uint v305 = 0u;
+uint v306 = 0u;
+uint v307 = 0u;
+uint v308 = 0u;
+uint v309 = 0u;
+uint v310 = 0u;
+uint v311 = 0u;
+uint v312 = 0u;
+uint v313 = 0u;
+uint v314 = 0u;
+uint v315 = 0u;
+uint v316 = 0u;
+uint v317 = 0u;
+uint v318 = 0u;
+uint v319 = 0u;
+uint v320 = 0u;
+uint v321 = 0u;
+uint v322 = 0u;
+uint v323 = 0u;
+uint v324 = 0u;
+uint v325 = 0u;
+uint v326 = 0u;
+uint v327 = 0u;
+uint v328 = 0u;
+uint v329 = 0u;
+uint v330 = 0u;
+uint v331 = 0u;
+uint v332 = 0u;
+uint v333 = 0u;
+uint v334 = 0u;
+uint v335 = 0u;
+uint v336 = 0u;
+uint v337 = 0u;
+uint v338 = 0u;
+uint v339 = 0u;
+uint v340 = 0u;
+uint v341 = 0u;
+uint v342 = 0u;
+uint v343 = 0u;
+uint v344 = 0u;
+uint v345 = 0u;
+uint v346 = 0u;
+uint v347 = 0u;
+uint v348 = 0u;
+uint v349 = 0u;
+uint v350 = 0u;
+uint v351 = 0u;
+uint v352 = 0u;
+uint v353 = 0u;
+uint v354 = 0u;
+uint v355 = 0u;
+uint v356 = 0u;
+uint v357 = 0u;
+uint v358 = 0u;
+uint v359 = 0u;
+uint v360 = 0u;
+uint v361 = 0u;
+uint v362 = 0u;
+uint v363 = 0u;
+uint v364 = 0u;
+uint v365 = 0u;
+uint v366 = 0u;
+uint v367 = 0u;
+uint v368 = 0u;
+uint v369 = 0u;
+uint v370 = 0u;
+uint v371 = 0u;
+uint v372 = 0u;
+uint v373 = 0u;
+uint v374 = 0u;
+uint v375 = 0u;
+uint v376 = 0u;
+uint v377 = 0u;
+uint v378 = 0u;
+uint v379 = 0u;
+uint v380 = 0u;
+uint v381 = 0u;
+uint v382 = 0u;
+uint v383 = 0u;
+uint v384 = 0u;
+uint v385 = 0u;
+uint v386 = 0u;
+uint v387 = 0u;
+uint v388 = 0u;
+uint v389 = 0u;
+uint v390 = 0u;
+uint v391 = 0u;
+uint v392 = 0u;
+uint v393 = 0u;
+uint v394 = 0u;
+uint v395 = 0u;
+uint v396 = 0u;
+uint v397 = 0u;
+uint v398 = 0u;
+uint v399 = 0u;
+uint v400 = 0u;
+uint v401 = 0u;
+uint v402 = 0u;
+uint v403 = 0u;
+uint v404 = 0u;
+uint v405 = 0u;
+uint v406 = 0u;
+uint v407 = 0u;
+uint v408 = 0u;
+uint v409 = 0u;
+uint v410 = 0u;
+uint v411 = 0u;
+uint v412 = 0u;
+uint v413 = 0u;
+uint v414 = 0u;
+uint v415 = 0u;
+uint v416 = 0u;
+uint v417 = 0u;
+uint v418 = 0u;
+uint v419 = 0u;
+uint v420 = 0u;
+uint v421 = 0u;
+uint v422 = 0u;
+uint v423 = 0u;
+uint v424 = 0u;
+uint v425 = 0u;
+uint v426 = 0u;
+uint v427 = 0u;
+uint v428 = 0u;
+uint v429 = 0u;
+uint v430 = 0u;
+uint v431 = 0u;
+uint v432 = 0u;
+uint v433 = 0u;
+uint v434 = 0u;
+uint v435 = 0u;
+uint v436 = 0u;
+uint v437 = 0u;
+uint v438 = 0u;
+uint v439 = 0u;
+uint v440 = 0u;
+uint v441 = 0u;
+uint v442 = 0u;
+uint v443 = 0u;
+uint v444 = 0u;
+uint v445 = 0u;
+uint v446 = 0u;
+uint v447 = 0u;
+uint v448 = 0u;
+uint v449 = 0u;
+uint v450 = 0u;
+uint v451 = 0u;
+uint v452 = 0u;
+uint v453 = 0u;
+uint v454 = 0u;
+uint v455 = 0u;
+uint v456 = 0u;
+uint v457 = 0u;
+uint v458 = 0u;
+uint v459 = 0u;
+uint v460 = 0u;
+uint v461 = 0u;
+uint v462 = 0u;
+uint v463 = 0u;
+uint v464 = 0u;
+uint v465 = 0u;
+uint v466 = 0u;
+uint v467 = 0u;
+uint v468 = 0u;
+uint v469 = 0u;
+uint v470 = 0u;
+uint v471 = 0u;
+uint v472 = 0u;
+uint v473 = 0u;
+uint v474 = 0u;
+uint v475 = 0u;
+uint v476 = 0u;
+uint v477 = 0u;
+uint v478 = 0u;
+uint v479 = 0u;
+uint v480 = 0u;
+uint v481 = 0u;
+uint v482 = 0u;
+uint v483 = 0u;
+uint v484 = 0u;
+uint v485 = 0u;
+uint v486 = 0u;
+uint v487 = 0u;
+uint v488 = 0u;
+uint v489 = 0u;
+uint v490 = 0u;
+uint v491 = 0u;
+uint v492 = 0u;
+uint v493 = 0u;
+uint v494 = 0u;
+uint v495 = 0u;
+uint v496 = 0u;
+uint v497 = 0u;
+uint v498 = 0u;
+uint v499 = 0u;
+uint v500 = 0u;
+uint v501 = 0u;
+uint v502 = 0u;
+uint v503 = 0u;
+uint v504 = 0u;
+uint v505 = 0u;
+uint v506 = 0u;
+uint v507 = 0u;
+uint v508 = 0u;
+uint v509 = 0u;
+uint v510 = 0u;
+uint v511 = 0u;
+uint v512 = 0u;
+uint v513 = 0u;
+uint v514 = 0u;
+uint v515 = 0u;
+uint v516 = 0u;
+uint v517 = 0u;
+uint v518 = 0u;
+uint v519 = 0u;
+uint v520 = 0u;
+uint v521 = 0u;
+uint v522 = 0u;
+uint v523 = 0u;
+uint v524 = 0u;
+uint v525 = 0u;
+uint v526 = 0u;
+uint v527 = 0u;
+uint v528 = 0u;
+uint v529 = 0u;
+uint v530 = 0u;
+uint v531 = 0u;
+uint v532 = 0u;
+uint v533 = 0u;
+uint v534 = 0u;
+uint v535 = 0u;
+uint v536 = 0u;
+uint v537 = 0u;
+uint v538 = 0u;
+uint v539 = 0u;
+uint v540 = 0u;
+uint v541 = 0u;
+uint v542 = 0u;
+uint v543 = 0u;
+uint v544 = 0u;
+uint v545 = 0u;
+uint v546 = 0u;
+uint v547 = 0u;
+uint v548 = 0u;
+uint v549 = 0u;
+uint v550 = 0u;
+uint v551 = 0u;
+uint v552 = 0u;
+uint v553 = 0u;
+uint v554 = 0u;
+uint v555 = 0u;
+uint v556 = 0u;
+uint v557 = 0u;
+uint v558 = 0u;
+uint v559 = 0u;
+uint v560 = 0u;
+uint v561 = 0u;
+uint v562 = 0u;
+uint v563 = 0u;
+uint v564 = 0u;
+uint v565 = 0u;
+uint v566 = 0u;
+uint v567 = 0u;
+uint v568 = 0u;
+uint v569 = 0u;
+uint v570 = 0u;
+uint v571 = 0u;
+uint v572 = 0u;
+uint v573 = 0u;
+uint v574 = 0u;
+uint v575 = 0u;
+uint v576 = 0u;
+uint v577 = 0u;
+uint v578 = 0u;
+uint v579 = 0u;
+uint v580 = 0u;
+uint v581 = 0u;
+uint v582 = 0u;
+uint v583 = 0u;
+uint v584 = 0u;
+uint v585 = 0u;
+uint v586 = 0u;
+uint v587 = 0u;
+uint v588 = 0u;
+uint v589 = 0u;
+uint v590 = 0u;
+uint v591 = 0u;
+uint v592 = 0u;
+uint v593 = 0u;
+uint v594 = 0u;
+uint v595 = 0u;
+uint v596 = 0u;
+uint v597 = 0u;
+uint v598 = 0u;
+uint v599 = 0u;
+uint v600 = 0u;
+uint v601 = 0u;
+uint v602 = 0u;
+uint v603 = 0u;
+uint v604 = 0u;
+uint v605 = 0u;
+uint v606 = 0u;
+uint v607 = 0u;
+uint v608 = 0u;
+uint v609 = 0u;
+uint v610 = 0u;
+uint v611 = 0u;
+uint v612 = 0u;
+uint v613 = 0u;
+uint v614 = 0u;
+uint v615 = 0u;
+uint v616 = 0u;
+uint v617 = 0u;
+uint v618 = 0u;
+uint v619 = 0u;
+uint v620 = 0u;
+uint v621 = 0u;
+uint v622 = 0u;
+uint v623 = 0u;
+uint v624 = 0u;
+uint v625 = 0u;
+uint v626 = 0u;
+uint v627 = 0u;
+uint v628 = 0u;
+uint v629 = 0u;
+uint v630 = 0u;
+uint v631 = 0u;
+uint v632 = 0u;
+uint v633 = 0u;
+uint v634 = 0u;
+uint v635 = 0u;
+uint v636 = 0u;
+uint v637 = 0u;
+uint v638 = 0u;
+uint v639 = 0u;
+uint v640 = 0u;
+uint v641 = 0u;
+uint v642 = 0u;
+uint v643 = 0u;
+uint v644 = 0u;
+uint v645 = 0u;
+uint v646 = 0u;
+uint v647 = 0u;
+uint v648 = 0u;
+uint v649 = 0u;
+uint v650 = 0u;
+uint v651 = 0u;
+uint v652 = 0u;
+uint v653 = 0u;
+uint v654 = 0u;
+uint v655 = 0u;
+uint v656 = 0u;
+uint v657 = 0u;
+uint v658 = 0u;
+uint v659 = 0u;
+uint v660 = 0u;
+uint v661 = 0u;
+uint v662 = 0u;
+uint v663 = 0u;
+uint v664 = 0u;
+uint v665 = 0u;
+uint v666 = 0u;
+uint v667 = 0u;
+uint v668 = 0u;
+uint v669 = 0u;
+uint v670 = 0u;
+uint v671 = 0u;
+uint v672 = 0u;
+uint v673 = 0u;
+uint v674 = 0u;
+uint v675 = 0u;
+uint v676 = 0u;
+uint v677 = 0u;
+uint v678 = 0u;
+uint v679 = 0u;
+uint v680 = 0u;
+uint v681 = 0u;
+uint v682 = 0u;
+uint v683 = 0u;
+uint v684 = 0u;
+uint v685 = 0u;
+uint v686 = 0u;
+uint v687 = 0u;
+uint v688 = 0u;
+uint v689 = 0u;
+uint v690 = 0u;
+uint v691 = 0u;
+uint v692 = 0u;
+uint v693 = 0u;
+uint v694 = 0u;
+uint v695 = 0u;
+uint v696 = 0u;
+uint v697 = 0u;
+uint v698 = 0u;
+uint v699 = 0u;
+uint v700 = 0u;
+uint v701 = 0u;
+uint v702 = 0u;
+uint v703 = 0u;
+uint v704 = 0u;
+uint v705 = 0u;
+uint v706 = 0u;
+uint v707 = 0u;
+uint v708 = 0u;
+uint v709 = 0u;
+uint v710 = 0u;
+uint v711 = 0u;
+uint v712 = 0u;
+uint v713 = 0u;
+uint v714 = 0u;
+uint v715 = 0u;
+uint v716 = 0u;
+uint v717 = 0u;
+uint v718 = 0u;
+uint v719 = 0u;
+uint v720 = 0u;
+uint v721 = 0u;
+uint v722 = 0u;
+uint v723 = 0u;
+uint v724 = 0u;
+uint v725 = 0u;
+uint v726 = 0u;
+uint v727 = 0u;
+uint v728 = 0u;
+uint v729 = 0u;
+uint v730 = 0u;
+uint v731 = 0u;
+uint v732 = 0u;
+uint v733 = 0u;
+uint v734 = 0u;
+uint v735 = 0u;
+uint v736 = 0u;
+uint v737 = 0u;
+uint v738 = 0u;
+uint v739 = 0u;
+uint v740 = 0u;
+uint v741 = 0u;
+uint v742 = 0u;
+uint v743 = 0u;
+uint v744 = 0u;
+uint v745 = 0u;
+uint v746 = 0u;
+uint v747 = 0u;
+uint v748 = 0u;
+uint v749 = 0u;
+uint v750 = 0u;
+uint v751 = 0u;
+uint v752 = 0u;
+uint v753 = 0u;
+uint v754 = 0u;
+uint v755 = 0u;
+uint v756 = 0u;
+uint v757 = 0u;
+uint v758 = 0u;
+uint v759 = 0u;
+uint v760 = 0u;
+uint v761 = 0u;
+uint v762 = 0u;
+uint v763 = 0u;
+uint v764 = 0u;
+uint v765 = 0u;
+uint v766 = 0u;
+uint v767 = 0u;
+uint v768 = 0u;
+uint v769 = 0u;
+uint v770 = 0u;
+uint v771 = 0u;
+uint v772 = 0u;
+uint v773 = 0u;
+uint v774 = 0u;
+uint v775 = 0u;
+uint v776 = 0u;
+uint v777 = 0u;
+uint v778 = 0u;
+uint v779 = 0u;
+uint v780 = 0u;
+uint v781 = 0u;
+uint v782 = 0u;
+uint v783 = 0u;
+uint v784 = 0u;
+uint v785 = 0u;
+uint v786 = 0u;
+uint v787 = 0u;
+uint v788 = 0u;
+uint v789 = 0u;
+uint v790 = 0u;
+uint v791 = 0u;
+uint v792 = 0u;
+uint v793 = 0u;
+uint v794 = 0u;
+uint v795 = 0u;
+uint v796 = 0u;
+uint v797 = 0u;
+uint v798 = 0u;
+uint v799 = 0u;
+uint v800 = 0u;
+uint v801 = 0u;
+uint v802 = 0u;
+uint v803 = 0u;
+uint v804 = 0u;
+uint v805 = 0u;
+uint v806 = 0u;
+uint v807 = 0u;
+uint v808 = 0u;
+uint v809 = 0u;
+uint v810 = 0u;
+uint v811 = 0u;
+uint v812 = 0u;
+uint v813 = 0u;
+uint v814 = 0u;
+uint v815 = 0u;
+uint v816 = 0u;
+uint v817 = 0u;
+uint v818 = 0u;
+uint v819 = 0u;
+uint v820 = 0u;
+uint v821 = 0u;
+uint v822 = 0u;
+uint v823 = 0u;
+uint v824 = 0u;
+uint v825 = 0u;
+uint v826 = 0u;
+uint v827 = 0u;
+uint v828 = 0u;
+uint v829 = 0u;
+uint v830 = 0u;
+uint v831 = 0u;
+uint v832 = 0u;
+uint v833 = 0u;
+uint v834 = 0u;
+uint v835 = 0u;
+uint v836 = 0u;
+uint v837 = 0u;
+uint v838 = 0u;
+uint v839 = 0u;
+uint v840 = 0u;
+uint v841 = 0u;
+uint v842 = 0u;
+uint v843 = 0u;
+uint v844 = 0u;
+uint v845 = 0u;
+uint v846 = 0u;
+uint v847 = 0u;
+uint v848 = 0u;
+uint v849 = 0u;
+uint v850 = 0u;
+uint v851 = 0u;
+uint v852 = 0u;
+uint v853 = 0u;
+uint v854 = 0u;
+uint v855 = 0u;
+uint v856 = 0u;
+uint v857 = 0u;
+uint v858 = 0u;
+uint v859 = 0u;
+uint v860 = 0u;
+uint v861 = 0u;
+uint v862 = 0u;
+uint v863 = 0u;
+uint v864 = 0u;
+uint v865 = 0u;
+uint v866 = 0u;
+uint v867 = 0u;
+uint v868 = 0u;
+uint v869 = 0u;
+uint v870 = 0u;
+uint v871 = 0u;
+uint v872 = 0u;
+uint v873 = 0u;
+uint v874 = 0u;
+uint v875 = 0u;
+uint v876 = 0u;
+uint v877 = 0u;
+uint v878 = 0u;
+uint v879 = 0u;
+uint v880 = 0u;
+uint v881 = 0u;
+uint v882 = 0u;
+uint v883 = 0u;
+uint v884 = 0u;
+uint v885 = 0u;
+uint v886 = 0u;
+uint v887 = 0u;
+uint v888 = 0u;
+uint v889 = 0u;
+uint v890 = 0u;
+uint v891 = 0u;
+uint v892 = 0u;
+uint v893 = 0u;
+uint v894 = 0u;
+uint v895 = 0u;
+uint v896 = 0u;
+uint v897 = 0u;
+uint v898 = 0u;
+uint v899 = 0u;
+uint v900 = 0u;
+uint v901 = 0u;
+uint v902 = 0u;
+uint v903 = 0u;
+uint v904 = 0u;
+uint v905 = 0u;
+uint v906 = 0u;
+uint v907 = 0u;
+uint v908 = 0u;
+uint v909 = 0u;
+uint v910 = 0u;
+uint v911 = 0u;
+uint v912 = 0u;
+uint v913 = 0u;
+uint v914 = 0u;
+uint v915 = 0u;
+uint v916 = 0u;
+uint v917 = 0u;
+uint v918 = 0u;
+uint v919 = 0u;
+uint v920 = 0u;
+uint v921 = 0u;
+uint v922 = 0u;
+uint v923 = 0u;
+uint v924 = 0u;
+uint v925 = 0u;
+uint v926 = 0u;
+uint v927 = 0u;
+uint v928 = 0u;
+uint v929 = 0u;
+uint v930 = 0u;
+uint v931 = 0u;
+uint v932 = 0u;
+uint v933 = 0u;
+uint v934 = 0u;
+uint v935 = 0u;
+uint v936 = 0u;
+uint v937 = 0u;
+uint v938 = 0u;
+uint v939 = 0u;
+uint v940 = 0u;
+uint v941 = 0u;
+uint v942 = 0u;
+uint v943 = 0u;
+uint v944 = 0u;
+uint v945 = 0u;
+uint v946 = 0u;
+uint v947 = 0u;
+uint v948 = 0u;
+uint v949 = 0u;
+uint v950 = 0u;
+uint v951 = 0u;
+uint v952 = 0u;
+uint v953 = 0u;
+uint v954 = 0u;
+uint v955 = 0u;
+uint v956 = 0u;
+uint v957 = 0u;
+uint v958 = 0u;
+uint v959 = 0u;
+uint v960 = 0u;
+uint v961 = 0u;
+uint v962 = 0u;
+uint v963 = 0u;
+uint v964 = 0u;
+uint v965 = 0u;
+uint v966 = 0u;
+uint v967 = 0u;
+uint v968 = 0u;
+uint v969 = 0u;
+uint v970 = 0u;
+uint v971 = 0u;
+uint v972 = 0u;
+uint v973 = 0u;
+uint v974 = 0u;
+uint v975 = 0u;
+uint v976 = 0u;
+uint v977 = 0u;
+uint v978 = 0u;
+uint v979 = 0u;
+uint v980 = 0u;
+uint v981 = 0u;
+uint v982 = 0u;
+uint v983 = 0u;
+uint v984 = 0u;
+uint v985 = 0u;
+uint v986 = 0u;
+uint v987 = 0u;
+uint v988 = 0u;
+uint v989 = 0u;
+uint v990 = 0u;
+uint v991 = 0u;
+uint v992 = 0u;
+uint v993 = 0u;
+uint v994 = 0u;
+uint v995 = 0u;
+uint v996 = 0u;
+uint v997 = 0u;
+uint v998 = 0u;
+uint v999 = 0u;
+uint foo() {
+  uint x = 0u;
+  x = (x + v0);
+  x = (x + v1);
+  x = (x + v2);
+  x = (x + v3);
+  x = (x + v4);
+  x = (x + v5);
+  x = (x + v6);
+  x = (x + v7);
+  x = (x + v8);
+  x = (x + v9);
+  x = (x + v10);
+  x = (x + v11);
+  x = (x + v12);
+  x = (x + v13);
+  x = (x + v14);
+  x = (x + v15);
+  x = (x + v16);
+  x = (x + v17);
+  x = (x + v18);
+  x = (x + v19);
+  x = (x + v20);
+  x = (x + v21);
+  x = (x + v22);
+  x = (x + v23);
+  x = (x + v24);
+  x = (x + v25);
+  x = (x + v26);
+  x = (x + v27);
+  x = (x + v28);
+  x = (x + v29);
+  x = (x + v30);
+  x = (x + v31);
+  x = (x + v32);
+  x = (x + v33);
+  x = (x + v34);
+  x = (x + v35);
+  x = (x + v36);
+  x = (x + v37);
+  x = (x + v38);
+  x = (x + v39);
+  x = (x + v40);
+  x = (x + v41);
+  x = (x + v42);
+  x = (x + v43);
+  x = (x + v44);
+  x = (x + v45);
+  x = (x + v46);
+  x = (x + v47);
+  x = (x + v48);
+  x = (x + v49);
+  x = (x + v50);
+  x = (x + v51);
+  x = (x + v52);
+  x = (x + v53);
+  x = (x + v54);
+  x = (x + v55);
+  x = (x + v56);
+  x = (x + v57);
+  x = (x + v58);
+  x = (x + v59);
+  x = (x + v60);
+  x = (x + v61);
+  x = (x + v62);
+  x = (x + v63);
+  x = (x + v64);
+  x = (x + v65);
+  x = (x + v66);
+  x = (x + v67);
+  x = (x + v68);
+  x = (x + v69);
+  x = (x + v70);
+  x = (x + v71);
+  x = (x + v72);
+  x = (x + v73);
+  x = (x + v74);
+  x = (x + v75);
+  x = (x + v76);
+  x = (x + v77);
+  x = (x + v78);
+  x = (x + v79);
+  x = (x + v80);
+  x = (x + v81);
+  x = (x + v82);
+  x = (x + v83);
+  x = (x + v84);
+  x = (x + v85);
+  x = (x + v86);
+  x = (x + v87);
+  x = (x + v88);
+  x = (x + v89);
+  x = (x + v90);
+  x = (x + v91);
+  x = (x + v92);
+  x = (x + v93);
+  x = (x + v94);
+  x = (x + v95);
+  x = (x + v96);
+  x = (x + v97);
+  x = (x + v98);
+  x = (x + v99);
+  x = (x + v100);
+  x = (x + v101);
+  x = (x + v102);
+  x = (x + v103);
+  x = (x + v104);
+  x = (x + v105);
+  x = (x + v106);
+  x = (x + v107);
+  x = (x + v108);
+  x = (x + v109);
+  x = (x + v110);
+  x = (x + v111);
+  x = (x + v112);
+  x = (x + v113);
+  x = (x + v114);
+  x = (x + v115);
+  x = (x + v116);
+  x = (x + v117);
+  x = (x + v118);
+  x = (x + v119);
+  x = (x + v120);
+  x = (x + v121);
+  x = (x + v122);
+  x = (x + v123);
+  x = (x + v124);
+  x = (x + v125);
+  x = (x + v126);
+  x = (x + v127);
+  x = (x + v128);
+  x = (x + v129);
+  x = (x + v130);
+  x = (x + v131);
+  x = (x + v132);
+  x = (x + v133);
+  x = (x + v134);
+  x = (x + v135);
+  x = (x + v136);
+  x = (x + v137);
+  x = (x + v138);
+  x = (x + v139);
+  x = (x + v140);
+  x = (x + v141);
+  x = (x + v142);
+  x = (x + v143);
+  x = (x + v144);
+  x = (x + v145);
+  x = (x + v146);
+  x = (x + v147);
+  x = (x + v148);
+  x = (x + v149);
+  x = (x + v150);
+  x = (x + v151);
+  x = (x + v152);
+  x = (x + v153);
+  x = (x + v154);
+  x = (x + v155);
+  x = (x + v156);
+  x = (x + v157);
+  x = (x + v158);
+  x = (x + v159);
+  x = (x + v160);
+  x = (x + v161);
+  x = (x + v162);
+  x = (x + v163);
+  x = (x + v164);
+  x = (x + v165);
+  x = (x + v166);
+  x = (x + v167);
+  x = (x + v168);
+  x = (x + v169);
+  x = (x + v170);
+  x = (x + v171);
+  x = (x + v172);
+  x = (x + v173);
+  x = (x + v174);
+  x = (x + v175);
+  x = (x + v176);
+  x = (x + v177);
+  x = (x + v178);
+  x = (x + v179);
+  x = (x + v180);
+  x = (x + v181);
+  x = (x + v182);
+  x = (x + v183);
+  x = (x + v184);
+  x = (x + v185);
+  x = (x + v186);
+  x = (x + v187);
+  x = (x + v188);
+  x = (x + v189);
+  x = (x + v190);
+  x = (x + v191);
+  x = (x + v192);
+  x = (x + v193);
+  x = (x + v194);
+  x = (x + v195);
+  x = (x + v196);
+  x = (x + v197);
+  x = (x + v198);
+  x = (x + v199);
+  x = (x + v200);
+  x = (x + v201);
+  x = (x + v202);
+  x = (x + v203);
+  x = (x + v204);
+  x = (x + v205);
+  x = (x + v206);
+  x = (x + v207);
+  x = (x + v208);
+  x = (x + v209);
+  x = (x + v210);
+  x = (x + v211);
+  x = (x + v212);
+  x = (x + v213);
+  x = (x + v214);
+  x = (x + v215);
+  x = (x + v216);
+  x = (x + v217);
+  x = (x + v218);
+  x = (x + v219);
+  x = (x + v220);
+  x = (x + v221);
+  x = (x + v222);
+  x = (x + v223);
+  x = (x + v224);
+  x = (x + v225);
+  x = (x + v226);
+  x = (x + v227);
+  x = (x + v228);
+  x = (x + v229);
+  x = (x + v230);
+  x = (x + v231);
+  x = (x + v232);
+  x = (x + v233);
+  x = (x + v234);
+  x = (x + v235);
+  x = (x + v236);
+  x = (x + v237);
+  x = (x + v238);
+  x = (x + v239);
+  x = (x + v240);
+  x = (x + v241);
+  x = (x + v242);
+  x = (x + v243);
+  x = (x + v244);
+  x = (x + v245);
+  x = (x + v246);
+  x = (x + v247);
+  x = (x + v248);
+  x = (x + v249);
+  x = (x + v250);
+  x = (x + v251);
+  x = (x + v252);
+  x = (x + v253);
+  x = (x + v254);
+  x = (x + v255);
+  x = (x + v256);
+  x = (x + v257);
+  x = (x + v258);
+  x = (x + v259);
+  x = (x + v260);
+  x = (x + v261);
+  x = (x + v262);
+  x = (x + v263);
+  x = (x + v264);
+  x = (x + v265);
+  x = (x + v266);
+  x = (x + v267);
+  x = (x + v268);
+  x = (x + v269);
+  x = (x + v270);
+  x = (x + v271);
+  x = (x + v272);
+  x = (x + v273);
+  x = (x + v274);
+  x = (x + v275);
+  x = (x + v276);
+  x = (x + v277);
+  x = (x + v278);
+  x = (x + v279);
+  x = (x + v280);
+  x = (x + v281);
+  x = (x + v282);
+  x = (x + v283);
+  x = (x + v284);
+  x = (x + v285);
+  x = (x + v286);
+  x = (x + v287);
+  x = (x + v288);
+  x = (x + v289);
+  x = (x + v290);
+  x = (x + v291);
+  x = (x + v292);
+  x = (x + v293);
+  x = (x + v294);
+  x = (x + v295);
+  x = (x + v296);
+  x = (x + v297);
+  x = (x + v298);
+  x = (x + v299);
+  x = (x + v300);
+  x = (x + v301);
+  x = (x + v302);
+  x = (x + v303);
+  x = (x + v304);
+  x = (x + v305);
+  x = (x + v306);
+  x = (x + v307);
+  x = (x + v308);
+  x = (x + v309);
+  x = (x + v310);
+  x = (x + v311);
+  x = (x + v312);
+  x = (x + v313);
+  x = (x + v314);
+  x = (x + v315);
+  x = (x + v316);
+  x = (x + v317);
+  x = (x + v318);
+  x = (x + v319);
+  x = (x + v320);
+  x = (x + v321);
+  x = (x + v322);
+  x = (x + v323);
+  x = (x + v324);
+  x = (x + v325);
+  x = (x + v326);
+  x = (x + v327);
+  x = (x + v328);
+  x = (x + v329);
+  x = (x + v330);
+  x = (x + v331);
+  x = (x + v332);
+  x = (x + v333);
+  x = (x + v334);
+  x = (x + v335);
+  x = (x + v336);
+  x = (x + v337);
+  x = (x + v338);
+  x = (x + v339);
+  x = (x + v340);
+  x = (x + v341);
+  x = (x + v342);
+  x = (x + v343);
+  x = (x + v344);
+  x = (x + v345);
+  x = (x + v346);
+  x = (x + v347);
+  x = (x + v348);
+  x = (x + v349);
+  x = (x + v350);
+  x = (x + v351);
+  x = (x + v352);
+  x = (x + v353);
+  x = (x + v354);
+  x = (x + v355);
+  x = (x + v356);
+  x = (x + v357);
+  x = (x + v358);
+  x = (x + v359);
+  x = (x + v360);
+  x = (x + v361);
+  x = (x + v362);
+  x = (x + v363);
+  x = (x + v364);
+  x = (x + v365);
+  x = (x + v366);
+  x = (x + v367);
+  x = (x + v368);
+  x = (x + v369);
+  x = (x + v370);
+  x = (x + v371);
+  x = (x + v372);
+  x = (x + v373);
+  x = (x + v374);
+  x = (x + v375);
+  x = (x + v376);
+  x = (x + v377);
+  x = (x + v378);
+  x = (x + v379);
+  x = (x + v380);
+  x = (x + v381);
+  x = (x + v382);
+  x = (x + v383);
+  x = (x + v384);
+  x = (x + v385);
+  x = (x + v386);
+  x = (x + v387);
+  x = (x + v388);
+  x = (x + v389);
+  x = (x + v390);
+  x = (x + v391);
+  x = (x + v392);
+  x = (x + v393);
+  x = (x + v394);
+  x = (x + v395);
+  x = (x + v396);
+  x = (x + v397);
+  x = (x + v398);
+  x = (x + v399);
+  x = (x + v400);
+  x = (x + v401);
+  x = (x + v402);
+  x = (x + v403);
+  x = (x + v404);
+  x = (x + v405);
+  x = (x + v406);
+  x = (x + v407);
+  x = (x + v408);
+  x = (x + v409);
+  x = (x + v410);
+  x = (x + v411);
+  x = (x + v412);
+  x = (x + v413);
+  x = (x + v414);
+  x = (x + v415);
+  x = (x + v416);
+  x = (x + v417);
+  x = (x + v418);
+  x = (x + v419);
+  x = (x + v420);
+  x = (x + v421);
+  x = (x + v422);
+  x = (x + v423);
+  x = (x + v424);
+  x = (x + v425);
+  x = (x + v426);
+  x = (x + v427);
+  x = (x + v428);
+  x = (x + v429);
+  x = (x + v430);
+  x = (x + v431);
+  x = (x + v432);
+  x = (x + v433);
+  x = (x + v434);
+  x = (x + v435);
+  x = (x + v436);
+  x = (x + v437);
+  x = (x + v438);
+  x = (x + v439);
+  x = (x + v440);
+  x = (x + v441);
+  x = (x + v442);
+  x = (x + v443);
+  x = (x + v444);
+  x = (x + v445);
+  x = (x + v446);
+  x = (x + v447);
+  x = (x + v448);
+  x = (x + v449);
+  x = (x + v450);
+  x = (x + v451);
+  x = (x + v452);
+  x = (x + v453);
+  x = (x + v454);
+  x = (x + v455);
+  x = (x + v456);
+  x = (x + v457);
+  x = (x + v458);
+  x = (x + v459);
+  x = (x + v460);
+  x = (x + v461);
+  x = (x + v462);
+  x = (x + v463);
+  x = (x + v464);
+  x = (x + v465);
+  x = (x + v466);
+  x = (x + v467);
+  x = (x + v468);
+  x = (x + v469);
+  x = (x + v470);
+  x = (x + v471);
+  x = (x + v472);
+  x = (x + v473);
+  x = (x + v474);
+  x = (x + v475);
+  x = (x + v476);
+  x = (x + v477);
+  x = (x + v478);
+  x = (x + v479);
+  x = (x + v480);
+  x = (x + v481);
+  x = (x + v482);
+  x = (x + v483);
+  x = (x + v484);
+  x = (x + v485);
+  x = (x + v486);
+  x = (x + v487);
+  x = (x + v488);
+  x = (x + v489);
+  x = (x + v490);
+  x = (x + v491);
+  x = (x + v492);
+  x = (x + v493);
+  x = (x + v494);
+  x = (x + v495);
+  x = (x + v496);
+  x = (x + v497);
+  x = (x + v498);
+  x = (x + v499);
+  x = (x + v500);
+  x = (x + v501);
+  x = (x + v502);
+  x = (x + v503);
+  x = (x + v504);
+  x = (x + v505);
+  x = (x + v506);
+  x = (x + v507);
+  x = (x + v508);
+  x = (x + v509);
+  x = (x + v510);
+  x = (x + v511);
+  x = (x + v512);
+  x = (x + v513);
+  x = (x + v514);
+  x = (x + v515);
+  x = (x + v516);
+  x = (x + v517);
+  x = (x + v518);
+  x = (x + v519);
+  x = (x + v520);
+  x = (x + v521);
+  x = (x + v522);
+  x = (x + v523);
+  x = (x + v524);
+  x = (x + v525);
+  x = (x + v526);
+  x = (x + v527);
+  x = (x + v528);
+  x = (x + v529);
+  x = (x + v530);
+  x = (x + v531);
+  x = (x + v532);
+  x = (x + v533);
+  x = (x + v534);
+  x = (x + v535);
+  x = (x + v536);
+  x = (x + v537);
+  x = (x + v538);
+  x = (x + v539);
+  x = (x + v540);
+  x = (x + v541);
+  x = (x + v542);
+  x = (x + v543);
+  x = (x + v544);
+  x = (x + v545);
+  x = (x + v546);
+  x = (x + v547);
+  x = (x + v548);
+  x = (x + v549);
+  x = (x + v550);
+  x = (x + v551);
+  x = (x + v552);
+  x = (x + v553);
+  x = (x + v554);
+  x = (x + v555);
+  x = (x + v556);
+  x = (x + v557);
+  x = (x + v558);
+  x = (x + v559);
+  x = (x + v560);
+  x = (x + v561);
+  x = (x + v562);
+  x = (x + v563);
+  x = (x + v564);
+  x = (x + v565);
+  x = (x + v566);
+  x = (x + v567);
+  x = (x + v568);
+  x = (x + v569);
+  x = (x + v570);
+  x = (x + v571);
+  x = (x + v572);
+  x = (x + v573);
+  x = (x + v574);
+  x = (x + v575);
+  x = (x + v576);
+  x = (x + v577);
+  x = (x + v578);
+  x = (x + v579);
+  x = (x + v580);
+  x = (x + v581);
+  x = (x + v582);
+  x = (x + v583);
+  x = (x + v584);
+  x = (x + v585);
+  x = (x + v586);
+  x = (x + v587);
+  x = (x + v588);
+  x = (x + v589);
+  x = (x + v590);
+  x = (x + v591);
+  x = (x + v592);
+  x = (x + v593);
+  x = (x + v594);
+  x = (x + v595);
+  x = (x + v596);
+  x = (x + v597);
+  x = (x + v598);
+  x = (x + v599);
+  x = (x + v600);
+  x = (x + v601);
+  x = (x + v602);
+  x = (x + v603);
+  x = (x + v604);
+  x = (x + v605);
+  x = (x + v606);
+  x = (x + v607);
+  x = (x + v608);
+  x = (x + v609);
+  x = (x + v610);
+  x = (x + v611);
+  x = (x + v612);
+  x = (x + v613);
+  x = (x + v614);
+  x = (x + v615);
+  x = (x + v616);
+  x = (x + v617);
+  x = (x + v618);
+  x = (x + v619);
+  x = (x + v620);
+  x = (x + v621);
+  x = (x + v622);
+  x = (x + v623);
+  x = (x + v624);
+  x = (x + v625);
+  x = (x + v626);
+  x = (x + v627);
+  x = (x + v628);
+  x = (x + v629);
+  x = (x + v630);
+  x = (x + v631);
+  x = (x + v632);
+  x = (x + v633);
+  x = (x + v634);
+  x = (x + v635);
+  x = (x + v636);
+  x = (x + v637);
+  x = (x + v638);
+  x = (x + v639);
+  x = (x + v640);
+  x = (x + v641);
+  x = (x + v642);
+  x = (x + v643);
+  x = (x + v644);
+  x = (x + v645);
+  x = (x + v646);
+  x = (x + v647);
+  x = (x + v648);
+  x = (x + v649);
+  x = (x + v650);
+  x = (x + v651);
+  x = (x + v652);
+  x = (x + v653);
+  x = (x + v654);
+  x = (x + v655);
+  x = (x + v656);
+  x = (x + v657);
+  x = (x + v658);
+  x = (x + v659);
+  x = (x + v660);
+  x = (x + v661);
+  x = (x + v662);
+  x = (x + v663);
+  x = (x + v664);
+  x = (x + v665);
+  x = (x + v666);
+  x = (x + v667);
+  x = (x + v668);
+  x = (x + v669);
+  x = (x + v670);
+  x = (x + v671);
+  x = (x + v672);
+  x = (x + v673);
+  x = (x + v674);
+  x = (x + v675);
+  x = (x + v676);
+  x = (x + v677);
+  x = (x + v678);
+  x = (x + v679);
+  x = (x + v680);
+  x = (x + v681);
+  x = (x + v682);
+  x = (x + v683);
+  x = (x + v684);
+  x = (x + v685);
+  x = (x + v686);
+  x = (x + v687);
+  x = (x + v688);
+  x = (x + v689);
+  x = (x + v690);
+  x = (x + v691);
+  x = (x + v692);
+  x = (x + v693);
+  x = (x + v694);
+  x = (x + v695);
+  x = (x + v696);
+  x = (x + v697);
+  x = (x + v698);
+  x = (x + v699);
+  x = (x + v700);
+  x = (x + v701);
+  x = (x + v702);
+  x = (x + v703);
+  x = (x + v704);
+  x = (x + v705);
+  x = (x + v706);
+  x = (x + v707);
+  x = (x + v708);
+  x = (x + v709);
+  x = (x + v710);
+  x = (x + v711);
+  x = (x + v712);
+  x = (x + v713);
+  x = (x + v714);
+  x = (x + v715);
+  x = (x + v716);
+  x = (x + v717);
+  x = (x + v718);
+  x = (x + v719);
+  x = (x + v720);
+  x = (x + v721);
+  x = (x + v722);
+  x = (x + v723);
+  x = (x + v724);
+  x = (x + v725);
+  x = (x + v726);
+  x = (x + v727);
+  x = (x + v728);
+  x = (x + v729);
+  x = (x + v730);
+  x = (x + v731);
+  x = (x + v732);
+  x = (x + v733);
+  x = (x + v734);
+  x = (x + v735);
+  x = (x + v736);
+  x = (x + v737);
+  x = (x + v738);
+  x = (x + v739);
+  x = (x + v740);
+  x = (x + v741);
+  x = (x + v742);
+  x = (x + v743);
+  x = (x + v744);
+  x = (x + v745);
+  x = (x + v746);
+  x = (x + v747);
+  x = (x + v748);
+  x = (x + v749);
+  x = (x + v750);
+  x = (x + v751);
+  x = (x + v752);
+  x = (x + v753);
+  x = (x + v754);
+  x = (x + v755);
+  x = (x + v756);
+  x = (x + v757);
+  x = (x + v758);
+  x = (x + v759);
+  x = (x + v760);
+  x = (x + v761);
+  x = (x + v762);
+  x = (x + v763);
+  x = (x + v764);
+  x = (x + v765);
+  x = (x + v766);
+  x = (x + v767);
+  x = (x + v768);
+  x = (x + v769);
+  x = (x + v770);
+  x = (x + v771);
+  x = (x + v772);
+  x = (x + v773);
+  x = (x + v774);
+  x = (x + v775);
+  x = (x + v776);
+  x = (x + v777);
+  x = (x + v778);
+  x = (x + v779);
+  x = (x + v780);
+  x = (x + v781);
+  x = (x + v782);
+  x = (x + v783);
+  x = (x + v784);
+  x = (x + v785);
+  x = (x + v786);
+  x = (x + v787);
+  x = (x + v788);
+  x = (x + v789);
+  x = (x + v790);
+  x = (x + v791);
+  x = (x + v792);
+  x = (x + v793);
+  x = (x + v794);
+  x = (x + v795);
+  x = (x + v796);
+  x = (x + v797);
+  x = (x + v798);
+  x = (x + v799);
+  x = (x + v800);
+  x = (x + v801);
+  x = (x + v802);
+  x = (x + v803);
+  x = (x + v804);
+  x = (x + v805);
+  x = (x + v806);
+  x = (x + v807);
+  x = (x + v808);
+  x = (x + v809);
+  x = (x + v810);
+  x = (x + v811);
+  x = (x + v812);
+  x = (x + v813);
+  x = (x + v814);
+  x = (x + v815);
+  x = (x + v816);
+  x = (x + v817);
+  x = (x + v818);
+  x = (x + v819);
+  x = (x + v820);
+  x = (x + v821);
+  x = (x + v822);
+  x = (x + v823);
+  x = (x + v824);
+  x = (x + v825);
+  x = (x + v826);
+  x = (x + v827);
+  x = (x + v828);
+  x = (x + v829);
+  x = (x + v830);
+  x = (x + v831);
+  x = (x + v832);
+  x = (x + v833);
+  x = (x + v834);
+  x = (x + v835);
+  x = (x + v836);
+  x = (x + v837);
+  x = (x + v838);
+  x = (x + v839);
+  x = (x + v840);
+  x = (x + v841);
+  x = (x + v842);
+  x = (x + v843);
+  x = (x + v844);
+  x = (x + v845);
+  x = (x + v846);
+  x = (x + v847);
+  x = (x + v848);
+  x = (x + v849);
+  x = (x + v850);
+  x = (x + v851);
+  x = (x + v852);
+  x = (x + v853);
+  x = (x + v854);
+  x = (x + v855);
+  x = (x + v856);
+  x = (x + v857);
+  x = (x + v858);
+  x = (x + v859);
+  x = (x + v860);
+  x = (x + v861);
+  x = (x + v862);
+  x = (x + v863);
+  x = (x + v864);
+  x = (x + v865);
+  x = (x + v866);
+  x = (x + v867);
+  x = (x + v868);
+  x = (x + v869);
+  x = (x + v870);
+  x = (x + v871);
+  x = (x + v872);
+  x = (x + v873);
+  x = (x + v874);
+  x = (x + v875);
+  x = (x + v876);
+  x = (x + v877);
+  x = (x + v878);
+  x = (x + v879);
+  x = (x + v880);
+  x = (x + v881);
+  x = (x + v882);
+  x = (x + v883);
+  x = (x + v884);
+  x = (x + v885);
+  x = (x + v886);
+  x = (x + v887);
+  x = (x + v888);
+  x = (x + v889);
+  x = (x + v890);
+  x = (x + v891);
+  x = (x + v892);
+  x = (x + v893);
+  x = (x + v894);
+  x = (x + v895);
+  x = (x + v896);
+  x = (x + v897);
+  x = (x + v898);
+  x = (x + v899);
+  x = (x + v900);
+  x = (x + v901);
+  x = (x + v902);
+  x = (x + v903);
+  x = (x + v904);
+  x = (x + v905);
+  x = (x + v906);
+  x = (x + v907);
+  x = (x + v908);
+  x = (x + v909);
+  x = (x + v910);
+  x = (x + v911);
+  x = (x + v912);
+  x = (x + v913);
+  x = (x + v914);
+  x = (x + v915);
+  x = (x + v916);
+  x = (x + v917);
+  x = (x + v918);
+  x = (x + v919);
+  x = (x + v920);
+  x = (x + v921);
+  x = (x + v922);
+  x = (x + v923);
+  x = (x + v924);
+  x = (x + v925);
+  x = (x + v926);
+  x = (x + v927);
+  x = (x + v928);
+  x = (x + v929);
+  x = (x + v930);
+  x = (x + v931);
+  x = (x + v932);
+  x = (x + v933);
+  x = (x + v934);
+  x = (x + v935);
+  x = (x + v936);
+  x = (x + v937);
+  x = (x + v938);
+  x = (x + v939);
+  x = (x + v940);
+  x = (x + v941);
+  x = (x + v942);
+  x = (x + v943);
+  x = (x + v944);
+  x = (x + v945);
+  x = (x + v946);
+  x = (x + v947);
+  x = (x + v948);
+  x = (x + v949);
+  x = (x + v950);
+  x = (x + v951);
+  x = (x + v952);
+  x = (x + v953);
+  x = (x + v954);
+  x = (x + v955);
+  x = (x + v956);
+  x = (x + v957);
+  x = (x + v958);
+  x = (x + v959);
+  x = (x + v960);
+  x = (x + v961);
+  x = (x + v962);
+  x = (x + v963);
+  x = (x + v964);
+  x = (x + v965);
+  x = (x + v966);
+  x = (x + v967);
+  x = (x + v968);
+  x = (x + v969);
+  x = (x + v970);
+  x = (x + v971);
+  x = (x + v972);
+  x = (x + v973);
+  x = (x + v974);
+  x = (x + v975);
+  x = (x + v976);
+  x = (x + v977);
+  x = (x + v978);
+  x = (x + v979);
+  x = (x + v980);
+  x = (x + v981);
+  x = (x + v982);
+  x = (x + v983);
+  x = (x + v984);
+  x = (x + v985);
+  x = (x + v986);
+  x = (x + v987);
+  x = (x + v988);
+  x = (x + v989);
+  x = (x + v990);
+  x = (x + v991);
+  x = (x + v992);
+  x = (x + v993);
+  x = (x + v994);
+  x = (x + v995);
+  x = (x + v996);
+  x = (x + v997);
+  x = (x + v998);
+  x = (x + v999);
+  return x;
+}
+uint main() {
+  return foo();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:2010: 'uint' :  entry point cannot return a value
+ERROR: 0:2010: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1520.spvasm.expected.ir.glsl b/test/tint/bug/tint/1520.spvasm.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/bug/tint/1520.spvasm.expected.ir.glsl
+++ b/test/tint/bug/tint/1520.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1534.wgsl.expected.ir.glsl b/test/tint/bug/tint/1534.wgsl.expected.ir.glsl
index 6c6485e..5606397 100644
--- a/test/tint/bug/tint/1534.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1534.wgsl.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct g {
+  uvec3 a;
+};
+
+struct h {
+  uint a;
+};
+
+uniform g i;
+h j;
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uint l = dot(i.a, i.a);
+  j.a = i.a.x;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1540.wgsl.expected.ir.glsl b/test/tint/bug/tint/1540.wgsl.expected.ir.glsl
index 37c14ad..4495b0a 100644
--- a/test/tint/bug/tint/1540.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1540.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  bool e;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  bool b = false;
+  S v = S((true & b));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: '&' :  wrong operand types: no operation '&' exists that takes a left-hand operand of type ' const bool' and a right operand of type ' temp bool' (or there is no acceptable conversion)
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1541.wgsl.expected.ir.glsl b/test/tint/bug/tint/1541.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/bug/tint/1541.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1541.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1573.wgsl.expected.ir.glsl b/test/tint/bug/tint/1573.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/bug/tint/1573.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1573.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1574.wgsl.expected.ir.glsl b/test/tint/bug/tint/1574.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/bug/tint/1574.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1574.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1641.wgsl.expected.ir.glsl b/test/tint/bug/tint/1641.wgsl.expected.ir.glsl
index 37c14ad..6f873bb 100644
--- a/test/tint/bug/tint/1641.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1641.wgsl.expected.ir.glsl
@@ -1,11 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Normals {
+  vec3 f;
+};
+
+vec4 main() {
+  int zero = 0;
+  return vec4(Normals[1](Normals(vec3(0.0f, 0.0f, 1.0f)))[zero].f, 1.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: 'float' :  entry point cannot return a value
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1653.wgsl.expected.ir.glsl b/test/tint/bug/tint/1653.wgsl.expected.ir.glsl
index 1e74e77..acd14c0 100644
--- a/test/tint/bug/tint/1653.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1653.wgsl.expected.ir.glsl
@@ -1,11 +1,17 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+vec4 main(uint in_vertex_index) {
+  return vec4[3](vec4(0.0f, 0.0f, 0.0f, 1.0f), vec4(0.0f, 1.0f, 0.0f, 1.0f), vec4(1.0f, 1.0f, 0.0f, 1.0f))[in_vertex_index];
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'main' : function cannot take any parameter(s) 
+ERROR: 0:3: 'float' :  entry point cannot return a value
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1666.wgsl.expected.ir.glsl b/test/tint/bug/tint/1666.wgsl.expected.ir.glsl
index 3168e54..0d19887 100644
--- a/test/tint/bug/tint/1666.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1666.wgsl.expected.ir.glsl
@@ -1,31 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757753==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5641169834d3 bp 0x7ffc65605660 sp 0x7ffc65605480 T0)
-==1757753==The signal is caused by a READ memory access.
-==1757753==Hint: address points to the zero page.
-    #0 0x5641169834d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x56411699617c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x564116995fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x56411699572f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x564116980704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x56411697fa63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x56411697d93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x56411697cb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x56411697c02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5641164c8ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x564115ce4455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x564115cccd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x564115cb4861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f83f2a43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f83f2a43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x564115bd9000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757753==ABORTING
+float rarr[];
+void vector() {
+  int idx = 3;
+  int x = ivec2(1, 2)[idx];
+}
+void matrix() {
+  int idx = 4;
+  vec2 x = mat2(vec2(1.0f, 2.0f), vec2(3.0f, 4.0f))[idx];
+}
+void fixed_size_array() {
+  int arr[2] = int[2](1, 2);
+  int idx = 3;
+  int x = arr[idx];
+}
+void runtime_size_array() {
+  int idx = -1;
+  float x = rarr[idx];
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vector();
+  matrix();
+  fixed_size_array();
+  runtime_size_array();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1677.wgsl.expected.ir.glsl b/test/tint/bug/tint/1677.wgsl.expected.ir.glsl
index ae9b6d0..d606fde 100644
--- a/test/tint/bug/tint/1677.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1677.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Input {
+  ivec3 position;
+};
+
+Input tint_symbol;
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 id) {
+  ivec3 pos = (tint_symbol.position - ivec3(0));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'main' : function cannot take any parameter(s) 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1703.wgsl.expected.ir.glsl b/test/tint/bug/tint/1703.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/bug/tint/1703.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1703.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1725.wgsl.expected.ir.glsl b/test/tint/bug/tint/1725.wgsl.expected.ir.glsl
index 8aaec71..697d463 100644
--- a/test/tint/bug/tint/1725.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1725.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757760==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x555b2546d4d3 bp 0x7ffc2a369300 sp 0x7ffc2a369120 T0)
-==1757760==The signal is caused by a READ memory access.
-==1757760==Hint: address points to the zero page.
-    #0 0x555b2546d4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x555b2548017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x555b2547ffd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x555b2547f72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x555b2546a704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x555b25469a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x555b2546793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x555b25466b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x555b2546602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x555b24fb2ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x555b247ce455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x555b247b6d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x555b2479e861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f6cead64b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f6cead64c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x555b246c3000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757760==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1739.wgsl.expected.ir.glsl b/test/tint/bug/tint/1739.wgsl.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/bug/tint/1739.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1739.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1764.wgsl.expected.ir.glsl b/test/tint/bug/tint/1764.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/bug/tint/1764.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1764.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1776.spvasm.expected.ir.glsl b/test/tint/bug/tint/1776.spvasm.expected.ir.glsl
index 67fd15d..2c53a7e 100644
--- a/test/tint/bug/tint/1776.spvasm.expected.ir.glsl
+++ b/test/tint/bug/tint/1776.spvasm.expected.ir.glsl
@@ -1,31 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757768==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x560e574b24d3 bp 0x7ffc2e848580 sp 0x7ffc2e8483a0 T0)
-==1757768==The signal is caused by a READ memory access.
-==1757768==Hint: address points to the zero page.
-    #0 0x560e574b24d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x560e574c517c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x560e574c4fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x560e574c472f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x560e574af704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x560e574aea63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x560e574ac93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x560e574abb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x560e574ab02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x560e56ff7ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x560e56813455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x560e567fbd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x560e567e3861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7ff4bc443b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7ff4bc443c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x560e56708000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757768==ABORTING
+struct S {
+  vec4 a;
+  int b;
+};
+
+struct sb_block {
+  S inner[];
+};
+
+sb_block sb;
+void main_1() {
+  S x_18 = sb.inner[1];
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: '' : array size required 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1776.wgsl.expected.ir.glsl b/test/tint/bug/tint/1776.wgsl.expected.ir.glsl
index 208610a..85c525a 100644
--- a/test/tint/bug/tint/1776.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1776.wgsl.expected.ir.glsl
@@ -1,31 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757770==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5577ebc914d3 bp 0x7ffd271e6000 sp 0x7ffd271e5e20 T0)
-==1757770==The signal is caused by a READ memory access.
-==1757770==Hint: address points to the zero page.
-    #0 0x5577ebc914d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5577ebca417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5577ebca3fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5577ebca372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5577ebc8e704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5577ebc8da63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5577ebc8b93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5577ebc8ab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5577ebc8a02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5577eb7d6ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5577eaff2455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5577eafdad35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5577eafc2861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7ffbe8d26b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7ffbe8d26c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5577eaee7000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757770==ABORTING
+struct S {
+  vec4 a;
+  int b;
+};
+
+S sb[];
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  S x = sb[1];
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1820.wgsl.expected.ir.glsl b/test/tint/bug/tint/1820.wgsl.expected.ir.glsl
index af9ca24..f297654 100644
--- a/test/tint/bug/tint/1820.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1820.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Switch
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1860.wgsl.expected.ir.glsl b/test/tint/bug/tint/1860.wgsl.expected.ir.glsl
index 37c14ad..7b84209 100644
--- a/test/tint/bug/tint/1860.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1860.wgsl.expected.ir.glsl
@@ -1,11 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct DeclaredAfterUsage {
+  float f;
+};
+
+uniform DeclaredAfterUsage declared_after_usage;
+vec4 main() {
+  return vec4(declared_after_usage.f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' :  entry point cannot return a value
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1875.wgsl.expected.ir.glsl b/test/tint/bug/tint/1875.wgsl.expected.ir.glsl
index fbd9aa8..2474d6d 100644
--- a/test/tint/bug/tint/1875.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1875.wgsl.expected.ir.glsl
@@ -1,31 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757776==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x562b204634d3 bp 0x7fffbaddc7a0 sp 0x7fffbaddc5c0 T0)
-==1757776==The signal is caused by a READ memory access.
-==1757776==Hint: address points to the zero page.
-    #0 0x562b204634d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x562b2047617c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x562b20475fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x562b2047572f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x562b20460704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x562b2045fa63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x562b2045d93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x562b2045cb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x562b2045c02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x562b1ffa8ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x562b1f7c4455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x562b1f7acd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x562b1f794861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f534d964b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f534d964c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x562b1f6b9000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757776==ABORTING
+struct Outputs {
+  uint data[];
+};
+
+uint count = 0u;
+Outputs outputs;
+void push_output(uint value) {
+  outputs.data[count] = value;
+  count = (count + 1u);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uint a = 0u;
+  uint b = 10u;
+  uint c = 4294967294u;
+  a = (a + 1u);
+  b = (b + 1u);
+  c = (c + 1u);
+  push_output(a);
+  push_output(b);
+  push_output(c);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: '' : array size required 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/1926.wgsl.expected.ir.glsl b/test/tint/bug/tint/1926.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/bug/tint/1926.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1926.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1963_b.wgsl.expected.ir.glsl b/test/tint/bug/tint/1963_b.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/bug/tint/1963_b.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1963_b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/1976.wgsl.expected.ir.glsl b/test/tint/bug/tint/1976.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/bug/tint/1976.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/1976.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/2010.spvasm.expected.ir.glsl b/test/tint/bug/tint/2010.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/bug/tint/2010.spvasm.expected.ir.glsl
+++ b/test/tint/bug/tint/2010.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/2054.wgsl.expected.ir.glsl b/test/tint/bug/tint/2054.wgsl.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/bug/tint/2054.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/2054.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/2059.wgsl.expected.ir.glsl b/test/tint/bug/tint/2059.wgsl.expected.ir.glsl
index 0480431..4687334 100644
--- a/test/tint/bug/tint/2059.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/2059.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/2063.wgsl.expected.ir.glsl b/test/tint/bug/tint/2063.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/bug/tint/2063.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/2063.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/2076.wgsl.expected.ir.glsl b/test/tint/bug/tint/2076.wgsl.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/bug/tint/2076.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/2076.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/2100.wgsl.expected.ir.glsl b/test/tint/bug/tint/2100.wgsl.expected.ir.glsl
index 4a20bc7..45b0ea7 100644
--- a/test/tint/bug/tint/2100.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/2100.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  mat4 matrix_view;
+  mat3 matrix_normal;
+};
+
+uniform S tint_symbol;
+vec4 main() {
+  float x = tint_symbol.matrix_view[0].z;
+  return vec4(x, 0.0f, 0.0f, 1.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'float' :  entry point cannot return a value
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/2121.wgsl.expected.ir.glsl b/test/tint/bug/tint/2121.wgsl.expected.ir.glsl
index d4bb1c9..0831429 100644
--- a/test/tint/bug/tint/2121.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/2121.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct VSOut {
+  vec4 pos;
+};
+
+void foo(inout VSOut tint_symbol) {
+  vec4 pos = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  tint_symbol.pos = pos;
+}
+VSOut main() {
+  VSOut tint_symbol = VSOut(vec4(0.0f));
+  foo(tint_symbol);
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/2147.wgsl.expected.ir.glsl b/test/tint/bug/tint/2147.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/bug/tint/2147.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/2147.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/2177.wgsl.expected.ir.glsl b/test/tint/bug/tint/2177.wgsl.expected.ir.glsl
index 25a092c..697d463 100644
--- a/test/tint/bug/tint/2177.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/2177.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757811==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55d4b031f4d3 bp 0x7ffec80fa620 sp 0x7ffec80fa440 T0)
-==1757811==The signal is caused by a READ memory access.
-==1757811==Hint: address points to the zero page.
-    #0 0x55d4b031f4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55d4b033217c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55d4b0331fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55d4b033172f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55d4b031c704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55d4b031ba63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55d4b031993a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55d4b0318b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55d4b031802b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55d4afe64ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55d4af680455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55d4af668d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55d4af650861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fa340443b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fa340443c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55d4af575000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757811==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/221.wgsl.expected.ir.glsl b/test/tint/bug/tint/221.wgsl.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/bug/tint/221.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/221.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/292.wgsl.expected.ir.glsl b/test/tint/bug/tint/292.wgsl.expected.ir.glsl
index cb792a4..fdcc310 100644
--- a/test/tint/bug/tint/292.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/292.wgsl.expected.ir.glsl
@@ -1,11 +1,18 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreUnary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+vec4 main() {
+  vec3 light = vec3(1.20000004768371582031f, 1.0f, 2.0f);
+  vec3 negative_light = -(light);
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'float' :  entry point cannot return a value
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/349291130.wgsl.expected.ir.glsl b/test/tint/bug/tint/349291130.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/bug/tint/349291130.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/349291130.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/349310442.wgsl.expected.ir.glsl b/test/tint/bug/tint/349310442.wgsl.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/bug/tint/349310442.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/349310442.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/403.wgsl.expected.ir.glsl b/test/tint/bug/tint/403.wgsl.expected.ir.glsl
index 72ca17c..2ab1020 100644
--- a/test/tint/bug/tint/403.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/403.wgsl.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct vertexUniformBuffer1 {
+  mat2 transform1;
+};
+
+struct vertexUniformBuffer2 {
+  mat2 transform2;
+};
+
+uniform vertexUniformBuffer1 x_20;
+uniform vertexUniformBuffer2 x_26;
+vec4 main(uint tint_symbol_1) {
+  vec2 indexable[3] = vec2[3](vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  mat2 x_23 = x_20.transform1;
+  mat2 x_28 = x_26.transform2;
+  uint x_46 = tint_symbol_1;
+  indexable = vec2[3](vec2(-1.0f, 1.0f), vec2(1.0f), vec2(-1.0f));
+  vec2 x_51 = indexable[x_46];
+  vec2 x_52 = (mat2((x_23[0u] + x_28[0u]), (x_23[1u] + x_28[1u])) * x_51);
+  return vec4(x_52[0u], x_52[1u], 0.0f, 1.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'float' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/413.spvasm.expected.ir.glsl b/test/tint/bug/tint/413.spvasm.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/bug/tint/413.spvasm.expected.ir.glsl
+++ b/test/tint/bug/tint/413.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/453.wgsl.expected.ir.glsl b/test/tint/bug/tint/453.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/bug/tint/453.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/453.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/492.wgsl.expected.ir.glsl b/test/tint/bug/tint/492.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/bug/tint/492.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/492.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/534.wgsl.expected.ir.glsl b/test/tint/bug/tint/534.wgsl.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/bug/tint/534.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/534.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/744.wgsl.expected.ir.glsl b/test/tint/bug/tint/744.wgsl.expected.ir.glsl
index 232ec5a..446e996 100644
--- a/test/tint/bug/tint/744.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/744.wgsl.expected.ir.glsl
@@ -1,31 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757831==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x565327b824d3 bp 0x7ffc6e87d9a0 sp 0x7ffc6e87d7c0 T0)
-==1757831==The signal is caused by a READ memory access.
-==1757831==Hint: address points to the zero page.
-    #0 0x565327b824d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x565327b9517c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x565327b94fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x565327b9472f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x565327b7f704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x565327b7ea63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x565327b7c93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x565327b7bb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x565327b7b02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5653276c7ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x565326ee3455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x565326ecbd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x565326eb3861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f0733726b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f0733726c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x565326dd8000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757831==ABORTING
+struct Matrix {
+  uint numbers[];
+};
+
+struct Uniforms {
+  uvec2 aShape;
+  uvec2 bShape;
+  uvec2 outShape;
+};
+
+Matrix firstMatrix;
+Matrix secondMatrix;
+Matrix resultMatrix;
+uniform Uniforms uniforms;
+layout(local_size_x = 2, local_size_y = 2, local_size_z = 1) in;
+void main(uvec3 global_id) {
+  uvec2 resultCell = uvec2(global_id[1u], global_id[0u]);
+  uint dimInner = uniforms.aShape.y;
+  uint dimOutter = uniforms.outShape.y;
+  uint result = 0u;
+  {
+    uint i = 0u;
+    while(true) {
+      if ((i < dimInner)) {
+      } else {
+        break;
+      }
+      uint a = (i + (resultCell[0u] * dimInner));
+      uint b = (resultCell[1u] + (i * dimOutter));
+      result = (result + (firstMatrix.numbers[a] * secondMatrix.numbers[b]));
+      {
+        i = (i + 1u);
+      }
+      continue;
+    }
+  }
+  uint index = (resultCell[1u] + (resultCell[0u] * dimOutter));
+  resultMatrix.numbers[index] = result;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: '' : array size required 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/757.wgsl.expected.ir.glsl b/test/tint/bug/tint/757.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/bug/tint/757.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/757.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/824.wgsl.expected.ir.glsl b/test/tint/bug/tint/824.wgsl.expected.ir.glsl
index 1e74e77..24d6061 100644
--- a/test/tint/bug/tint/824.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/824.wgsl.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Output {
+  vec4 Position;
+  vec4 color;
+};
+
+Output main(uint VertexIndex, uint InstanceIndex) {
+  vec2 zv[4] = vec2[4](vec2(0.20000000298023223877f), vec2(0.30000001192092895508f), vec2(-0.10000000149011611938f), vec2(1.10000002384185791016f));
+  float z = zv[InstanceIndex][0u];
+  Output tint_symbol_1 = Output(vec4(0.0f), vec4(0.0f));
+  tint_symbol_1.Position = vec4(0.5f, 0.5f, z, 1.0f);
+  vec4 colors[4] = vec4[4](vec4(1.0f, 0.0f, 0.0f, 1.0f), vec4(0.0f, 1.0f, 0.0f, 1.0f), vec4(0.0f, 0.0f, 1.0f, 1.0f), vec4(1.0f));
+  tint_symbol_1.color = colors[InstanceIndex];
+  return tint_symbol_1;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: 'structure' :  entry point cannot return a value
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/827.wgsl.expected.ir.glsl b/test/tint/bug/tint/827.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/bug/tint/827.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/827.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/870.spvasm.expected.ir.glsl b/test/tint/bug/tint/870.spvasm.expected.ir.glsl
index 72ca17c..abd08d1 100644
--- a/test/tint/bug/tint/870.spvasm.expected.ir.glsl
+++ b/test/tint/bug/tint/870.spvasm.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct sspp962805860buildInformationS {
+  vec4 footprint;
+  vec4 offset;
+  int essence;
+  int orientation[6];
+};
+
+struct x_B4_BuildInformation {
+  sspp962805860buildInformationS passthru;
+};
+precision highp float;
+precision highp int;
+
+
+x_B4_BuildInformation sspp962805860buildInformation;
+void main_1() {
+  int orientation[6] = int[6](0, 0, 0, 0, 0, 0);
+  int x_23[6] = sspp962805860buildInformation.passthru.orientation;
+  orientation[0] = x_23[0u];
+  orientation[1] = x_23[1u];
+  orientation[2] = x_23[2u];
+  orientation[3] = x_23[3u];
+  orientation[4] = x_23[4u];
+  orientation[5] = x_23[5u];
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/913.wgsl.expected.ir.glsl b/test/tint/bug/tint/913.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/bug/tint/913.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/913.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/914.wgsl.expected.ir.glsl b/test/tint/bug/tint/914.wgsl.expected.ir.glsl
index 8c7a7ed..f297654 100644
--- a/test/tint/bug/tint/914.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/914.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757845==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x56224e2ab4d3 bp 0x7ffc2675d440 sp 0x7ffc2675d260 T0)
-==1757845==The signal is caused by a READ memory access.
-==1757845==Hint: address points to the zero page.
-    #0 0x56224e2ab4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x56224e2be17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x56224e2bdfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x56224e2bd72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x56224e2a8704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x56224e2a7a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x56224e2a593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x56224e2a4b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x56224e2a402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x56224ddf0ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x56224d60c455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x56224d5f4d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x56224d5dc861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f64b2c43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f64b2c43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x56224d501000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757845==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/922.wgsl.expected.ir.glsl b/test/tint/bug/tint/922.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/bug/tint/922.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/922.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/926.wgsl.expected.ir.glsl b/test/tint/bug/tint/926.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/bug/tint/926.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/926.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/942.wgsl.expected.ir.glsl b/test/tint/bug/tint/942.wgsl.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/bug/tint/942.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/942.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/948.wgsl.expected.ir.glsl b/test/tint/bug/tint/948.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/bug/tint/948.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/948.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/949.wgsl.expected.ir.glsl b/test/tint/bug/tint/949.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/bug/tint/949.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/949.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/959.wgsl.expected.ir.glsl b/test/tint/bug/tint/959.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/bug/tint/959.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/959.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/977.spvasm.expected.ir.glsl b/test/tint/bug/tint/977.spvasm.expected.ir.glsl
index 2094c31..1ea6360 100644
--- a/test/tint/bug/tint/977.spvasm.expected.ir.glsl
+++ b/test/tint/bug/tint/977.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757857==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5557a02a84d3 bp 0x7fff187d9040 sp 0x7fff187d8e60 T0)
-==1757857==The signal is caused by a READ memory access.
-==1757857==Hint: address points to the zero page.
-    #0 0x5557a02a84d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5557a02bb17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5557a02bafd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5557a02ba72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5557a02a5704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5557a02a4a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5557a02a293a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5557a02a1b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5557a02a102b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55579fdedebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55579f609455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55579f5f1d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55579f5d9861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fbba4816b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fbba4816c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55579f4fe000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757857==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/978.wgsl.expected.ir.glsl b/test/tint/bug/tint/978.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/bug/tint/978.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/978.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/980.wgsl.expected.ir.glsl b/test/tint/bug/tint/980.wgsl.expected.ir.glsl
index 1268749..8f65892 100644
--- a/test/tint/bug/tint/980.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/980.wgsl.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::StoreVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  vec3 v;
+  uint i;
+};
+
+S io;
+vec3 Bad(uint index, vec3 rd) {
+  vec3 normal = vec3(0.0f);
+  normal[index] = -(sign(rd[index]));
+  return normalize(normal);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uint idx) {
+  io.v = Bad(io.i, io.v);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'main' : function cannot take any parameter(s) 
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/990.wgsl.expected.ir.glsl b/test/tint/bug/tint/990.wgsl.expected.ir.glsl
index 0480431..4687334 100644
--- a/test/tint/bug/tint/990.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/990.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/bug/tint/992.wgsl.expected.ir.glsl b/test/tint/bug/tint/992.wgsl.expected.ir.glsl
index 37c14ad..9c3fda1 100644
--- a/test/tint/bug/tint/992.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/992.wgsl.expected.ir.glsl
@@ -1,11 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 main() {
+  float b = 0.0f;
+  vec3 v = vec3(b);
+  return vec4(v, 1.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'float' :  entry point cannot return a value
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/bug/tint/993.wgsl.expected.ir.glsl b/test/tint/bug/tint/993.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/bug/tint/993.wgsl.expected.ir.glsl
+++ b/test/tint/bug/tint/993.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.ir.glsl b/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.ir.glsl
index 36a0051..4687334 100644
--- a/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/arrayLength/complex_via_let.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757864==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55bf0569d4d3 bp 0x7ffe83d2faa0 sp 0x7ffe83d2f8c0 T0)
-==1757864==The signal is caused by a READ memory access.
-==1757864==Hint: address points to the zero page.
-    #0 0x55bf0569d4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55bf056b017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55bf056affd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55bf056af72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55bf0569a704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55bf05699a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55bf0569793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55bf05696b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55bf0569602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55bf051e2ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55bf049fe455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55bf049e6d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55bf049ce861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f9f86616b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f9f86616c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55bf048f3000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757864==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.ir.glsl b/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.ir.glsl
index aa09522..4687334 100644
--- a/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/arrayLength/complex_via_let_no_struct.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757865==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55c8bd3ef4d3 bp 0x7ffdb9b7bf20 sp 0x7ffdb9b7bd40 T0)
-==1757865==The signal is caused by a READ memory access.
-==1757865==Hint: address points to the zero page.
-    #0 0x55c8bd3ef4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55c8bd40217c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55c8bd401fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55c8bd40172f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55c8bd3ec704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55c8bd3eba63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55c8bd3e993a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55c8bd3e8b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55c8bd3e802b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55c8bcf34ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55c8bc750455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55c8bc738d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55c8bc720861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f117a043b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f117a043c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55c8bc645000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757865==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/arrayLength/deprecated.wgsl.expected.ir.glsl b/test/tint/builtins/arrayLength/deprecated.wgsl.expected.ir.glsl
index c9387f2..697d463 100644
--- a/test/tint/builtins/arrayLength/deprecated.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/arrayLength/deprecated.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757866==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x557208da64d3 bp 0x7ffc10be44c0 sp 0x7ffc10be42e0 T0)
-==1757866==The signal is caused by a READ memory access.
-==1757866==Hint: address points to the zero page.
-    #0 0x557208da64d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x557208db917c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x557208db8fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x557208db872f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x557208da3704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x557208da2a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x557208da093a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x557208d9fb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x557208d9f02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5572088ebebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x557208107455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5572080efd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5572080d7861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f1f37e43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f1f37e43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x557207ffc000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757866==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/arrayLength/simple.wgsl.expected.ir.glsl b/test/tint/builtins/arrayLength/simple.wgsl.expected.ir.glsl
index 4d08419..697d463 100644
--- a/test/tint/builtins/arrayLength/simple.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/arrayLength/simple.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757867==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x562220d414d3 bp 0x7ffd7caa3fa0 sp 0x7ffd7caa3dc0 T0)
-==1757867==The signal is caused by a READ memory access.
-==1757867==Hint: address points to the zero page.
-    #0 0x562220d414d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x562220d5417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x562220d53fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x562220d5372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x562220d3e704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x562220d3da63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x562220d3b93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x562220d3ab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x562220d3a02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x562220886ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5622200a2455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x56222008ad35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x562220072861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fec76d37b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fec76d37c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x56221ff97000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757867==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.ir.glsl b/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.ir.glsl
index a521b43..697d463 100644
--- a/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/arrayLength/simple_no_struct.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757868==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5556d7fbd4d3 bp 0x7ffd9a103ae0 sp 0x7ffd9a103900 T0)
-==1757868==The signal is caused by a READ memory access.
-==1757868==Hint: address points to the zero page.
-    #0 0x5556d7fbd4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5556d7fd017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5556d7fcffd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5556d7fcf72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5556d7fba704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5556d7fb9a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5556d7fb793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5556d7fb6b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5556d7fb602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5556d7b02ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5556d731e455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5556d7306d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5556d72ee861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f9564c43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f9564c43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5556d7213000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757868==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/arrayLength/via_let.wgsl.expected.ir.glsl b/test/tint/builtins/arrayLength/via_let.wgsl.expected.ir.glsl
index 892eae5..4687334 100644
--- a/test/tint/builtins/arrayLength/via_let.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/arrayLength/via_let.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757869==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x558c8ffdc4d3 bp 0x7ffdd26e3020 sp 0x7ffdd26e2e40 T0)
-==1757869==The signal is caused by a READ memory access.
-==1757869==Hint: address points to the zero page.
-    #0 0x558c8ffdc4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x558c8ffef17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x558c8ffeefd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x558c8ffee72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x558c8ffd9704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x558c8ffd8a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x558c8ffd693a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x558c8ffd5b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x558c8ffd502b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x558c8fb21ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x558c8f33d455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x558c8f325d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x558c8f30d861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f881b605b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f881b605c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x558c8f232000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757869==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.ir.glsl b/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.ir.glsl
index b1d0905..4687334 100644
--- a/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/arrayLength/via_let_complex.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757870==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x564481ece4d3 bp 0x7ffdecc1dc60 sp 0x7ffdecc1da80 T0)
-==1757870==The signal is caused by a READ memory access.
-==1757870==Hint: address points to the zero page.
-    #0 0x564481ece4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x564481ee117c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x564481ee0fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x564481ee072f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x564481ecb704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x564481ecaa63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x564481ec893a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x564481ec7b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x564481ec702b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x564481a13ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x56448122f455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x564481217d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5644811ff861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f8aea043b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f8aea043c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x564481124000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757870==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.ir.glsl b/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.ir.glsl
index 426aede..4687334 100644
--- a/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/arrayLength/via_let_complex_no_struct.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757871==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55b61f5214d3 bp 0x7ffc1ec61d20 sp 0x7ffc1ec61b40 T0)
-==1757871==The signal is caused by a READ memory access.
-==1757871==Hint: address points to the zero page.
-    #0 0x55b61f5214d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55b61f53417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55b61f533fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55b61f53372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55b61f51e704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55b61f51da63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55b61f51b93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55b61f51ab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55b61f51a02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55b61f066ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55b61e882455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55b61e86ad35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55b61e852861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f857e643b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f857e643c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55b61e777000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757871==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.ir.glsl b/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.ir.glsl
index a63241d..4687334 100644
--- a/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/arrayLength/via_let_no_struct.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1757872==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x564bc51f24d3 bp 0x7ffe91db88e0 sp 0x7ffe91db8700 T0)
-==1757872==The signal is caused by a READ memory access.
-==1757872==Hint: address points to the zero page.
-    #0 0x564bc51f24d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x564bc520517c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x564bc5204fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x564bc520472f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x564bc51ef704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x564bc51eea63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x564bc51ec93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x564bc51ebb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x564bc51eb02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x564bc4d37ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x564bc4553455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x564bc453bd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x564bc4523861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fb08c137b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fb08c137c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x564bc4448000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1757872==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/aliased_arrays.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/aliased_arrays.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/array/array.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/array/array.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/array/array.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/array.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/array/array.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/array/array.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/array/array.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/arrays.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/array/arrays.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/array_of_struct.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/array_of_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/flat_multiple_atomics.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/flat_single_atomic.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/flat_single_atomic.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/flat_single_atomic.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/flat_single_atomic.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/flat_single_atomic.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/nested.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/nested.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/nested.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/nested.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/nested.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/struct_of_array.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/struct_of_array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/via_ptr_let.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomicStore/struct/via_ptr_let.wgsl.expected.ir.glsl b/test/tint/builtins/atomicStore/struct/via_ptr_let.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomicStore/struct/via_ptr_let.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/atomicStore/struct/via_ptr_let.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicLoad/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicSub/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicDecrement/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/literal/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAdd/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicAnd/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicCompareExchangeWeak/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicExchange/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicLoad/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMax/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicMin/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicOr/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicStore/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicSub/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/atomicXor/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicDecrement/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/storage_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/atomics/from_gen/var/spvAtomicIncrement/workgroup_u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/degrees.spvasm.expected.ir.glsl b/test/tint/builtins/degrees.spvasm.expected.ir.glsl
index d4bb1c9..87886fe 100644
--- a/test/tint/builtins/degrees.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/degrees.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.ir.glsl b/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/extractBits/scalar/i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.ir.glsl b/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/extractBits/scalar/u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.ir.glsl b/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/extractBits/vec3/i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.ir.glsl b/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/extractBits/vec3/u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.ir.glsl b/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.ir.glsl
index d4bb1c9..f796305 100644
--- a/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/frexp/scalar/mixed.wgsl.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float runtime_in = 1.25f;
+  frexp_result_f32 res = frexp_result_f32(0.625f, 1);
+  res = frexp(runtime_in);
+  res = frexp_result_f32(0.625f, 1);
+  float tint_symbol_1 = res.fract;
+  int tint_symbol_2 = res.exp;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'frexp' : no matching overloaded function found 
+ERROR: 0:12: 'assign' :  cannot convert from ' const float' to ' temp structure{ global highp float fract,  global highp int exp}'
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.ir.glsl b/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.ir.glsl
index 6c6485e..6f277dd 100644
--- a/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/frexp/scalar/runtime.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float tint_symbol_1 = 1.25f;
+  frexp_result_f32 res = frexp(tint_symbol_1);
+  float tint_symbol_2 = res.fract;
+  int tint_symbol_3 = res.exp;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'frexp' : no matching overloaded function found 
+ERROR: 0:11: '=' :  cannot convert from ' const float' to ' temp structure{ global highp float fract,  global highp int exp}'
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/frexp/vector/mixed.wgsl.expected.ir.glsl b/test/tint/builtins/frexp/vector/mixed.wgsl.expected.ir.glsl
index d4bb1c9..096b65a 100644
--- a/test/tint/builtins/frexp/vector/mixed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/frexp/vector/mixed.wgsl.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vec2 runtime_in = vec2(1.25f, 3.75f);
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.625f, 0.9375f), ivec2(1, 2));
+  res = frexp(runtime_in);
+  res = frexp_result_vec2_f32(vec2(0.625f, 0.9375f), ivec2(1, 2));
+  vec2 tint_symbol_1 = res.fract;
+  ivec2 tint_symbol_2 = res.exp;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'frexp' : no matching overloaded function found 
+ERROR: 0:12: 'assign' :  cannot convert from ' const float' to ' temp structure{ global highp 2-component vector of float fract,  global highp 2-component vector of int exp}'
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/frexp/vector/runtime.wgsl.expected.ir.glsl b/test/tint/builtins/frexp/vector/runtime.wgsl.expected.ir.glsl
index 6c6485e..eccbb19 100644
--- a/test/tint/builtins/frexp/vector/runtime.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/frexp/vector/runtime.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vec2 tint_symbol_1 = vec2(1.25f, 3.75f);
+  frexp_result_vec2_f32 res = frexp(tint_symbol_1);
+  vec2 tint_symbol_2 = res.fract;
+  ivec2 tint_symbol_3 = res.exp;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'frexp' : no matching overloaded function found 
+ERROR: 0:11: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 2-component vector of float fract,  global highp 2-component vector of int exp}'
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.ir.glsl
index 72ca17c..9de8f47 100644
--- a/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/002533.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 abs_002533() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = abs_002533();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_002533();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_002533();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 abs_002533() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = abs_002533();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_002533();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_002533();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 abs_002533() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = abs_002533();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_002533();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_002533();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.ir.glsl
index 72ca17c..7a2322d 100644
--- a/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/005174.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 abs_005174() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = abs_005174();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_005174();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_005174();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 abs_005174() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = abs_005174();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_005174();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_005174();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 abs_005174() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = abs_005174();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_005174();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_005174();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.ir.glsl
index 72ca17c..ca0b693 100644
--- a/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/1ce782.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 abs_1ce782() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1ce782();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1ce782();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1ce782();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 abs_1ce782() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1ce782();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1ce782();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1ce782();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 abs_1ce782() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1ce782();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1ce782();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1ce782();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.ir.glsl
index 72ca17c..caee4e1 100644
--- a/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/1e9d53.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 abs_1e9d53() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1e9d53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 abs_1e9d53() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1e9d53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 abs_1e9d53() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1e9d53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.ir.glsl
index d4bb1c9..4a88d83 100644
--- a/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/2f861b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_2f861b() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  abs_2f861b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_2f861b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_2f861b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_2f861b() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  abs_2f861b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_2f861b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_2f861b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_2f861b() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  abs_2f861b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_2f861b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_2f861b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.ir.glsl
index 72ca17c..d8b6c76 100644
--- a/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/421ca3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 abs_421ca3() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = abs_421ca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_421ca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_421ca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 abs_421ca3() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = abs_421ca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_421ca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_421ca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 abs_421ca3() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = abs_421ca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_421ca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_421ca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.ir.glsl
index 72ca17c..98b1852 100644
--- a/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/467cd1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint abs_467cd1() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = abs_467cd1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_467cd1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_467cd1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint abs_467cd1() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = abs_467cd1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_467cd1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_467cd1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint abs_467cd1() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = abs_467cd1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_467cd1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_467cd1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.ir.glsl
index 72ca17c..5009baa 100644
--- a/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/4ad288.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int abs_4ad288() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = abs_4ad288();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_4ad288();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_4ad288();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int abs_4ad288() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = abs_4ad288();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_4ad288();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_4ad288();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int abs_4ad288() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = abs_4ad288();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_4ad288();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_4ad288();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.ir.glsl
index 72ca17c..fa3e902 100644
--- a/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/538d29.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 abs_538d29() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = abs_538d29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_538d29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_538d29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 abs_538d29() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = abs_538d29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_538d29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_538d29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 abs_538d29() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = abs_538d29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_538d29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_538d29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.ir.glsl
index d4bb1c9..ede5bb8 100644
--- a/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/577d6e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_577d6e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  abs_577d6e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_577d6e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_577d6e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_577d6e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  abs_577d6e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_577d6e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_577d6e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_577d6e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  abs_577d6e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_577d6e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_577d6e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.ir.glsl
index d4bb1c9..5bc7884 100644
--- a/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/5a8af1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_5a8af1() {
+  int res = 1;
+}
+void main() {
+  abs_5a8af1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_5a8af1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_5a8af1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_5a8af1() {
+  int res = 1;
+}
+void main() {
+  abs_5a8af1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_5a8af1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_5a8af1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_5a8af1() {
+  int res = 1;
+}
+void main() {
+  abs_5a8af1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_5a8af1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_5a8af1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.ir.glsl
index 72ca17c..98448a2 100644
--- a/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/5ad50a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 abs_5ad50a() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ad50a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 abs_5ad50a() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ad50a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 abs_5ad50a() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ad50a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.ir.glsl
index 72ca17c..782ddc7 100644
--- a/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/5ae4fe.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 abs_5ae4fe() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ae4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 abs_5ae4fe() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ae4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 abs_5ae4fe() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ae4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.ir.glsl
index 72ca17c..02eaeaa 100644
--- a/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/7326de.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 abs_7326de() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7326de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7326de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7326de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 abs_7326de() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7326de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7326de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7326de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 abs_7326de() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7326de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7326de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7326de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.ir.glsl
index 72ca17c..8dd813e 100644
--- a/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/7f28e6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 abs_7f28e6() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7f28e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 abs_7f28e6() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7f28e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 abs_7f28e6() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7f28e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.ir.glsl
index 72ca17c..6086d02 100644
--- a/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/7faa9e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 abs_7faa9e() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7faa9e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 abs_7faa9e() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7faa9e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 abs_7faa9e() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7faa9e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.ir.glsl
index d4bb1c9..03804f4 100644
--- a/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/82ff9d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_82ff9d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  abs_82ff9d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_82ff9d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_82ff9d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_82ff9d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  abs_82ff9d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_82ff9d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_82ff9d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_82ff9d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  abs_82ff9d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_82ff9d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_82ff9d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.ir.glsl
index d4bb1c9..6dc976b 100644
--- a/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/8ca9b1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_8ca9b1() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  abs_8ca9b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_8ca9b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_8ca9b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_8ca9b1() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  abs_8ca9b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_8ca9b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_8ca9b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_8ca9b1() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  abs_8ca9b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_8ca9b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_8ca9b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.ir.glsl
index 72ca17c..2d1b0e6 100644
--- a/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/9c80a6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 abs_9c80a6() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_9c80a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 abs_9c80a6() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_9c80a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 abs_9c80a6() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_9c80a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.ir.glsl
index d4bb1c9..abca85c 100644
--- a/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/aedb6d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_aedb6d() {
+  float res = 1.0f;
+}
+void main() {
+  abs_aedb6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_aedb6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_aedb6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_aedb6d() {
+  float res = 1.0f;
+}
+void main() {
+  abs_aedb6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_aedb6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_aedb6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_aedb6d() {
+  float res = 1.0f;
+}
+void main() {
+  abs_aedb6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_aedb6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_aedb6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.ir.glsl
index 72ca17c..ae57aca 100644
--- a/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/b96037.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float abs_b96037() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = abs_b96037();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_b96037();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_b96037();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float abs_b96037() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = abs_b96037();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_b96037();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_b96037();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float abs_b96037() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = abs_b96037();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_b96037();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_b96037();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.ir.glsl
index d4bb1c9..974e81d 100644
--- a/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/c3321c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_c3321c() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  abs_c3321c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_c3321c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_c3321c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_c3321c() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  abs_c3321c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_c3321c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_c3321c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_c3321c() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  abs_c3321c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_c3321c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_c3321c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.ir.glsl
index d4bb1c9..3d8d9e4 100644
--- a/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/e28785.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_e28785() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  abs_e28785();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_e28785();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_e28785();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_e28785() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  abs_e28785();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_e28785();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_e28785();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_e28785() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  abs_e28785();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_e28785();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_e28785();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.ir.glsl
index 72ca17c..9b28f35 100644
--- a/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/abs/fd247f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t abs_fd247f() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = abs_fd247f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_fd247f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_fd247f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t abs_fd247f() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = abs_fd247f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_fd247f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_fd247f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t abs_fd247f() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = abs_fd247f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_fd247f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_fd247f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.ir.glsl
index 72ca17c..40ed270 100644
--- a/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/004aff.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acos_004aff() {
+  f16vec2 res = f16vec2(0.25048828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = acos_004aff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_004aff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_004aff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acos_004aff() {
+  f16vec2 res = f16vec2(0.25048828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = acos_004aff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_004aff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_004aff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acos_004aff() {
+  f16vec2 res = f16vec2(0.25048828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = acos_004aff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_004aff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_004aff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.ir.glsl
index d4bb1c9..0ae4906 100644
--- a/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/069188.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_069188() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  acos_069188();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_069188();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_069188();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_069188() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  acos_069188();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_069188();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_069188();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_069188() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  acos_069188();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_069188();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_069188();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.ir.glsl
index d4bb1c9..a5b141e 100644
--- a/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/15d35b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_15d35b() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  acos_15d35b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_15d35b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_15d35b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_15d35b() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  acos_15d35b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_15d35b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_15d35b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_15d35b() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  acos_15d35b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_15d35b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_15d35b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.ir.glsl
index 72ca17c..769f7a8 100644
--- a/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/203628.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acos_203628() {
+  f16vec4 res = f16vec4(0.25048828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = acos_203628();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_203628();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_203628();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acos_203628() {
+  f16vec4 res = f16vec4(0.25048828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = acos_203628();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_203628();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_203628();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acos_203628() {
+  f16vec4 res = f16vec4(0.25048828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = acos_203628();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_203628();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_203628();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.ir.glsl
index 72ca17c..4c425d9 100644
--- a/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/303e3d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acos_303e3d() {
+  float16_t res = 0.25048828125hf;
+  return res;
+}
+void main() {
+  prevent_dce = acos_303e3d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_303e3d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_303e3d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acos_303e3d() {
+  float16_t res = 0.25048828125hf;
+  return res;
+}
+void main() {
+  prevent_dce = acos_303e3d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_303e3d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_303e3d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acos_303e3d() {
+  float16_t res = 0.25048828125hf;
+  return res;
+}
+void main() {
+  prevent_dce = acos_303e3d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_303e3d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_303e3d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.ir.glsl
index 72ca17c..51d55dc 100644
--- a/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/489247.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acos_489247() {
+  float res = 0.25f;
+  return res;
+}
+void main() {
+  prevent_dce = acos_489247();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_489247();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_489247();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acos_489247() {
+  float res = 0.25f;
+  return res;
+}
+void main() {
+  prevent_dce = acos_489247();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_489247();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_489247();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acos_489247() {
+  float res = 0.25f;
+  return res;
+}
+void main() {
+  prevent_dce = acos_489247();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_489247();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_489247();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.ir.glsl
index d4bb1c9..377e0a3 100644
--- a/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/4dac75.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_4dac75() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  acos_4dac75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_4dac75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_4dac75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_4dac75() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  acos_4dac75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_4dac75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_4dac75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_4dac75() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  acos_4dac75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_4dac75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_4dac75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.ir.glsl
index d4bb1c9..4df6e06 100644
--- a/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/5e9ad2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_5e9ad2() {
+  float res = 0.25f;
+}
+void main() {
+  acos_5e9ad2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_5e9ad2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_5e9ad2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_5e9ad2() {
+  float res = 0.25f;
+}
+void main() {
+  acos_5e9ad2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_5e9ad2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_5e9ad2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_5e9ad2() {
+  float res = 0.25f;
+}
+void main() {
+  acos_5e9ad2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_5e9ad2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_5e9ad2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.ir.glsl
index 72ca17c..6cf1011 100644
--- a/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/8e2acf.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acos_8e2acf() {
+  vec4 res = vec4(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_8e2acf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acos_8e2acf() {
+  vec4 res = vec4(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_8e2acf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acos_8e2acf() {
+  vec4 res = vec4(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_8e2acf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.ir.glsl
index 72ca17c..68f4777 100644
--- a/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/a610c4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acos_a610c4() {
+  vec3 res = vec3(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = acos_a610c4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_a610c4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_a610c4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acos_a610c4() {
+  vec3 res = vec3(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = acos_a610c4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_a610c4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_a610c4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acos_a610c4() {
+  vec3 res = vec3(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = acos_a610c4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_a610c4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_a610c4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.ir.glsl
index 72ca17c..da0eed8 100644
--- a/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/dfc915.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acos_dfc915() {
+  vec2 res = vec2(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = acos_dfc915();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_dfc915();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_dfc915();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acos_dfc915() {
+  vec2 res = vec2(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = acos_dfc915();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_dfc915();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_dfc915();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acos_dfc915() {
+  vec2 res = vec2(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = acos_dfc915();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_dfc915();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_dfc915();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.ir.glsl
index 72ca17c..570a47e 100644
--- a/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acos/f47057.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acos_f47057() {
+  f16vec3 res = f16vec3(0.25048828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = acos_f47057();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_f47057();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_f47057();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acos_f47057() {
+  f16vec3 res = f16vec3(0.25048828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = acos_f47057();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_f47057();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_f47057();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acos_f47057() {
+  f16vec3 res = f16vec3(0.25048828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = acos_f47057();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_f47057();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_f47057();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.ir.glsl
index d4bb1c9..298b06b 100644
--- a/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/17260e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_17260e() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  acosh_17260e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_17260e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_17260e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_17260e() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  acosh_17260e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_17260e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_17260e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_17260e() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  acosh_17260e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_17260e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_17260e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.ir.glsl
index d4bb1c9..31eb23e 100644
--- a/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/3433e8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_3433e8() {
+  float res = 1.0f;
+}
+void main() {
+  acosh_3433e8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_3433e8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_3433e8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_3433e8() {
+  float res = 1.0f;
+}
+void main() {
+  acosh_3433e8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_3433e8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_3433e8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_3433e8() {
+  float res = 1.0f;
+}
+void main() {
+  acosh_3433e8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_3433e8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_3433e8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.ir.glsl
index d4bb1c9..49604ab 100644
--- a/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/490aae.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_490aae() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  acosh_490aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_490aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_490aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_490aae() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  acosh_490aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_490aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_490aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_490aae() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  acosh_490aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_490aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_490aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.ir.glsl
index 72ca17c..d9c1735 100644
--- a/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/5f49d8.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acosh_5f49d8() {
+  f16vec2 res = f16vec2(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_5f49d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acosh_5f49d8() {
+  f16vec2 res = f16vec2(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_5f49d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acosh_5f49d8() {
+  f16vec2 res = f16vec2(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_5f49d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.ir.glsl
index 72ca17c..9500f5b 100644
--- a/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/640883.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acosh_640883() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_640883();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_640883();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_640883();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acosh_640883() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_640883();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_640883();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_640883();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acosh_640883() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_640883();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_640883();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_640883();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.ir.glsl
index d4bb1c9..e9dc64a 100644
--- a/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/9f213e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_9f213e() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  acosh_9f213e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_9f213e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_9f213e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_9f213e() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  acosh_9f213e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_9f213e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_9f213e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_9f213e() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  acosh_9f213e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_9f213e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_9f213e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.ir.glsl
index 72ca17c..1aa32f2 100644
--- a/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/a37dfe.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acosh_a37dfe() {
+  float16_t res = 0.99951171875hf;
+  return res;
+}
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_a37dfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acosh_a37dfe() {
+  float16_t res = 0.99951171875hf;
+  return res;
+}
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_a37dfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acosh_a37dfe() {
+  float16_t res = 0.99951171875hf;
+  return res;
+}
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_a37dfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.ir.glsl
index 72ca17c..3f0c91f7 100644
--- a/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/d51ccb.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acosh_d51ccb() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_d51ccb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acosh_d51ccb() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_d51ccb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acosh_d51ccb() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_d51ccb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.ir.glsl
index 72ca17c..c3db214 100644
--- a/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/de60d8.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acosh_de60d8() {
+  f16vec4 res = f16vec4(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_de60d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acosh_de60d8() {
+  f16vec4 res = f16vec4(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_de60d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acosh_de60d8() {
+  f16vec4 res = f16vec4(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_de60d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.ir.glsl
index 72ca17c..6b9bd4b 100644
--- a/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/e38f5c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acosh_e38f5c() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_e38f5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acosh_e38f5c() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_e38f5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acosh_e38f5c() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_e38f5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.ir.glsl
index 72ca17c..1cf9c7b 100644
--- a/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/ecf2d1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acosh_ecf2d1() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_ecf2d1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acosh_ecf2d1() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_ecf2d1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acosh_ecf2d1() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_ecf2d1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.ir.glsl
index 72ca17c..b27d634 100644
--- a/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/acosh/f56574.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acosh_f56574() {
+  f16vec3 res = f16vec3(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_f56574();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_f56574();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_f56574();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acosh_f56574() {
+  f16vec3 res = f16vec3(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_f56574();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_f56574();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_f56574();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acosh_f56574() {
+  f16vec3 res = f16vec3(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_f56574();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_f56574();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_f56574();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/all/353d6a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/all/986c7b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/all/bd2dba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/all/f46790.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/any/083428.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/any/083428.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/any/083428.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/any/083428.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/any/0e3e58.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/any/2ab91a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/any/e755c1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.ir.glsl
index dcc1055..697d463 100644
--- a/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/arrayLength/1588cd.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1758095==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5598c13a44d3 bp 0x7ffd67f3d7c0 sp 0x7ffd67f3d5e0 T0)
-==1758095==The signal is caused by a READ memory access.
-==1758095==Hint: address points to the zero page.
-    #0 0x5598c13a44d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5598c13b717c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5598c13b6fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5598c13b672f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5598c13a1704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5598c13a0a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5598c139e93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5598c139db21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5598c139d02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5598c0ee9ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5598c0705455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5598c06edd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5598c06d5861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f1fdf843b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f1fdf843c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5598c05fa000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1758095==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.ir.glsl
index 7fc2fbb..697d463 100644
--- a/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/arrayLength/61b1c7.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1758096==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55b37f6184d3 bp 0x7ffcc9eb98a0 sp 0x7ffcc9eb96c0 T0)
-==1758096==The signal is caused by a READ memory access.
-==1758096==Hint: address points to the zero page.
-    #0 0x55b37f6184d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55b37f62b17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55b37f62afd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55b37f62a72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55b37f615704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55b37f614a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55b37f61293a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55b37f611b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55b37f61102b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55b37f15debb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55b37e979455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55b37e961d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55b37e949861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fda03164b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fda03164c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55b37e86e000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1758096==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.ir.glsl
index 2fdcf92..697d463 100644
--- a/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/arrayLength/8421b9.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1758097==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x556e4878d4d3 bp 0x7ffe1d959a00 sp 0x7ffe1d959820 T0)
-==1758097==The signal is caused by a READ memory access.
-==1758097==Hint: address points to the zero page.
-    #0 0x556e4878d4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x556e487a017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x556e4879ffd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x556e4879f72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x556e4878a704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x556e48789a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x556e4878793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x556e48786b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x556e4878602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x556e482d2ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x556e47aee455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x556e47ad6d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x556e47abe861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f9e75016b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f9e75016c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x556e479e3000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1758097==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.ir.glsl
index b124a73..697d463 100644
--- a/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/arrayLength/a0f5ca.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1758098==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55bc209194d3 bp 0x7ffec3fd6f80 sp 0x7ffec3fd6da0 T0)
-==1758098==The signal is caused by a READ memory access.
-==1758098==Hint: address points to the zero page.
-    #0 0x55bc209194d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55bc2092c17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55bc2092bfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55bc2092b72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55bc20916704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55bc20915a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55bc2091393a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55bc20912b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55bc2091202b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55bc2045eebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55bc1fc7a455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55bc1fc62d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55bc1fc4a861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7faefec43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7faefec43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55bc1fb6f000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1758098==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.ir.glsl
index 3019b53..697d463 100644
--- a/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/arrayLength/cbd6b5.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1758099==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55657ce314d3 bp 0x7fff413362a0 sp 0x7fff413360c0 T0)
-==1758099==The signal is caused by a READ memory access.
-==1758099==Hint: address points to the zero page.
-    #0 0x55657ce314d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55657ce4417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55657ce43fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55657ce4372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55657ce2e704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55657ce2da63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55657ce2b93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55657ce2ab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55657ce2a02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55657c976ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55657c192455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55657c17ad35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55657c162861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fb065564b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fb065564c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55657c087000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1758099==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.ir.glsl
index 1ed9acc..697d463 100644
--- a/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/arrayLength/cdd123.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1758100==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55e15ce704d3 bp 0x7ffedc918e40 sp 0x7ffedc918c60 T0)
-==1758100==The signal is caused by a READ memory access.
-==1758100==Hint: address points to the zero page.
-    #0 0x55e15ce704d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55e15ce8317c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55e15ce82fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55e15ce8272f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55e15ce6d704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55e15ce6ca63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55e15ce6a93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55e15ce69b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55e15ce6902b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55e15c9b5ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55e15c1d1455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55e15c1b9d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55e15c1a1861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fad61f64b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fad61f64c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55e15c0c6000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1758100==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.ir.glsl
index 558dd07..697d463 100644
--- a/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/arrayLength/cfca0a.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1758101==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5591a67d84d3 bp 0x7ffc04a8ab20 sp 0x7ffc04a8a940 T0)
-==1758101==The signal is caused by a READ memory access.
-==1758101==Hint: address points to the zero page.
-    #0 0x5591a67d84d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5591a67eb17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5591a67eafd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5591a67ea72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5591a67d5704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5591a67d4a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5591a67d293a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5591a67d1b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5591a67d102b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5591a631debb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5591a5b39455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5591a5b21d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5591a5b09861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f38c2243b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f38c2243c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5591a5a2e000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1758101==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.ir.glsl
index 0a898aa..697d463 100644
--- a/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/arrayLength/eb510f.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1758102==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5584451124d3 bp 0x7fffa14ca300 sp 0x7fffa14ca120 T0)
-==1758102==The signal is caused by a READ memory access.
-==1758102==Hint: address points to the zero page.
-    #0 0x5584451124d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55844512517c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x558445124fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55844512472f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55844510f704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55844510ea63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55844510c93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55844510bb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55844510b02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x558444c57ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x558444473455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55844445bd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x558444443861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f329d164b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f329d164c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x558444368000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1758102==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.ir.glsl
index 72ca17c..8d23fea 100644
--- a/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/064953.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asin_064953() {
+  vec4 res = vec4(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = asin_064953();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_064953();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_064953();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asin_064953() {
+  vec4 res = vec4(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = asin_064953();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_064953();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_064953();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asin_064953() {
+  vec4 res = vec4(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = asin_064953();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_064953();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_064953();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.ir.glsl
index d4bb1c9..5c0c217 100644
--- a/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/0bac07.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_0bac07() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  asin_0bac07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_0bac07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_0bac07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_0bac07() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  asin_0bac07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_0bac07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_0bac07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_0bac07() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  asin_0bac07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_0bac07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_0bac07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.ir.glsl
index 72ca17c..3980432 100644
--- a/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/11dfda.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asin_11dfda() {
+  float16_t res = 0.499755859375hf;
+  return res;
+}
+void main() {
+  prevent_dce = asin_11dfda();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_11dfda();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_11dfda();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asin_11dfda() {
+  float16_t res = 0.499755859375hf;
+  return res;
+}
+void main() {
+  prevent_dce = asin_11dfda();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_11dfda();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_11dfda();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asin_11dfda() {
+  float16_t res = 0.499755859375hf;
+  return res;
+}
+void main() {
+  prevent_dce = asin_11dfda();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_11dfda();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_11dfda();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.ir.glsl
index 72ca17c..d72f43e 100644
--- a/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/2d8e29.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asin_2d8e29() {
+  f16vec3 res = f16vec3(0.499755859375hf);
+  return res;
+}
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_2d8e29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asin_2d8e29() {
+  f16vec3 res = f16vec3(0.499755859375hf);
+  return res;
+}
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_2d8e29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asin_2d8e29() {
+  f16vec3 res = f16vec3(0.499755859375hf);
+  return res;
+}
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_2d8e29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.ir.glsl
index 72ca17c..e2205e6 100644
--- a/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/3cfbd4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asin_3cfbd4() {
+  f16vec4 res = f16vec4(0.499755859375hf);
+  return res;
+}
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_3cfbd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asin_3cfbd4() {
+  f16vec4 res = f16vec4(0.499755859375hf);
+  return res;
+}
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_3cfbd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asin_3cfbd4() {
+  f16vec4 res = f16vec4(0.499755859375hf);
+  return res;
+}
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_3cfbd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.ir.glsl
index d4bb1c9..55d1161 100644
--- a/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/64bb1f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_64bb1f() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  asin_64bb1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_64bb1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_64bb1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_64bb1f() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  asin_64bb1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_64bb1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_64bb1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_64bb1f() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  asin_64bb1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_64bb1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_64bb1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.ir.glsl
index 72ca17c..285ccf9 100644
--- a/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/7b6a44.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asin_7b6a44() {
+  vec2 res = vec2(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_7b6a44();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asin_7b6a44() {
+  vec2 res = vec2(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_7b6a44();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asin_7b6a44() {
+  vec2 res = vec2(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_7b6a44();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.ir.glsl
index 72ca17c..a0b2ae1 100644
--- a/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/8cd9c9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asin_8cd9c9() {
+  vec3 res = vec3(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_8cd9c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asin_8cd9c9() {
+  vec3 res = vec3(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_8cd9c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asin_8cd9c9() {
+  vec3 res = vec3(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_8cd9c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.ir.glsl
index d4bb1c9..88b526d 100644
--- a/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/a5dd88.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a5dd88() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  asin_a5dd88();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a5dd88();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a5dd88();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a5dd88() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  asin_a5dd88();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a5dd88();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a5dd88();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a5dd88() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  asin_a5dd88();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a5dd88();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a5dd88();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.ir.glsl
index d4bb1c9..0de4fc2 100644
--- a/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/a6d73a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a6d73a() {
+  float res = 0.5f;
+}
+void main() {
+  asin_a6d73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a6d73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a6d73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a6d73a() {
+  float res = 0.5f;
+}
+void main() {
+  asin_a6d73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a6d73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a6d73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a6d73a() {
+  float res = 0.5f;
+}
+void main() {
+  asin_a6d73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a6d73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a6d73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.ir.glsl
index 72ca17c..ee74ba0 100644
--- a/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/b4aced.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asin_b4aced() {
+  f16vec2 res = f16vec2(0.499755859375hf);
+  return res;
+}
+void main() {
+  prevent_dce = asin_b4aced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_b4aced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_b4aced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asin_b4aced() {
+  f16vec2 res = f16vec2(0.499755859375hf);
+  return res;
+}
+void main() {
+  prevent_dce = asin_b4aced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_b4aced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_b4aced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asin_b4aced() {
+  f16vec2 res = f16vec2(0.499755859375hf);
+  return res;
+}
+void main() {
+  prevent_dce = asin_b4aced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_b4aced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_b4aced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.ir.glsl
index 72ca17c..69dbc09 100644
--- a/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asin/c0c272.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asin_c0c272() {
+  float res = 0.5f;
+  return res;
+}
+void main() {
+  prevent_dce = asin_c0c272();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_c0c272();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_c0c272();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asin_c0c272() {
+  float res = 0.5f;
+  return res;
+}
+void main() {
+  prevent_dce = asin_c0c272();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_c0c272();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_c0c272();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asin_c0c272() {
+  float res = 0.5f;
+  return res;
+}
+void main() {
+  prevent_dce = asin_c0c272();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_c0c272();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_c0c272();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.ir.glsl
index 72ca17c..a32cf0e 100644
--- a/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/157447.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asinh_157447() {
+  float res = 0.88137358427047729492f;
+  return res;
+}
+void main() {
+  prevent_dce = asinh_157447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_157447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_157447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asinh_157447() {
+  float res = 0.88137358427047729492f;
+  return res;
+}
+void main() {
+  prevent_dce = asinh_157447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_157447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_157447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asinh_157447() {
+  float res = 0.88137358427047729492f;
+  return res;
+}
+void main() {
+  prevent_dce = asinh_157447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_157447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_157447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.ir.glsl
index d4bb1c9..eca502c 100644
--- a/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/16b543.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_16b543() {
+  vec2 res = vec2(0.88137358427047729492f);
+}
+void main() {
+  asinh_16b543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_16b543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_16b543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_16b543() {
+  vec2 res = vec2(0.88137358427047729492f);
+}
+void main() {
+  asinh_16b543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_16b543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_16b543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_16b543() {
+  vec2 res = vec2(0.88137358427047729492f);
+}
+void main() {
+  asinh_16b543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_16b543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_16b543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.ir.glsl
index d4bb1c9..0abd766 100644
--- a/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/180015.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_180015() {
+  float res = 0.88137358427047729492f;
+}
+void main() {
+  asinh_180015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_180015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_180015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_180015() {
+  float res = 0.88137358427047729492f;
+}
+void main() {
+  asinh_180015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_180015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_180015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_180015() {
+  float res = 0.88137358427047729492f;
+}
+void main() {
+  asinh_180015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_180015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_180015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.ir.glsl
index 72ca17c..ee4a784 100644
--- a/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/2265ee.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asinh_2265ee() {
+  vec3 res = vec3(0.88137358427047729492f);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_2265ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asinh_2265ee() {
+  vec3 res = vec3(0.88137358427047729492f);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_2265ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asinh_2265ee() {
+  vec3 res = vec3(0.88137358427047729492f);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_2265ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.ir.glsl
index 72ca17c..56bf7ce 100644
--- a/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/468a48.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asinh_468a48() {
+  float16_t res = 0.88134765625hf;
+  return res;
+}
+void main() {
+  prevent_dce = asinh_468a48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_468a48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_468a48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asinh_468a48() {
+  float16_t res = 0.88134765625hf;
+  return res;
+}
+void main() {
+  prevent_dce = asinh_468a48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_468a48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_468a48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asinh_468a48() {
+  float16_t res = 0.88134765625hf;
+  return res;
+}
+void main() {
+  prevent_dce = asinh_468a48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_468a48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_468a48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.ir.glsl
index 72ca17c..57662fe 100644
--- a/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/4a2226.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asinh_4a2226() {
+  vec2 res = vec2(0.88137358427047729492f);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_4a2226();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asinh_4a2226() {
+  vec2 res = vec2(0.88137358427047729492f);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_4a2226();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asinh_4a2226() {
+  vec2 res = vec2(0.88137358427047729492f);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_4a2226();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.ir.glsl
index d4bb1c9..5b40511 100644
--- a/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/51079e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_51079e() {
+  vec3 res = vec3(0.88137358427047729492f);
+}
+void main() {
+  asinh_51079e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_51079e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_51079e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_51079e() {
+  vec3 res = vec3(0.88137358427047729492f);
+}
+void main() {
+  asinh_51079e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_51079e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_51079e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_51079e() {
+  vec3 res = vec3(0.88137358427047729492f);
+}
+void main() {
+  asinh_51079e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_51079e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_51079e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.ir.glsl
index 72ca17c..128cf0e 100644
--- a/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/8d2e51.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asinh_8d2e51() {
+  vec4 res = vec4(0.88137358427047729492f);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_8d2e51();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asinh_8d2e51() {
+  vec4 res = vec4(0.88137358427047729492f);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_8d2e51();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asinh_8d2e51() {
+  vec4 res = vec4(0.88137358427047729492f);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_8d2e51();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.ir.glsl
index 72ca17c..db020d0 100644
--- a/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/95ab2b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asinh_95ab2b() {
+  f16vec4 res = f16vec4(0.88134765625hf);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_95ab2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asinh_95ab2b() {
+  f16vec4 res = f16vec4(0.88134765625hf);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_95ab2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asinh_95ab2b() {
+  f16vec4 res = f16vec4(0.88134765625hf);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_95ab2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.ir.glsl
index 72ca17c..a505dad 100644
--- a/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/ad8f8b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asinh_ad8f8b() {
+  f16vec2 res = f16vec2(0.88134765625hf);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_ad8f8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asinh_ad8f8b() {
+  f16vec2 res = f16vec2(0.88134765625hf);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_ad8f8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asinh_ad8f8b() {
+  f16vec2 res = f16vec2(0.88134765625hf);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_ad8f8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.ir.glsl
index d4bb1c9..7cd71de 100644
--- a/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/cf8603.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_cf8603() {
+  vec4 res = vec4(0.88137358427047729492f);
+}
+void main() {
+  asinh_cf8603();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_cf8603();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_cf8603();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_cf8603() {
+  vec4 res = vec4(0.88137358427047729492f);
+}
+void main() {
+  asinh_cf8603();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_cf8603();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_cf8603();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_cf8603() {
+  vec4 res = vec4(0.88137358427047729492f);
+}
+void main() {
+  asinh_cf8603();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_cf8603();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_cf8603();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.ir.glsl
index 72ca17c..470e56c 100644
--- a/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/asinh/fb5e8c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asinh_fb5e8c() {
+  f16vec3 res = f16vec3(0.88134765625hf);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_fb5e8c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asinh_fb5e8c() {
+  f16vec3 res = f16vec3(0.88134765625hf);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_fb5e8c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asinh_fb5e8c() {
+  f16vec3 res = f16vec3(0.88134765625hf);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_fb5e8c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.ir.glsl
index 72ca17c..baa9d82 100644
--- a/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/02979a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan_02979a() {
+  float res = 0.78539818525314331055f;
+  return res;
+}
+void main() {
+  prevent_dce = atan_02979a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_02979a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_02979a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan_02979a() {
+  float res = 0.78539818525314331055f;
+  return res;
+}
+void main() {
+  prevent_dce = atan_02979a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_02979a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_02979a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan_02979a() {
+  float res = 0.78539818525314331055f;
+  return res;
+}
+void main() {
+  prevent_dce = atan_02979a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_02979a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_02979a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.ir.glsl
index 72ca17c..1ddd876 100644
--- a/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/19faea.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan_19faea() {
+  f16vec4 res = f16vec4(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan_19faea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_19faea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_19faea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan_19faea() {
+  f16vec4 res = f16vec4(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan_19faea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_19faea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_19faea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan_19faea() {
+  f16vec4 res = f16vec4(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan_19faea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_19faea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_19faea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.ir.glsl
index 72ca17c..4854b14 100644
--- a/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/1e1764.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan_1e1764() {
+  f16vec2 res = f16vec2(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan_1e1764();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_1e1764();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_1e1764();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan_1e1764() {
+  f16vec2 res = f16vec2(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan_1e1764();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_1e1764();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_1e1764();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan_1e1764() {
+  f16vec2 res = f16vec2(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan_1e1764();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_1e1764();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_1e1764();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.ir.glsl
index 72ca17c..3accc32 100644
--- a/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/331e6d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan_331e6d() {
+  vec3 res = vec3(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan_331e6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_331e6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_331e6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan_331e6d() {
+  vec3 res = vec3(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan_331e6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_331e6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_331e6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan_331e6d() {
+  vec3 res = vec3(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan_331e6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_331e6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_331e6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.ir.glsl
index d4bb1c9..cc25868 100644
--- a/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/5ca7b8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_5ca7b8() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan_5ca7b8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_5ca7b8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_5ca7b8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_5ca7b8() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan_5ca7b8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_5ca7b8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_5ca7b8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_5ca7b8() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan_5ca7b8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_5ca7b8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_5ca7b8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.ir.glsl
index d4bb1c9..914b192 100644
--- a/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/749e1b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_749e1b() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan_749e1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_749e1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_749e1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_749e1b() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan_749e1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_749e1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_749e1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_749e1b() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan_749e1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_749e1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_749e1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.ir.glsl
index d4bb1c9..04c59c4 100644
--- a/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/7a2a75.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_7a2a75() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan_7a2a75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_7a2a75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_7a2a75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_7a2a75() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan_7a2a75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_7a2a75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_7a2a75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_7a2a75() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan_7a2a75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_7a2a75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_7a2a75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.ir.glsl
index 72ca17c..f3eca3f 100644
--- a/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/a5f421.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan_a5f421() {
+  f16vec3 res = f16vec3(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a5f421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a5f421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a5f421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan_a5f421() {
+  f16vec3 res = f16vec3(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a5f421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a5f421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a5f421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan_a5f421() {
+  f16vec3 res = f16vec3(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a5f421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a5f421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a5f421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.ir.glsl
index 72ca17c..aa98d97 100644
--- a/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/a7ba61.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan_a7ba61() {
+  float16_t res = 0.78515625hf;
+  return res;
+}
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a7ba61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan_a7ba61() {
+  float16_t res = 0.78515625hf;
+  return res;
+}
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a7ba61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan_a7ba61() {
+  float16_t res = 0.78515625hf;
+  return res;
+}
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a7ba61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.ir.glsl
index 72ca17c..0062e30 100644
--- a/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/a8b696.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan_a8b696() {
+  vec4 res = vec4(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a8b696();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a8b696();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a8b696();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan_a8b696() {
+  vec4 res = vec4(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a8b696();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a8b696();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a8b696();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan_a8b696() {
+  vec4 res = vec4(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a8b696();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a8b696();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a8b696();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.ir.glsl
index 72ca17c..42e3398 100644
--- a/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/ad96e4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan_ad96e4() {
+  vec2 res = vec2(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_ad96e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan_ad96e4() {
+  vec2 res = vec2(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_ad96e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan_ad96e4() {
+  vec2 res = vec2(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_ad96e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.ir.glsl
index d4bb1c9..4308d79 100644
--- a/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan/d17fb2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_d17fb2() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan_d17fb2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_d17fb2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_d17fb2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_d17fb2() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan_d17fb2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_d17fb2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_d17fb2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_d17fb2() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan_d17fb2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_d17fb2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_d17fb2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.ir.glsl
index d4bb1c9..d73b9c5 100644
--- a/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/034ace.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_034ace() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan2_034ace();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_034ace();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_034ace();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_034ace() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan2_034ace();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_034ace();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_034ace();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_034ace() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan2_034ace();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_034ace();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_034ace();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.ir.glsl
index 72ca17c..09471f2 100644
--- a/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/21dfea.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan2_21dfea() {
+  f16vec3 res = f16vec3(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_21dfea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan2_21dfea() {
+  f16vec3 res = f16vec3(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_21dfea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan2_21dfea() {
+  f16vec3 res = f16vec3(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_21dfea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.ir.glsl
index d4bb1c9..1c8489b 100644
--- a/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/3c2865.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_3c2865() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan2_3c2865();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_3c2865();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_3c2865();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_3c2865() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan2_3c2865();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_3c2865();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_3c2865();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_3c2865() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan2_3c2865();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_3c2865();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_3c2865();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.ir.glsl
index 72ca17c..b75d736 100644
--- a/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/57fb13.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan2_57fb13() {
+  vec2 res = vec2(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_57fb13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan2_57fb13() {
+  vec2 res = vec2(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_57fb13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan2_57fb13() {
+  vec2 res = vec2(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_57fb13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.ir.glsl
index 72ca17c..160fe53 100644
--- a/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/93febc.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan2_93febc() {
+  f16vec2 res = f16vec2(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_93febc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_93febc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_93febc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan2_93febc() {
+  f16vec2 res = f16vec2(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_93febc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_93febc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_93febc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan2_93febc() {
+  f16vec2 res = f16vec2(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_93febc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_93febc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_93febc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.ir.glsl
index 72ca17c..b9d9377 100644
--- a/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/96057c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan2_96057c() {
+  float res = 0.78539818525314331055f;
+  return res;
+}
+void main() {
+  prevent_dce = atan2_96057c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_96057c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_96057c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan2_96057c() {
+  float res = 0.78539818525314331055f;
+  return res;
+}
+void main() {
+  prevent_dce = atan2_96057c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_96057c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_96057c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan2_96057c() {
+  float res = 0.78539818525314331055f;
+  return res;
+}
+void main() {
+  prevent_dce = atan2_96057c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_96057c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_96057c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.ir.glsl
index 72ca17c..c33e7bd 100644
--- a/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/a70d0d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan2_a70d0d() {
+  vec3 res = vec3(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_a70d0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan2_a70d0d() {
+  vec3 res = vec3(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_a70d0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan2_a70d0d() {
+  vec3 res = vec3(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_a70d0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.ir.glsl
index 72ca17c..7c1d53d 100644
--- a/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/ae713e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan2_ae713e() {
+  vec4 res = vec4(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ae713e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan2_ae713e() {
+  vec4 res = vec4(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ae713e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan2_ae713e() {
+  vec4 res = vec4(0.78539818525314331055f);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ae713e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.ir.glsl
index d4bb1c9..e341891 100644
--- a/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/c19683.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c19683() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan2_c19683();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c19683();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c19683();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c19683() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan2_c19683();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c19683();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c19683();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c19683() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan2_c19683();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c19683();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c19683();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.ir.glsl
index d4bb1c9..e8f9d40 100644
--- a/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/c4be45.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c4be45() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan2_c4be45();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c4be45();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c4be45();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c4be45() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan2_c4be45();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c4be45();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c4be45();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c4be45() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan2_c4be45();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c4be45();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c4be45();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.ir.glsl
index 72ca17c..caae10a 100644
--- a/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/ca698e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan2_ca698e() {
+  float16_t res = 0.78515625hf;
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ca698e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan2_ca698e() {
+  float16_t res = 0.78515625hf;
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ca698e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan2_ca698e() {
+  float16_t res = 0.78515625hf;
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ca698e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.ir.glsl
index 72ca17c..bde56bf 100644
--- a/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atan2/d983ab.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan2_d983ab() {
+  f16vec4 res = f16vec4(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_d983ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan2_d983ab() {
+  f16vec4 res = f16vec4(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_d983ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan2_d983ab() {
+  f16vec4 res = f16vec4(0.78515625hf);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_d983ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.ir.glsl
index 72ca17c..7c9ac4b 100644
--- a/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/440cca.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atanh_440cca() {
+  vec3 res = vec3(0.54930615425109863281f);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_440cca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_440cca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_440cca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atanh_440cca() {
+  vec3 res = vec3(0.54930615425109863281f);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_440cca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_440cca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_440cca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atanh_440cca() {
+  vec3 res = vec3(0.54930615425109863281f);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_440cca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_440cca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_440cca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.ir.glsl
index 72ca17c..e627eed 100644
--- a/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/5bf88d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atanh_5bf88d() {
+  f16vec2 res = f16vec2(0.548828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_5bf88d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atanh_5bf88d() {
+  f16vec2 res = f16vec2(0.548828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_5bf88d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atanh_5bf88d() {
+  f16vec2 res = f16vec2(0.548828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_5bf88d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.ir.glsl
index d4bb1c9..74280c6 100644
--- a/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/70d5bd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_70d5bd() {
+  vec2 res = vec2(0.54930615425109863281f);
+}
+void main() {
+  atanh_70d5bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_70d5bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_70d5bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_70d5bd() {
+  vec2 res = vec2(0.54930615425109863281f);
+}
+void main() {
+  atanh_70d5bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_70d5bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_70d5bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_70d5bd() {
+  vec2 res = vec2(0.54930615425109863281f);
+}
+void main() {
+  atanh_70d5bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_70d5bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_70d5bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.ir.glsl
index 72ca17c..e8c9bc4 100644
--- a/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/7997d8.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atanh_7997d8() {
+  float res = 0.54930615425109863281f;
+  return res;
+}
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_7997d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atanh_7997d8() {
+  float res = 0.54930615425109863281f;
+  return res;
+}
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_7997d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atanh_7997d8() {
+  float res = 0.54930615425109863281f;
+  return res;
+}
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_7997d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.ir.glsl
index d4bb1c9..91a66c9 100644
--- a/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/7f2874.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_7f2874() {
+  vec3 res = vec3(0.54930615425109863281f);
+}
+void main() {
+  atanh_7f2874();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_7f2874();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_7f2874();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_7f2874() {
+  vec3 res = vec3(0.54930615425109863281f);
+}
+void main() {
+  atanh_7f2874();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_7f2874();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_7f2874();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_7f2874() {
+  vec3 res = vec3(0.54930615425109863281f);
+}
+void main() {
+  atanh_7f2874();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_7f2874();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_7f2874();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.ir.glsl
index 72ca17c..bc4bb60 100644
--- a/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/c0e634.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atanh_c0e634() {
+  vec2 res = vec2(0.54930615425109863281f);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_c0e634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atanh_c0e634() {
+  vec2 res = vec2(0.54930615425109863281f);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_c0e634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atanh_c0e634() {
+  vec2 res = vec2(0.54930615425109863281f);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_c0e634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.ir.glsl
index d4bb1c9..50143f0 100644
--- a/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/c5dc32.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_c5dc32() {
+  float res = 0.54930615425109863281f;
+}
+void main() {
+  atanh_c5dc32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_c5dc32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_c5dc32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_c5dc32() {
+  float res = 0.54930615425109863281f;
+}
+void main() {
+  atanh_c5dc32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_c5dc32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_c5dc32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_c5dc32() {
+  float res = 0.54930615425109863281f;
+}
+void main() {
+  atanh_c5dc32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_c5dc32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_c5dc32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.ir.glsl
index 72ca17c..e6c3566 100644
--- a/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/d2d8cd.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atanh_d2d8cd() {
+  float16_t res = 0.548828125hf;
+  return res;
+}
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_d2d8cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atanh_d2d8cd() {
+  float16_t res = 0.548828125hf;
+  return res;
+}
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_d2d8cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atanh_d2d8cd() {
+  float16_t res = 0.548828125hf;
+  return res;
+}
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_d2d8cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.ir.glsl
index 72ca17c..67783c3 100644
--- a/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/e3b450.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atanh_e3b450() {
+  f16vec4 res = f16vec4(0.548828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_e3b450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atanh_e3b450() {
+  f16vec4 res = f16vec4(0.548828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_e3b450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atanh_e3b450() {
+  f16vec4 res = f16vec4(0.548828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_e3b450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.ir.glsl
index d4bb1c9..1e223c9 100644
--- a/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/e431bb.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_e431bb() {
+  vec4 res = vec4(0.54930615425109863281f);
+}
+void main() {
+  atanh_e431bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_e431bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_e431bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_e431bb() {
+  vec4 res = vec4(0.54930615425109863281f);
+}
+void main() {
+  atanh_e431bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_e431bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_e431bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_e431bb() {
+  vec4 res = vec4(0.54930615425109863281f);
+}
+void main() {
+  atanh_e431bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_e431bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_e431bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.ir.glsl
index 72ca17c..e4c710b 100644
--- a/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/ec4b06.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atanh_ec4b06() {
+  f16vec3 res = f16vec3(0.548828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_ec4b06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atanh_ec4b06() {
+  f16vec3 res = f16vec3(0.548828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_ec4b06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atanh_ec4b06() {
+  f16vec3 res = f16vec3(0.548828125hf);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_ec4b06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.ir.glsl
index 72ca17c..68437a8 100644
--- a/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atanh/f3e01b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atanh_f3e01b() {
+  vec4 res = vec4(0.54930615425109863281f);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_f3e01b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atanh_f3e01b() {
+  vec4 res = vec4(0.54930615425109863281f);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_f3e01b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atanh_f3e01b() {
+  vec4 res = vec4(0.54930615425109863281f);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_f3e01b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAdd/794055.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicAdd/8a199a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAdd/8a199a.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicAdd/8a199a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAdd/8a199a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAdd/d32fe4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicAdd/d5db1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAdd/d5db1d.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicAdd/d5db1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAdd/d5db1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAnd/152966.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicAnd/34edd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAnd/34edd3.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicAnd/34edd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAnd/34edd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAnd/45a819.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicAnd/85a8d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicAnd/85a8d9.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicAnd/85a8d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicAnd/85a8d9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/1bd40a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/63d8e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/63d8e6.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/63d8e6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/63d8e6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/83580d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/83580d.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/83580d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/83580d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicCompareExchangeWeak/e88938.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicExchange/0a5dca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicExchange/0a5dca.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicExchange/0a5dca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicExchange/0a5dca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicExchange/d59712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicExchange/d59712.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicExchange/d59712.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicExchange/d59712.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicExchange/e114ba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicExchange/f2e22f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicLoad/0806ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicLoad/0806ad.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicLoad/0806ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicLoad/0806ad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicLoad/361bf1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicLoad/361bf1.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicLoad/361bf1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicLoad/361bf1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicLoad/afcc03.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicLoad/afcc03.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicLoad/afcc03.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicLoad/afcc03.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicLoad/fe6cc3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicLoad/fe6cc3.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicLoad/fe6cc3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicLoad/fe6cc3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicMax/51b9be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMax/51b9be.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicMax/51b9be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMax/51b9be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMax/92aa72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMax/a89cc3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicMax/beccfc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMax/beccfc.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicMax/beccfc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMax/beccfc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMin/278235.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicMin/69d383.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMin/69d383.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicMin/69d383.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMin/69d383.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMin/8e38dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicMin/c67a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicMin/c67a74.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicMin/c67a74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicMin/c67a74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicOr/5e3d61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicOr/5e3d61.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicOr/5e3d61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicOr/5e3d61.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicOr/5e95d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicOr/5e95d4.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicOr/5e95d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicOr/5e95d4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicOr/8d96a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicOr/d09248.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicStore/726882.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicStore/726882.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicStore/726882.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicStore/726882.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicStore/8bea94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicStore/cdc29e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicStore/cdc29e.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicStore/cdc29e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicStore/cdc29e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicStore/d1e9a6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicSub/051100.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicSub/051100.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicSub/051100.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicSub/051100.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicSub/0d26c2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicSub/0d26c2.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicSub/0d26c2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicSub/0d26c2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicSub/15bfc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicSub/15bfc9.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicSub/15bfc9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicSub/15bfc9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicSub/77883a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicXor/54510e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicXor/54510e.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicXor/54510e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicXor/54510e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicXor/75dc95.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicXor/c1b78c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/atomicXor/c8e6be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/atomicXor/c8e6be.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/literal/atomicXor/c8e6be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/atomicXor/c8e6be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/bitcast/0fe0c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/0fe0c9.wgsl.expected.ir.glsl
index 72ca17c..1db86fc 100644
--- a/test/tint/builtins/gen/literal/bitcast/0fe0c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/0fe0c9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 bitcast_0fe0c9() {
+  vec3 res = vec3(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_0fe0c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_0fe0c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_0fe0c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 bitcast_0fe0c9() {
+  vec3 res = vec3(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_0fe0c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_0fe0c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_0fe0c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 bitcast_0fe0c9() {
+  vec3 res = vec3(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_0fe0c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_0fe0c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_0fe0c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/160c09.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/160c09.wgsl.expected.ir.glsl
index 72ca17c..4643a17 100644
--- a/test/tint/builtins/gen/literal/bitcast/160c09.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/160c09.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_160c09() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_160c09();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_160c09() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_160c09();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_160c09() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_160c09();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/16cba4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/16cba4.wgsl.expected.ir.glsl
index 72ca17c..ecca92b 100644
--- a/test/tint/builtins/gen/literal/bitcast/16cba4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/16cba4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_16cba4() {
+  int res = 1065353216;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_16cba4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_16cba4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_16cba4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_16cba4() {
+  int res = 1065353216;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_16cba4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_16cba4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_16cba4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_16cba4() {
+  int res = 1065353216;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_16cba4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_16cba4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_16cba4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/1c3b31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/1c3b31.wgsl.expected.ir.glsl
index 72ca17c..0bff942 100644
--- a/test/tint/builtins/gen/literal/bitcast/1c3b31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/1c3b31.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_1c3b31() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_1c3b31();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_1c3b31();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_1c3b31();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_1c3b31() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_1c3b31();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_1c3b31();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_1c3b31();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_1c3b31() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_1c3b31();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_1c3b31();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_1c3b31();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/1df11f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/1df11f.wgsl.expected.ir.glsl
index 72ca17c..7658872 100644
--- a/test/tint/builtins/gen/literal/bitcast/1df11f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/1df11f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_1df11f() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_1df11f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_1df11f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_1df11f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_1df11f() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_1df11f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_1df11f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_1df11f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_1df11f() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_1df11f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_1df11f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_1df11f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/214f23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/214f23.wgsl.expected.ir.glsl
index 72ca17c..7d11d11 100644
--- a/test/tint/builtins/gen/literal/bitcast/214f23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/214f23.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_214f23() {
+  ivec2 res = ivec2(1006648320);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_214f23();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_214f23();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_214f23();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_214f23() {
+  ivec2 res = ivec2(1006648320);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_214f23();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_214f23();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_214f23();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_214f23() {
+  ivec2 res = ivec2(1006648320);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_214f23();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_214f23();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_214f23();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/23c8bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/23c8bd.wgsl.expected.ir.glsl
index 72ca17c..6e8c272 100644
--- a/test/tint/builtins/gen/literal/bitcast/23c8bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/23c8bd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_23c8bd() {
+  float res = 0.00782680511474609375f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_23c8bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_23c8bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_23c8bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_23c8bd() {
+  float res = 0.00782680511474609375f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_23c8bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_23c8bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_23c8bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_23c8bd() {
+  float res = 0.00782680511474609375f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_23c8bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_23c8bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_23c8bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/2421c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/2421c8.wgsl.expected.ir.glsl
index 72ca17c..d33410c 100644
--- a/test/tint/builtins/gen/literal/bitcast/2421c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/2421c8.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_2421c8() {
+  vec2 res = vec2(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2421c8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2421c8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2421c8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_2421c8() {
+  vec2 res = vec2(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2421c8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2421c8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2421c8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_2421c8() {
+  vec2 res = vec2(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2421c8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2421c8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2421c8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/287bdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/287bdf.wgsl.expected.ir.glsl
index 72ca17c..4ab8b54 100644
--- a/test/tint/builtins/gen/literal/bitcast/287bdf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/287bdf.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_287bdf() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_287bdf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_287bdf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_287bdf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_287bdf() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_287bdf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_287bdf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_287bdf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_287bdf() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_287bdf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_287bdf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_287bdf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/2a6e58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/2a6e58.wgsl.expected.ir.glsl
index 72ca17c..73147b9 100644
--- a/test/tint/builtins/gen/literal/bitcast/2a6e58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/2a6e58.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_2a6e58() {
+  vec2 res = vec2(0.00782680511474609375f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2a6e58();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2a6e58();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2a6e58();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_2a6e58() {
+  vec2 res = vec2(0.00782680511474609375f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2a6e58();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2a6e58();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2a6e58();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_2a6e58() {
+  vec2 res = vec2(0.00782680511474609375f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2a6e58();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2a6e58();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2a6e58();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/2b05b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/2b05b3.wgsl.expected.ir.glsl
index 72ca17c..0399682 100644
--- a/test/tint/builtins/gen/literal/bitcast/2b05b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/2b05b3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 bitcast_2b05b3() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2b05b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2b05b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2b05b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 bitcast_2b05b3() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2b05b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2b05b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2b05b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 bitcast_2b05b3() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2b05b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2b05b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2b05b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/2b2738.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/2b2738.wgsl.expected.ir.glsl
index 72ca17c..2285742 100644
--- a/test/tint/builtins/gen/literal/bitcast/2b2738.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/2b2738.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_2b2738() {
+  uvec2 res = uvec2(1065353216u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2b2738();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2b2738();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2b2738();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_2b2738() {
+  uvec2 res = uvec2(1065353216u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2b2738();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2b2738();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2b2738();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_2b2738() {
+  uvec2 res = uvec2(1065353216u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_2b2738();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_2b2738();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_2b2738();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/31c080.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/31c080.wgsl.expected.ir.glsl
index 72ca17c..ef5ffb7 100644
--- a/test/tint/builtins/gen/literal/bitcast/31c080.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/31c080.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_31c080() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_31c080();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_31c080();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_31c080();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_31c080() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_31c080();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_31c080();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_31c080();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_31c080() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_31c080();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_31c080();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_31c080();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/332f78.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/332f78.wgsl.expected.ir.glsl
index 72ca17c..9c3c82b 100644
--- a/test/tint/builtins/gen/literal/bitcast/332f78.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/332f78.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 bitcast_332f78() {
+  vec3 res = vec3(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_332f78();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_332f78();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_332f78();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 bitcast_332f78() {
+  vec3 res = vec3(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_332f78();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_332f78();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_332f78();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 bitcast_332f78() {
+  vec3 res = vec3(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_332f78();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_332f78();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_332f78();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/3e7b47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/3e7b47.wgsl.expected.ir.glsl
index 72ca17c..e92fd9a 100644
--- a/test/tint/builtins/gen/literal/bitcast/3e7b47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/3e7b47.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_3e7b47() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_3e7b47();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_3e7b47();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_3e7b47();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_3e7b47() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_3e7b47();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_3e7b47();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_3e7b47();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_3e7b47() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_3e7b47();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_3e7b47();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_3e7b47();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/3f7437.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/3f7437.wgsl.expected.ir.glsl
index 72ca17c..5ec7cf6 100644
--- a/test/tint/builtins/gen/literal/bitcast/3f7437.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/3f7437.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 bitcast_3f7437() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_3f7437();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_3f7437();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_3f7437();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 bitcast_3f7437() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_3f7437();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_3f7437();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_3f7437();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 bitcast_3f7437() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_3f7437();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_3f7437();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_3f7437();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/3fdacd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/3fdacd.wgsl.expected.ir.glsl
index 72ca17c..424155d 100644
--- a/test/tint/builtins/gen/literal/bitcast/3fdacd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/3fdacd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 bitcast_3fdacd() {
+  vec4 res = vec4(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_3fdacd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_3fdacd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_3fdacd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 bitcast_3fdacd() {
+  vec4 res = vec4(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_3fdacd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_3fdacd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_3fdacd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 bitcast_3fdacd() {
+  vec4 res = vec4(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_3fdacd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_3fdacd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_3fdacd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/429d64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/429d64.wgsl.expected.ir.glsl
index 72ca17c..2e2e533 100644
--- a/test/tint/builtins/gen/literal/bitcast/429d64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/429d64.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_429d64() {
+  f16vec4 res = f16vec4(0.0hf, 1.875hf, 0.0hf, 1.875hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_429d64();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_429d64();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_429d64();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_429d64() {
+  f16vec4 res = f16vec4(0.0hf, 1.875hf, 0.0hf, 1.875hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_429d64();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_429d64();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_429d64();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_429d64() {
+  f16vec4 res = f16vec4(0.0hf, 1.875hf, 0.0hf, 1.875hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_429d64();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_429d64();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_429d64();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/436211.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/436211.wgsl.expected.ir.glsl
index 72ca17c..7ebe1bf 100644
--- a/test/tint/builtins/gen/literal/bitcast/436211.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/436211.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t bitcast_436211() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_436211();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_436211();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_436211();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t bitcast_436211() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_436211();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_436211();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_436211();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t bitcast_436211() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_436211();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_436211();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_436211();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/5081ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/5081ed.wgsl.expected.ir.glsl
index 72ca17c..426ec6a 100644
--- a/test/tint/builtins/gen/literal/bitcast/5081ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/5081ed.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 bitcast_5081ed() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_5081ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_5081ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_5081ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 bitcast_5081ed() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_5081ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_5081ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_5081ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 bitcast_5081ed() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_5081ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_5081ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_5081ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/56266e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/56266e.wgsl.expected.ir.glsl
index 72ca17c..9ea1128 100644
--- a/test/tint/builtins/gen/literal/bitcast/56266e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/56266e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_56266e() {
+  uvec3 res = uvec3(1065353216u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_56266e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_56266e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_56266e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_56266e() {
+  uvec3 res = uvec3(1065353216u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_56266e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_56266e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_56266e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_56266e() {
+  uvec3 res = uvec3(1065353216u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_56266e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_56266e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_56266e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/66e93d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/66e93d.wgsl.expected.ir.glsl
index 72ca17c..20e475d 100644
--- a/test/tint/builtins/gen/literal/bitcast/66e93d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/66e93d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_66e93d() {
+  f16vec2 res = f16vec2(0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_66e93d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_66e93d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_66e93d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_66e93d() {
+  f16vec2 res = f16vec2(0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_66e93d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_66e93d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_66e93d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_66e93d() {
+  f16vec2 res = f16vec2(0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_66e93d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_66e93d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_66e93d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/674557.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/674557.wgsl.expected.ir.glsl
index 72ca17c..636f805 100644
--- a/test/tint/builtins/gen/literal/bitcast/674557.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/674557.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_674557() {
+  f16vec2 res = f16vec2(0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_674557();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_674557();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_674557();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_674557() {
+  f16vec2 res = f16vec2(0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_674557();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_674557();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_674557();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_674557() {
+  f16vec2 res = f16vec2(0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_674557();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_674557();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_674557();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/6ac6f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/6ac6f9.wgsl.expected.ir.glsl
index 72ca17c..760c171 100644
--- a/test/tint/builtins/gen/literal/bitcast/6ac6f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/6ac6f9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_6ac6f9() {
+  int res = 1006648320;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_6ac6f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_6ac6f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_6ac6f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_6ac6f9() {
+  int res = 1006648320;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_6ac6f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_6ac6f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_6ac6f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_6ac6f9() {
+  int res = 1006648320;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_6ac6f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_6ac6f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_6ac6f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/6de2bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/6de2bd.wgsl.expected.ir.glsl
index 72ca17c..1ecb123 100644
--- a/test/tint/builtins/gen/literal/bitcast/6de2bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/6de2bd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 bitcast_6de2bd() {
+  ivec4 res = ivec4(1065353216);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_6de2bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_6de2bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_6de2bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 bitcast_6de2bd() {
+  ivec4 res = ivec4(1065353216);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_6de2bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_6de2bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_6de2bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 bitcast_6de2bd() {
+  ivec4 res = ivec4(1065353216);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_6de2bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_6de2bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_6de2bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/70b121.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/70b121.wgsl.expected.ir.glsl
index 72ca17c..8f7979c 100644
--- a/test/tint/builtins/gen/literal/bitcast/70b121.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/70b121.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_70b121() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_70b121();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_70b121() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_70b121();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_70b121() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_70b121();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/71c92a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/71c92a.wgsl.expected.ir.glsl
index 72ca17c..bed5873 100644
--- a/test/tint/builtins/gen/literal/bitcast/71c92a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/71c92a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_71c92a() {
+  f16vec4 res = f16vec4(0.00000005960464477539hf, 0.0hf, 0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_71c92a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_71c92a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_71c92a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_71c92a() {
+  f16vec4 res = f16vec4(0.00000005960464477539hf, 0.0hf, 0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_71c92a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_71c92a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_71c92a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_71c92a() {
+  f16vec4 res = f16vec4(0.00000005960464477539hf, 0.0hf, 0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_71c92a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_71c92a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_71c92a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/745b27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/745b27.wgsl.expected.ir.glsl
index 72ca17c..a204d87 100644
--- a/test/tint/builtins/gen/literal/bitcast/745b27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/745b27.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 bitcast_745b27() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_745b27();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_745b27();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_745b27();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 bitcast_745b27() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_745b27();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_745b27();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_745b27();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 bitcast_745b27() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_745b27();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_745b27();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_745b27();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/7e67cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/7e67cc.wgsl.expected.ir.glsl
index 72ca17c..5a6aa61 100644
--- a/test/tint/builtins/gen/literal/bitcast/7e67cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/7e67cc.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_7e67cc() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_7e67cc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_7e67cc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_7e67cc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_7e67cc() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_7e67cc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_7e67cc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_7e67cc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_7e67cc() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_7e67cc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_7e67cc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_7e67cc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/7ffa9c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/7ffa9c.wgsl.expected.ir.glsl
index 72ca17c..d403ed2 100644
--- a/test/tint/builtins/gen/literal/bitcast/7ffa9c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/7ffa9c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_7ffa9c() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_7ffa9c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_7ffa9c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_7ffa9c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_7ffa9c() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_7ffa9c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_7ffa9c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_7ffa9c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_7ffa9c() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_7ffa9c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_7ffa9c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_7ffa9c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/81c5f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/81c5f5.wgsl.expected.ir.glsl
index 72ca17c..852cd81 100644
--- a/test/tint/builtins/gen/literal/bitcast/81c5f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/81c5f5.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_81c5f5() {
+  uvec2 res = uvec2(1006648320u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_81c5f5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_81c5f5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_81c5f5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_81c5f5() {
+  uvec2 res = uvec2(1006648320u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_81c5f5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_81c5f5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_81c5f5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_81c5f5() {
+  uvec2 res = uvec2(1006648320u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_81c5f5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_81c5f5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_81c5f5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/8318a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/8318a8.wgsl.expected.ir.glsl
index 72ca17c..2ca5887 100644
--- a/test/tint/builtins/gen/literal/bitcast/8318a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/8318a8.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_8318a8() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_8318a8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_8318a8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_8318a8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_8318a8() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_8318a8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_8318a8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_8318a8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_8318a8() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_8318a8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_8318a8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_8318a8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/879dc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/879dc9.wgsl.expected.ir.glsl
index 72ca17c..737a284 100644
--- a/test/tint/builtins/gen/literal/bitcast/879dc9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/879dc9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_879dc9() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_879dc9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_879dc9() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_879dc9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_879dc9() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_879dc9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/899e50.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/899e50.wgsl.expected.ir.glsl
index 72ca17c..f8762a6 100644
--- a/test/tint/builtins/gen/literal/bitcast/899e50.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/899e50.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_899e50() {
+  ivec2 res = ivec2(1065353216);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_899e50();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_899e50();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_899e50();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_899e50() {
+  ivec2 res = ivec2(1065353216);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_899e50();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_899e50();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_899e50();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_899e50() {
+  ivec2 res = ivec2(1065353216);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_899e50();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_899e50();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_899e50();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/8d184c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/8d184c.wgsl.expected.ir.glsl
index 72ca17c..04ecf29 100644
--- a/test/tint/builtins/gen/literal/bitcast/8d184c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/8d184c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_8d184c() {
+  uvec4 res = uvec4(1065353216u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_8d184c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_8d184c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_8d184c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_8d184c() {
+  uvec4 res = uvec4(1065353216u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_8d184c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_8d184c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_8d184c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_8d184c() {
+  uvec4 res = uvec4(1065353216u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_8d184c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_8d184c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_8d184c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/9bcf71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/9bcf71.wgsl.expected.ir.glsl
index 72ca17c..e15b0b8 100644
--- a/test/tint/builtins/gen/literal/bitcast/9bcf71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/9bcf71.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_9bcf71() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_9bcf71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_9bcf71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_9bcf71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_9bcf71() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_9bcf71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_9bcf71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_9bcf71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_9bcf71() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_9bcf71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_9bcf71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_9bcf71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/9ca42c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/9ca42c.wgsl.expected.ir.glsl
index 72ca17c..66ec7e6 100644
--- a/test/tint/builtins/gen/literal/bitcast/9ca42c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/9ca42c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_9ca42c() {
+  f16vec2 res = f16vec2(0.0hf, 1.875hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_9ca42c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_9ca42c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_9ca42c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_9ca42c() {
+  f16vec2 res = f16vec2(0.0hf, 1.875hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_9ca42c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_9ca42c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_9ca42c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 bitcast_9ca42c() {
+  f16vec2 res = f16vec2(0.0hf, 1.875hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_9ca42c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_9ca42c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_9ca42c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/9eee21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/9eee21.wgsl.expected.ir.glsl
index 72ca17c..bf61e97 100644
--- a/test/tint/builtins/gen/literal/bitcast/9eee21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/9eee21.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 bitcast_9eee21() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_9eee21();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_9eee21();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_9eee21();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 bitcast_9eee21() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_9eee21();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_9eee21();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_9eee21();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 bitcast_9eee21() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_9eee21();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_9eee21();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_9eee21();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/a4b290.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a4b290.wgsl.expected.ir.glsl
index 72ca17c..26b4f4f 100644
--- a/test/tint/builtins/gen/literal/bitcast/a4b290.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/a4b290.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 bitcast_a4b290() {
+  vec4 res = vec4(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a4b290();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a4b290();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a4b290();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 bitcast_a4b290() {
+  vec4 res = vec4(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a4b290();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a4b290();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a4b290();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 bitcast_a4b290() {
+  vec4 res = vec4(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a4b290();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a4b290();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a4b290();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/a58b50.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a58b50.wgsl.expected.ir.glsl
index 72ca17c..c9eaba0 100644
--- a/test/tint/builtins/gen/literal/bitcast/a58b50.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/a58b50.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_a58b50() {
+  uint res = 1006648320u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a58b50();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a58b50();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a58b50();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_a58b50() {
+  uint res = 1006648320u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a58b50();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a58b50();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a58b50();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_a58b50() {
+  uint res = 1006648320u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a58b50();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a58b50();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a58b50();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/a5c539.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a5c539.wgsl.expected.ir.glsl
index 72ca17c..d3a92cd 100644
--- a/test/tint/builtins/gen/literal/bitcast/a5c539.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/a5c539.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 bitcast_a5c539() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a5c539();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a5c539();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a5c539();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 bitcast_a5c539() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a5c539();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a5c539();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a5c539();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 bitcast_a5c539() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a5c539();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a5c539();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a5c539();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/a8c93f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a8c93f.wgsl.expected.ir.glsl
index 72ca17c..3430134 100644
--- a/test/tint/builtins/gen/literal/bitcast/a8c93f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/a8c93f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_a8c93f() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a8c93f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a8c93f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a8c93f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_a8c93f() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a8c93f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a8c93f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a8c93f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_a8c93f() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a8c93f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a8c93f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a8c93f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/a8ea1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/a8ea1b.wgsl.expected.ir.glsl
index 72ca17c..803b733 100644
--- a/test/tint/builtins/gen/literal/bitcast/a8ea1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/a8ea1b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 bitcast_a8ea1b() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a8ea1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a8ea1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a8ea1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 bitcast_a8ea1b() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a8ea1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a8ea1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a8ea1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 bitcast_a8ea1b() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_a8ea1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_a8ea1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_a8ea1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/ac09d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/ac09d0.wgsl.expected.ir.glsl
index 72ca17c..ea24cd7 100644
--- a/test/tint/builtins/gen/literal/bitcast/ac09d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/ac09d0.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_ac09d0() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_ac09d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_ac09d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_ac09d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_ac09d0() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_ac09d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_ac09d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_ac09d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_ac09d0() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_ac09d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_ac09d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_ac09d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/ad4b05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/ad4b05.wgsl.expected.ir.glsl
index 72ca17c..1029f34 100644
--- a/test/tint/builtins/gen/literal/bitcast/ad4b05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/ad4b05.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_ad4b05() {
+  float res = 1.40129846e-45f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_ad4b05();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_ad4b05();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_ad4b05();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_ad4b05() {
+  float res = 1.40129846e-45f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_ad4b05();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_ad4b05();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_ad4b05();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_ad4b05() {
+  float res = 1.40129846e-45f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_ad4b05();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_ad4b05();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_ad4b05();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/b28cbd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/b28cbd.wgsl.expected.ir.glsl
index 72ca17c..9b5fa34 100644
--- a/test/tint/builtins/gen/literal/bitcast/b28cbd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/b28cbd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 bitcast_b28cbd() {
+  ivec3 res = ivec3(1065353216);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_b28cbd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_b28cbd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_b28cbd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 bitcast_b28cbd() {
+  ivec3 res = ivec3(1065353216);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_b28cbd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_b28cbd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_b28cbd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 bitcast_b28cbd() {
+  ivec3 res = ivec3(1065353216);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_b28cbd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_b28cbd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_b28cbd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/b77573.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/b77573.wgsl.expected.ir.glsl
index 72ca17c..e9332fa 100644
--- a/test/tint/builtins/gen/literal/bitcast/b77573.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/b77573.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_b77573() {
+  vec2 res = vec2(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_b77573();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_b77573();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_b77573();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_b77573() {
+  vec2 res = vec2(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_b77573();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_b77573();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_b77573();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 bitcast_b77573() {
+  vec2 res = vec2(1.40129846e-45f);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_b77573();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_b77573();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_b77573();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/bc3994.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/bc3994.wgsl.expected.ir.glsl
index 72ca17c..c7ed5a2 100644
--- a/test/tint/builtins/gen/literal/bitcast/bc3994.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/bc3994.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_bc3994() {
+  f16vec4 res = f16vec4(0.00000005960464477539hf, 0.0hf, 0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_bc3994();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_bc3994();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_bc3994();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_bc3994() {
+  f16vec4 res = f16vec4(0.00000005960464477539hf, 0.0hf, 0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_bc3994();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_bc3994();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_bc3994();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 bitcast_bc3994() {
+  f16vec4 res = f16vec4(0.00000005960464477539hf, 0.0hf, 0.00000005960464477539hf, 0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_bc3994();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_bc3994();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_bc3994();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/c69aaf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/c69aaf.wgsl.expected.ir.glsl
index 72ca17c..fda7b45 100644
--- a/test/tint/builtins/gen/literal/bitcast/c69aaf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/c69aaf.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_c69aaf() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_c69aaf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_c69aaf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_c69aaf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_c69aaf() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_c69aaf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_c69aaf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_c69aaf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_c69aaf() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_c69aaf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_c69aaf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_c69aaf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/ca5c3f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/ca5c3f.wgsl.expected.ir.glsl
index 72ca17c..c8acfb1 100644
--- a/test/tint/builtins/gen/literal/bitcast/ca5c3f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/ca5c3f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_ca5c3f() {
+  float res = 1.40129846e-45f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_ca5c3f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_ca5c3f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_ca5c3f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_ca5c3f() {
+  float res = 1.40129846e-45f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_ca5c3f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_ca5c3f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_ca5c3f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float bitcast_ca5c3f() {
+  float res = 1.40129846e-45f;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_ca5c3f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_ca5c3f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_ca5c3f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/cc7aa7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/cc7aa7.wgsl.expected.ir.glsl
index 72ca17c..5ea86b0 100644
--- a/test/tint/builtins/gen/literal/bitcast/cc7aa7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/cc7aa7.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_cc7aa7() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_cc7aa7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_cc7aa7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_cc7aa7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_cc7aa7() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_cc7aa7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_cc7aa7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_cc7aa7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 bitcast_cc7aa7() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_cc7aa7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_cc7aa7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_cc7aa7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/d29765.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/d29765.wgsl.expected.ir.glsl
index 72ca17c..4246554 100644
--- a/test/tint/builtins/gen/literal/bitcast/d29765.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/d29765.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_d29765() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_d29765();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_d29765();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_d29765();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_d29765() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_d29765();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_d29765();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_d29765();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_d29765() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_d29765();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_d29765();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_d29765();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/dce842.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/dce842.wgsl.expected.ir.glsl
index 72ca17c..cc0b25b 100644
--- a/test/tint/builtins/gen/literal/bitcast/dce842.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/dce842.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_dce842() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_dce842();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_dce842();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_dce842();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_dce842() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_dce842();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_dce842();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_dce842();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_dce842() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_dce842();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_dce842();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_dce842();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/e61c57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/e61c57.wgsl.expected.ir.glsl
index 72ca17c..efa2af8 100644
--- a/test/tint/builtins/gen/literal/bitcast/e61c57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/e61c57.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_e61c57() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_e61c57();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_e61c57();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_e61c57();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_e61c57() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_e61c57();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_e61c57();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_e61c57();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int bitcast_e61c57() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_e61c57();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_e61c57();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_e61c57();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/e6c18f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/e6c18f.wgsl.expected.ir.glsl
index 72ca17c..973822a 100644
--- a/test/tint/builtins/gen/literal/bitcast/e6c18f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/e6c18f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_e6c18f() {
+  uint res = 1065353216u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_e6c18f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_e6c18f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_e6c18f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_e6c18f() {
+  uint res = 1065353216u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_e6c18f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_e6c18f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_e6c18f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_e6c18f() {
+  uint res = 1065353216u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_e6c18f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_e6c18f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_e6c18f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/bitcast/f756cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/bitcast/f756cd.wgsl.expected.ir.glsl
index 72ca17c..a00140c 100644
--- a/test/tint/builtins/gen/literal/bitcast/f756cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/bitcast/f756cd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_f756cd() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_f756cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_f756cd() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_f756cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_f756cd() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_f756cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.ir.glsl
index 72ca17c..74296f9 100644
--- a/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/09bf52.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ceil_09bf52() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_09bf52();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ceil_09bf52() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_09bf52();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ceil_09bf52() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_09bf52();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.ir.glsl
index d4bb1c9..8c8bbfb 100644
--- a/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/11b1dc.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_11b1dc() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ceil_11b1dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_11b1dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_11b1dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_11b1dc() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ceil_11b1dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_11b1dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_11b1dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_11b1dc() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ceil_11b1dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_11b1dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_11b1dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.ir.glsl
index 72ca17c..51ba696 100644
--- a/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/18c240.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ceil_18c240() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_18c240();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_18c240();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_18c240();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ceil_18c240() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_18c240();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_18c240();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_18c240();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ceil_18c240() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_18c240();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_18c240();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_18c240();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.ir.glsl
index d4bb1c9..0564c87 100644
--- a/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/32c946.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_32c946() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ceil_32c946();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_32c946();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_32c946();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_32c946() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ceil_32c946();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_32c946();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_32c946();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_32c946() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ceil_32c946();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_32c946();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_32c946();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.ir.glsl
index 72ca17c..3760272 100644
--- a/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/34064b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ceil_34064b() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_34064b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_34064b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_34064b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ceil_34064b() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_34064b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_34064b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_34064b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ceil_34064b() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_34064b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_34064b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_34064b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.ir.glsl
index 72ca17c..1cd2ff6 100644
--- a/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/4bca2a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ceil_4bca2a() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_4bca2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ceil_4bca2a() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_4bca2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ceil_4bca2a() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_4bca2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.ir.glsl
index 72ca17c..7e45ffa 100644
--- a/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/678655.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ceil_678655() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = ceil_678655();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_678655();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_678655();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ceil_678655() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = ceil_678655();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_678655();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_678655();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ceil_678655() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = ceil_678655();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_678655();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_678655();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.ir.glsl
index 72ca17c..019695f 100644
--- a/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/96f597.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ceil_96f597() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_96f597();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_96f597();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_96f597();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ceil_96f597() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_96f597();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_96f597();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_96f597();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ceil_96f597() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_96f597();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_96f597();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_96f597();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.ir.glsl
index 72ca17c..371b8b3 100644
--- a/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/b74c16.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ceil_b74c16() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_b74c16();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ceil_b74c16() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_b74c16();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ceil_b74c16() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_b74c16();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.ir.glsl
index d4bb1c9..eeb9c34 100644
--- a/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_bb2ca2() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ceil_bb2ca2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_bb2ca2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_bb2ca2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_bb2ca2() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ceil_bb2ca2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_bb2ca2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_bb2ca2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_bb2ca2() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ceil_bb2ca2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_bb2ca2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_bb2ca2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.ir.glsl
index d4bb1c9..bb8ea8e 100644
--- a/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/e0b70a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_e0b70a() {
+  float res = 2.0f;
+}
+void main() {
+  ceil_e0b70a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_e0b70a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_e0b70a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_e0b70a() {
+  float res = 2.0f;
+}
+void main() {
+  ceil_e0b70a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_e0b70a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_e0b70a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_e0b70a() {
+  float res = 2.0f;
+}
+void main() {
+  ceil_e0b70a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_e0b70a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_e0b70a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.ir.glsl
index 72ca17c..4237b0c 100644
--- a/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ceil/f3f889.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ceil_f3f889() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_f3f889();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ceil_f3f889() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_f3f889();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ceil_f3f889() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_f3f889();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.ir.glsl
index 72ca17c..9ddc316 100644
--- a/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/0acf8f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 clamp_0acf8f() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_0acf8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 clamp_0acf8f() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_0acf8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 clamp_0acf8f() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_0acf8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.ir.glsl
index d4bb1c9..9dd57ef 100644
--- a/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/177548.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_177548() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  clamp_177548();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_177548();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_177548();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_177548() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  clamp_177548();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_177548();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_177548();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_177548() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  clamp_177548();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_177548();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_177548();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.ir.glsl
index 72ca17c..6f49cbc 100644
--- a/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/1a32e3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 clamp_1a32e3() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_1a32e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 clamp_1a32e3() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_1a32e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 clamp_1a32e3() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_1a32e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.ir.glsl
index 72ca17c..1d60378 100644
--- a/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/235b29.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 clamp_235b29() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_235b29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_235b29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_235b29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 clamp_235b29() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_235b29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_235b29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_235b29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 clamp_235b29() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_235b29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_235b29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_235b29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.ir.glsl
index d4bb1c9..fa40ad9 100644
--- a/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/23aa4f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_23aa4f() {
+  float res = 1.0f;
+}
+void main() {
+  clamp_23aa4f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_23aa4f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_23aa4f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_23aa4f() {
+  float res = 1.0f;
+}
+void main() {
+  clamp_23aa4f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_23aa4f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_23aa4f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_23aa4f() {
+  float res = 1.0f;
+}
+void main() {
+  clamp_23aa4f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_23aa4f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_23aa4f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.ir.glsl
index 72ca17c..76107d4 100644
--- a/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/2bd567.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float clamp_2bd567() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bd567();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float clamp_2bd567() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bd567();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float clamp_2bd567() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bd567();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.ir.glsl
index 72ca17c..0504537 100644
--- a/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/2bde41.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 clamp_2bde41() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bde41();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 clamp_2bde41() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bde41();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 clamp_2bde41() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bde41();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.ir.glsl
index 72ca17c..4b3f709 100644
--- a/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/2c251b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 clamp_2c251b() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2c251b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 clamp_2c251b() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2c251b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 clamp_2c251b() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2c251b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.ir.glsl
index 72ca17c..6b35ca2 100644
--- a/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/548fc7.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 clamp_548fc7() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_548fc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 clamp_548fc7() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_548fc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 clamp_548fc7() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_548fc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.ir.glsl
index 72ca17c..0f963a5 100644
--- a/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/553ffb.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t clamp_553ffb() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_553ffb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t clamp_553ffb() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_553ffb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t clamp_553ffb() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_553ffb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.ir.glsl
index d4bb1c9..6261458 100644
--- a/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/5cf700.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_5cf700() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  clamp_5cf700();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_5cf700();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_5cf700();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_5cf700() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  clamp_5cf700();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_5cf700();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_5cf700();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_5cf700() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  clamp_5cf700();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_5cf700();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_5cf700();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.ir.glsl
index 72ca17c..ee75004 100644
--- a/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/5f0819.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 clamp_5f0819() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_5f0819();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 clamp_5f0819() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_5f0819();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 clamp_5f0819() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_5f0819();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.ir.glsl
index 72ca17c..213b5d7 100644
--- a/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/6c1749.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 clamp_6c1749() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_6c1749();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 clamp_6c1749() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_6c1749();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 clamp_6c1749() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_6c1749();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.ir.glsl
index 72ca17c..160dee9 100644
--- a/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/7706d7.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 clamp_7706d7() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_7706d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 clamp_7706d7() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_7706d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 clamp_7706d7() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_7706d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.ir.glsl
index 72ca17c..3130046 100644
--- a/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/867397.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 clamp_867397() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_867397();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_867397();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_867397();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 clamp_867397() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_867397();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_867397();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_867397();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 clamp_867397() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_867397();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_867397();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_867397();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.ir.glsl
index d4bb1c9..c4f5f9d 100644
--- a/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/87df46.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_87df46() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  clamp_87df46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_87df46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_87df46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_87df46() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  clamp_87df46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_87df46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_87df46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_87df46() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  clamp_87df46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_87df46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_87df46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.ir.glsl
index d4bb1c9..82e8452 100644
--- a/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/8b1eaa.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_8b1eaa() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  clamp_8b1eaa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_8b1eaa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_8b1eaa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_8b1eaa() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  clamp_8b1eaa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_8b1eaa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_8b1eaa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_8b1eaa() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  clamp_8b1eaa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_8b1eaa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_8b1eaa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.ir.glsl
index d4bb1c9..a14a9ab 100644
--- a/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/96e56a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_96e56a() {
+  int res = 1;
+}
+void main() {
+  clamp_96e56a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_96e56a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_96e56a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_96e56a() {
+  int res = 1;
+}
+void main() {
+  clamp_96e56a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_96e56a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_96e56a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_96e56a() {
+  int res = 1;
+}
+void main() {
+  clamp_96e56a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_96e56a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_96e56a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.ir.glsl
index d4bb1c9..f15e975 100644
--- a/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/9d731c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_9d731c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  clamp_9d731c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_9d731c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_9d731c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_9d731c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  clamp_9d731c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_9d731c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_9d731c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_9d731c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  clamp_9d731c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_9d731c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_9d731c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.ir.glsl
index 72ca17c..404e234 100644
--- a/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/a2de25.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint clamp_a2de25() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_a2de25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint clamp_a2de25() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_a2de25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint clamp_a2de25() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_a2de25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.ir.glsl
index 72ca17c..4eb5ea5 100644
--- a/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/b07c65.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int clamp_b07c65() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b07c65();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int clamp_b07c65() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b07c65();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int clamp_b07c65() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b07c65();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.ir.glsl
index 72ca17c..e65a2be 100644
--- a/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/b195eb.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 clamp_b195eb() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b195eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 clamp_b195eb() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b195eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 clamp_b195eb() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b195eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.ir.glsl
index 72ca17c..283df2a 100644
--- a/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/bd43ce.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 clamp_bd43ce() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_bd43ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 clamp_bd43ce() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_bd43ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 clamp_bd43ce() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_bd43ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.ir.glsl
index d4bb1c9..3719724 100644
--- a/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/clamp/d396af.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_d396af() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  clamp_d396af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_d396af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_d396af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_d396af() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  clamp_d396af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_d396af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_d396af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_d396af() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  clamp_d396af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_d396af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_d396af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.ir.glsl
index 72ca17c..8304558 100644
--- a/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/0835a8.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cos_0835a8() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0835a8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0835a8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0835a8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cos_0835a8() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0835a8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0835a8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0835a8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cos_0835a8() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0835a8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0835a8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0835a8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.ir.glsl
index 72ca17c..2d01971 100644
--- a/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/0a89f7.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cos_0a89f7() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0a89f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cos_0a89f7() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0a89f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cos_0a89f7() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0a89f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.ir.glsl
index 72ca17c..d9aa72d 100644
--- a/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/16dc15.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cos_16dc15() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cos_16dc15();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_16dc15();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_16dc15();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cos_16dc15() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cos_16dc15();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_16dc15();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_16dc15();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cos_16dc15() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cos_16dc15();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_16dc15();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_16dc15();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.ir.glsl
index 72ca17c..cfd8d29 100644
--- a/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/29d66d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cos_29d66d() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cos_29d66d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_29d66d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_29d66d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cos_29d66d() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cos_29d66d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_29d66d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_29d66d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cos_29d66d() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cos_29d66d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_29d66d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_29d66d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.ir.glsl
index d4bb1c9..d144a55 100644
--- a/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/47d768.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_47d768() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cos_47d768();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_47d768();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_47d768();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_47d768() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cos_47d768();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_47d768();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_47d768();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_47d768() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cos_47d768();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_47d768();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_47d768();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.ir.glsl
index 72ca17c..66f3825 100644
--- a/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/5bc2c6.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cos_5bc2c6() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_5bc2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cos_5bc2c6() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_5bc2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cos_5bc2c6() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_5bc2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.ir.glsl
index d4bb1c9..5060e8e 100644
--- a/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/6b1fdf.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_6b1fdf() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cos_6b1fdf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_6b1fdf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_6b1fdf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_6b1fdf() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cos_6b1fdf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_6b1fdf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_6b1fdf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_6b1fdf() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cos_6b1fdf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_6b1fdf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_6b1fdf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.ir.glsl
index d4bb1c9..9ad0502 100644
--- a/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/a297d4.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_a297d4() {
+  float res = 1.0f;
+}
+void main() {
+  cos_a297d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_a297d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_a297d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_a297d4() {
+  float res = 1.0f;
+}
+void main() {
+  cos_a297d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_a297d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_a297d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_a297d4() {
+  float res = 1.0f;
+}
+void main() {
+  cos_a297d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_a297d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_a297d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.ir.glsl
index d4bb1c9..bad4bc0 100644
--- a/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/af7447.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_af7447() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cos_af7447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_af7447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_af7447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_af7447() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cos_af7447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_af7447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_af7447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_af7447() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cos_af7447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_af7447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_af7447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.ir.glsl
index 72ca17c..1f8e64e 100644
--- a/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/c3b486.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cos_c3b486() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cos_c3b486();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c3b486();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c3b486();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cos_c3b486() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cos_c3b486();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c3b486();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c3b486();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cos_c3b486() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cos_c3b486();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c3b486();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c3b486();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.ir.glsl
index 72ca17c..ef65f3f 100644
--- a/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/c5c28e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cos_c5c28e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c5c28e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cos_c5c28e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c5c28e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cos_c5c28e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c5c28e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.ir.glsl
index 72ca17c..315f0fa 100644
--- a/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cos/fc047d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cos_fc047d() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = cos_fc047d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_fc047d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_fc047d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cos_fc047d() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = cos_fc047d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_fc047d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_fc047d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cos_fc047d() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = cos_fc047d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_fc047d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_fc047d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.ir.glsl
index 72ca17c..54aaa41 100644
--- a/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/2ed778.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cosh_2ed778() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_2ed778();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cosh_2ed778() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_2ed778();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cosh_2ed778() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_2ed778();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.ir.glsl
index 72ca17c..8afc742 100644
--- a/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/377652.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cosh_377652() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_377652();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_377652();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_377652();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cosh_377652() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_377652();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_377652();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_377652();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cosh_377652() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_377652();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_377652();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_377652();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.ir.glsl
index 72ca17c..9817fab 100644
--- a/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/3b7bbf.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cosh_3b7bbf() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_3b7bbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cosh_3b7bbf() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_3b7bbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cosh_3b7bbf() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_3b7bbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.ir.glsl
index d4bb1c9..9729501 100644
--- a/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/432645.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_432645() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cosh_432645();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_432645();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_432645();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_432645() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cosh_432645();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_432645();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_432645();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_432645() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cosh_432645();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_432645();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_432645();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.ir.glsl
index 72ca17c..ba43f84 100644
--- a/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/43b672.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cosh_43b672() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_43b672();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_43b672();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_43b672();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cosh_43b672() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_43b672();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_43b672();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_43b672();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cosh_43b672() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_43b672();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_43b672();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_43b672();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.ir.glsl
index 72ca17c..d4cbc1d 100644
--- a/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/b1b8a0.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cosh_b1b8a0() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_b1b8a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cosh_b1b8a0() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_b1b8a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cosh_b1b8a0() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_b1b8a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.ir.glsl
index 72ca17c..874e127 100644
--- a/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/c13756.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cosh_c13756() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_c13756();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_c13756();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_c13756();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cosh_c13756() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_c13756();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_c13756();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_c13756();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cosh_c13756() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_c13756();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_c13756();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_c13756();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.ir.glsl
index d4bb1c9..f1206eb 100644
--- a/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/c892bb.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_c892bb() {
+  float res = 1.0f;
+}
+void main() {
+  cosh_c892bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_c892bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_c892bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_c892bb() {
+  float res = 1.0f;
+}
+void main() {
+  cosh_c892bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_c892bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_c892bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_c892bb() {
+  float res = 1.0f;
+}
+void main() {
+  cosh_c892bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_c892bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_c892bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.ir.glsl
index d4bb1c9..40d9f9c 100644
--- a/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/d8dee7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_d8dee7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cosh_d8dee7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_d8dee7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_d8dee7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_d8dee7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cosh_d8dee7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_d8dee7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_d8dee7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_d8dee7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cosh_d8dee7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_d8dee7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_d8dee7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.ir.glsl
index 72ca17c..176e299 100644
--- a/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/da92dd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cosh_da92dd() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_da92dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cosh_da92dd() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_da92dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cosh_da92dd() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_da92dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.ir.glsl
index 72ca17c..f0b28de 100644
--- a/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/e0c1de.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cosh_e0c1de() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_e0c1de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cosh_e0c1de() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_e0c1de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cosh_e0c1de() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_e0c1de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.ir.glsl
index d4bb1c9..d89ed06 100644
--- a/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cosh/f67ff1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_f67ff1() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cosh_f67ff1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_f67ff1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_f67ff1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_f67ff1() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cosh_f67ff1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_f67ff1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_f67ff1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_f67ff1() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cosh_f67ff1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_f67ff1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_f67ff1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.ir.glsl
index 72ca17c..383cf15 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/208d46.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countLeadingZeros_208d46() {
+  uint res = 31u;
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_208d46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_208d46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_208d46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countLeadingZeros_208d46() {
+  uint res = 31u;
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_208d46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_208d46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_208d46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countLeadingZeros_208d46() {
+  uint res = 31u;
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_208d46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_208d46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_208d46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.ir.glsl
index 72ca17c..2636598 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/6d4656.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countLeadingZeros_6d4656() {
+  int res = 31;
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_6d4656();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_6d4656();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_6d4656();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countLeadingZeros_6d4656() {
+  int res = 31;
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_6d4656();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_6d4656();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_6d4656();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countLeadingZeros_6d4656() {
+  int res = 31;
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_6d4656();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_6d4656();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_6d4656();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.ir.glsl
index 72ca17c..23a1fde 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/70783f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countLeadingZeros_70783f() {
+  uvec2 res = uvec2(31u);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_70783f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_70783f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_70783f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countLeadingZeros_70783f() {
+  uvec2 res = uvec2(31u);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_70783f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_70783f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_70783f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countLeadingZeros_70783f() {
+  uvec2 res = uvec2(31u);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_70783f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_70783f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_70783f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl
index 72ca17c..0165486 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countLeadingZeros_7c38a6() {
+  ivec3 res = ivec3(31);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_7c38a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_7c38a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_7c38a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countLeadingZeros_7c38a6() {
+  ivec3 res = ivec3(31);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_7c38a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_7c38a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_7c38a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countLeadingZeros_7c38a6() {
+  ivec3 res = ivec3(31);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_7c38a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_7c38a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_7c38a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.ir.glsl
index 72ca17c..6b99ef6 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/858d40.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countLeadingZeros_858d40() {
+  ivec2 res = ivec2(31);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_858d40();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_858d40();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_858d40();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countLeadingZeros_858d40() {
+  ivec2 res = ivec2(31);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_858d40();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_858d40();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_858d40();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countLeadingZeros_858d40() {
+  ivec2 res = ivec2(31);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_858d40();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_858d40();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_858d40();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.ir.glsl
index 72ca17c..9614752 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/ab6345.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countLeadingZeros_ab6345() {
+  uvec3 res = uvec3(31u);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_ab6345();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_ab6345();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_ab6345();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countLeadingZeros_ab6345() {
+  uvec3 res = uvec3(31u);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_ab6345();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_ab6345();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_ab6345();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countLeadingZeros_ab6345() {
+  uvec3 res = uvec3(31u);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_ab6345();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_ab6345();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_ab6345();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.ir.glsl
index 72ca17c..9b2360d 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/eab32b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countLeadingZeros_eab32b() {
+  ivec4 res = ivec4(31);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_eab32b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_eab32b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_eab32b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countLeadingZeros_eab32b() {
+  ivec4 res = ivec4(31);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_eab32b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_eab32b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_eab32b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countLeadingZeros_eab32b() {
+  ivec4 res = ivec4(31);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_eab32b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_eab32b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_eab32b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.ir.glsl
index 72ca17c..4ce1354 100644
--- a/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countLeadingZeros/f70103.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countLeadingZeros_f70103() {
+  uvec4 res = uvec4(31u);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_f70103();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_f70103();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_f70103();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countLeadingZeros_f70103() {
+  uvec4 res = uvec4(31u);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_f70103();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_f70103();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_f70103();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countLeadingZeros_f70103() {
+  uvec4 res = uvec4(31u);
+  return res;
+}
+void main() {
+  prevent_dce = countLeadingZeros_f70103();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countLeadingZeros_f70103();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countLeadingZeros_f70103();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.ir.glsl
index 72ca17c..d4538f1 100644
--- a/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countOneBits/0d0e46.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countOneBits_0d0e46() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0d0e46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countOneBits_0d0e46() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0d0e46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countOneBits_0d0e46() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0d0e46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.ir.glsl
index 72ca17c..9a773b2 100644
--- a/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countOneBits/0f7980.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countOneBits_0f7980() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0f7980();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countOneBits_0f7980() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0f7980();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countOneBits_0f7980() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0f7980();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.ir.glsl
index 72ca17c..6f94e13 100644
--- a/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countOneBits/65d2ae.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countOneBits_65d2ae() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_65d2ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countOneBits_65d2ae() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_65d2ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countOneBits_65d2ae() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_65d2ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.ir.glsl
index 72ca17c..ad80a16 100644
--- a/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countOneBits/690cfc.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countOneBits_690cfc() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_690cfc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countOneBits_690cfc() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_690cfc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countOneBits_690cfc() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_690cfc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.ir.glsl
index 72ca17c..9b72a40 100644
--- a/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countOneBits/94fd81.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countOneBits_94fd81() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_94fd81();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countOneBits_94fd81() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_94fd81();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countOneBits_94fd81() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_94fd81();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.ir.glsl
index 72ca17c..ffd8ed4 100644
--- a/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countOneBits/ae44f9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countOneBits_ae44f9() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_ae44f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countOneBits_ae44f9() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_ae44f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countOneBits_ae44f9() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_ae44f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.ir.glsl
index 72ca17c..6de8985 100644
--- a/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countOneBits/af90e2.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countOneBits_af90e2() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_af90e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countOneBits_af90e2() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_af90e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countOneBits_af90e2() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_af90e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.ir.glsl
index 72ca17c..2c1e9b7 100644
--- a/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countOneBits/fd88b2.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countOneBits_fd88b2() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_fd88b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countOneBits_fd88b2() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_fd88b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countOneBits_fd88b2() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_fd88b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.ir.glsl
index 72ca17c..615b187 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/1ad138.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countTrailingZeros_1ad138() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_1ad138();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_1ad138();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_1ad138();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countTrailingZeros_1ad138() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_1ad138();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_1ad138();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_1ad138();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countTrailingZeros_1ad138() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_1ad138();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_1ad138();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_1ad138();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl
index 72ca17c..d9259ad 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countTrailingZeros_1dc84a() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_1dc84a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_1dc84a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_1dc84a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countTrailingZeros_1dc84a() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_1dc84a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_1dc84a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_1dc84a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countTrailingZeros_1dc84a() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_1dc84a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_1dc84a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_1dc84a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.ir.glsl
index 72ca17c..d99d157 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/21e394.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countTrailingZeros_21e394() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_21e394();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_21e394();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_21e394();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countTrailingZeros_21e394() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_21e394();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_21e394();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_21e394();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countTrailingZeros_21e394() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_21e394();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_21e394();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_21e394();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.ir.glsl
index 72ca17c..487b843 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/327c37.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countTrailingZeros_327c37() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_327c37();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_327c37();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_327c37();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countTrailingZeros_327c37() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_327c37();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_327c37();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_327c37();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countTrailingZeros_327c37() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_327c37();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_327c37();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_327c37();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.ir.glsl
index 72ca17c..da282bf 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/42fed6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countTrailingZeros_42fed6() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_42fed6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_42fed6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_42fed6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countTrailingZeros_42fed6() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_42fed6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_42fed6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_42fed6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countTrailingZeros_42fed6() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_42fed6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_42fed6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_42fed6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl
index 72ca17c..476807c 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countTrailingZeros_8ed26f() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_8ed26f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_8ed26f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_8ed26f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countTrailingZeros_8ed26f() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_8ed26f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_8ed26f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_8ed26f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countTrailingZeros_8ed26f() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_8ed26f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_8ed26f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_8ed26f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.ir.glsl
index 72ca17c..a361a09 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/acfacb.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countTrailingZeros_acfacb() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_acfacb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_acfacb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_acfacb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countTrailingZeros_acfacb() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_acfacb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_acfacb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_acfacb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countTrailingZeros_acfacb() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_acfacb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_acfacb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_acfacb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl
index 72ca17c..1d17ed0 100644
--- a/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countTrailingZeros_d2b4a0() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_d2b4a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_d2b4a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_d2b4a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countTrailingZeros_d2b4a0() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_d2b4a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_d2b4a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_d2b4a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countTrailingZeros_d2b4a0() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = countTrailingZeros_d2b4a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countTrailingZeros_d2b4a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countTrailingZeros_d2b4a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.ir.glsl
index 72ca17c..88fa080 100644
--- a/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cross/041cb0.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cross_041cb0() {
+  vec3 res = vec3(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cross_041cb0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_041cb0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_041cb0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cross_041cb0() {
+  vec3 res = vec3(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cross_041cb0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_041cb0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_041cb0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cross_041cb0() {
+  vec3 res = vec3(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = cross_041cb0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_041cb0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_041cb0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.ir.glsl
index d4bb1c9..eff3ab4 100644
--- a/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cross/1d7933.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cross_1d7933() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  cross_1d7933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cross_1d7933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cross_1d7933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cross_1d7933() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  cross_1d7933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cross_1d7933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cross_1d7933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cross_1d7933() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  cross_1d7933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cross_1d7933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cross_1d7933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.ir.glsl
index 72ca17c..d9bfd26 100644
--- a/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/cross/9857cb.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cross_9857cb() {
+  f16vec3 res = f16vec3(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cross_9857cb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_9857cb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_9857cb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cross_9857cb() {
+  f16vec3 res = f16vec3(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cross_9857cb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_9857cb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_9857cb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cross_9857cb() {
+  f16vec3 res = f16vec3(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = cross_9857cb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_9857cb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_9857cb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.ir.glsl
index 72ca17c..93b6f54 100644
--- a/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/0d170c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 degrees_0d170c() {
+  vec4 res = vec4(57.2957763671875f);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_0d170c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_0d170c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_0d170c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 degrees_0d170c() {
+  vec4 res = vec4(57.2957763671875f);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_0d170c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_0d170c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_0d170c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 degrees_0d170c() {
+  vec4 res = vec4(57.2957763671875f);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_0d170c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_0d170c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_0d170c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.ir.glsl
index 72ca17c..846fca9 100644
--- a/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/1ad5df.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 degrees_1ad5df() {
+  vec2 res = vec2(57.2957763671875f);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_1ad5df();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_1ad5df();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_1ad5df();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 degrees_1ad5df() {
+  vec2 res = vec2(57.2957763671875f);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_1ad5df();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_1ad5df();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_1ad5df();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 degrees_1ad5df() {
+  vec2 res = vec2(57.2957763671875f);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_1ad5df();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_1ad5df();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_1ad5df();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.ir.glsl
index 72ca17c..d965bf5 100644
--- a/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/2af623.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 degrees_2af623() {
+  vec3 res = vec3(57.2957763671875f);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_2af623();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_2af623();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_2af623();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 degrees_2af623() {
+  vec3 res = vec3(57.2957763671875f);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_2af623();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_2af623();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_2af623();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 degrees_2af623() {
+  vec3 res = vec3(57.2957763671875f);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_2af623();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_2af623();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_2af623();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.ir.glsl
index 72ca17c..cd583c4 100644
--- a/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/3055d3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 degrees_3055d3() {
+  f16vec4 res = f16vec4(57.3125hf);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_3055d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_3055d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_3055d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 degrees_3055d3() {
+  f16vec4 res = f16vec4(57.3125hf);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_3055d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_3055d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_3055d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 degrees_3055d3() {
+  f16vec4 res = f16vec4(57.3125hf);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_3055d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_3055d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_3055d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.ir.glsl
index 72ca17c..1e2d9d7 100644
--- a/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/51f705.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float degrees_51f705() {
+  float res = 57.2957763671875f;
+  return res;
+}
+void main() {
+  prevent_dce = degrees_51f705();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_51f705();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_51f705();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float degrees_51f705() {
+  float res = 57.2957763671875f;
+  return res;
+}
+void main() {
+  prevent_dce = degrees_51f705();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_51f705();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_51f705();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float degrees_51f705() {
+  float res = 57.2957763671875f;
+  return res;
+}
+void main() {
+  prevent_dce = degrees_51f705();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_51f705();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_51f705();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.ir.glsl
index 72ca17c..fd90232 100644
--- a/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/5e9805.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t degrees_5e9805() {
+  float16_t res = 57.3125hf;
+  return res;
+}
+void main() {
+  prevent_dce = degrees_5e9805();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_5e9805();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_5e9805();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t degrees_5e9805() {
+  float16_t res = 57.3125hf;
+  return res;
+}
+void main() {
+  prevent_dce = degrees_5e9805();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_5e9805();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_5e9805();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t degrees_5e9805() {
+  float16_t res = 57.3125hf;
+  return res;
+}
+void main() {
+  prevent_dce = degrees_5e9805();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_5e9805();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_5e9805();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.ir.glsl
index d4bb1c9..46b4385 100644
--- a/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/810467.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_810467() {
+  vec2 res = vec2(57.295780181884765625f);
+}
+void main() {
+  degrees_810467();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_810467();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_810467();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_810467() {
+  vec2 res = vec2(57.295780181884765625f);
+}
+void main() {
+  degrees_810467();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_810467();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_810467();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_810467() {
+  vec2 res = vec2(57.295780181884765625f);
+}
+void main() {
+  degrees_810467();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_810467();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_810467();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.ir.glsl
index d4bb1c9..f9d9eb0 100644
--- a/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/c0880c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_c0880c() {
+  vec3 res = vec3(57.295780181884765625f);
+}
+void main() {
+  degrees_c0880c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_c0880c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_c0880c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_c0880c() {
+  vec3 res = vec3(57.295780181884765625f);
+}
+void main() {
+  degrees_c0880c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_c0880c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_c0880c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_c0880c() {
+  vec3 res = vec3(57.295780181884765625f);
+}
+void main() {
+  degrees_c0880c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_c0880c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_c0880c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.ir.glsl
index d4bb1c9..e81ceb4 100644
--- a/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/d43a49.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_d43a49() {
+  vec4 res = vec4(57.295780181884765625f);
+}
+void main() {
+  degrees_d43a49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_d43a49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_d43a49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_d43a49() {
+  vec4 res = vec4(57.295780181884765625f);
+}
+void main() {
+  degrees_d43a49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_d43a49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_d43a49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_d43a49() {
+  vec4 res = vec4(57.295780181884765625f);
+}
+void main() {
+  degrees_d43a49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_d43a49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_d43a49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.ir.glsl
index 72ca17c..95da02f 100644
--- a/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/dfe8f4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 degrees_dfe8f4() {
+  f16vec3 res = f16vec3(57.3125hf);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_dfe8f4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_dfe8f4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_dfe8f4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 degrees_dfe8f4() {
+  f16vec3 res = f16vec3(57.3125hf);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_dfe8f4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_dfe8f4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_dfe8f4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 degrees_dfe8f4() {
+  f16vec3 res = f16vec3(57.3125hf);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_dfe8f4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_dfe8f4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_dfe8f4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.ir.glsl
index 72ca17c..c11e455 100644
--- a/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/f59715.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 degrees_f59715() {
+  f16vec2 res = f16vec2(57.3125hf);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_f59715();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_f59715();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_f59715();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 degrees_f59715() {
+  f16vec2 res = f16vec2(57.3125hf);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_f59715();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_f59715();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_f59715();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 degrees_f59715() {
+  f16vec2 res = f16vec2(57.3125hf);
+  return res;
+}
+void main() {
+  prevent_dce = degrees_f59715();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = degrees_f59715();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = degrees_f59715();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.ir.glsl
index d4bb1c9..67eac30 100644
--- a/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/degrees/fafa7e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_fafa7e() {
+  float res = 57.295780181884765625f;
+}
+void main() {
+  degrees_fafa7e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_fafa7e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_fafa7e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_fafa7e() {
+  float res = 57.295780181884765625f;
+}
+void main() {
+  degrees_fafa7e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_fafa7e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_fafa7e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_fafa7e() {
+  float res = 57.295780181884765625f;
+}
+void main() {
+  degrees_fafa7e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_fafa7e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_fafa7e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.ir.glsl
index d4bb1c9..48848f5 100644
--- a/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/determinant/1bf6e7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_1bf6e7() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_1bf6e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_1bf6e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_1bf6e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_1bf6e7() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_1bf6e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_1bf6e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_1bf6e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_1bf6e7() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_1bf6e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_1bf6e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_1bf6e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.ir.glsl
index 72ca17c..2979e8f 100644
--- a/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/determinant/2b62ba.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_2b62ba() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_2b62ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_2b62ba() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_2b62ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_2b62ba() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_2b62ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.ir.glsl
index 72ca17c..cc0f348 100644
--- a/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/determinant/32bfde.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_32bfde() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_32bfde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_32bfde() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_32bfde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_32bfde() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_32bfde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.ir.glsl
index 72ca17c..c18ec98 100644
--- a/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/determinant/a0a87c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_a0a87c() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_a0a87c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_a0a87c() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_a0a87c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_a0a87c() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_a0a87c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.ir.glsl
index d4bb1c9..ce134ab 100644
--- a/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/determinant/c8251d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_c8251d() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_c8251d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_c8251d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_c8251d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_c8251d() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_c8251d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_c8251d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_c8251d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_c8251d() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_c8251d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_c8251d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_c8251d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.ir.glsl
index d4bb1c9..b1c4084 100644
--- a/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/determinant/cefdf3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_cefdf3() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_cefdf3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_cefdf3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_cefdf3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_cefdf3() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_cefdf3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_cefdf3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_cefdf3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_cefdf3() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_cefdf3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_cefdf3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_cefdf3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.ir.glsl
index 72ca17c..a2d620d 100644
--- a/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/determinant/d7c86f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_d7c86f() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_d7c86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_d7c86f() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_d7c86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_d7c86f() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_d7c86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.ir.glsl
index 72ca17c..b308c26 100644
--- a/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/determinant/e19305.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_e19305() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_e19305();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_e19305();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_e19305();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_e19305() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_e19305();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_e19305();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_e19305();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_e19305() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_e19305();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_e19305();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_e19305();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.ir.glsl
index 72ca17c..5d0dbcc 100644
--- a/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/determinant/fc12a5.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_fc12a5() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_fc12a5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_fc12a5() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_fc12a5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_fc12a5() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_fc12a5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.ir.glsl
index 72ca17c..0590075 100644
--- a/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/0657d4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_0657d4() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_0657d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_0657d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_0657d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_0657d4() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_0657d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_0657d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_0657d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_0657d4() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_0657d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_0657d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_0657d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.ir.glsl
index d4bb1c9..1537526 100644
--- a/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/3a175a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_3a175a() {
+  float res = 0.0f;
+}
+void main() {
+  distance_3a175a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_3a175a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_3a175a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_3a175a() {
+  float res = 0.0f;
+}
+void main() {
+  distance_3a175a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_3a175a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_3a175a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_3a175a() {
+  float res = 0.0f;
+}
+void main() {
+  distance_3a175a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_3a175a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_3a175a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.ir.glsl
index 72ca17c..c3b2693 100644
--- a/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/7272f3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7272f3() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_7272f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7272f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7272f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7272f3() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_7272f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7272f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7272f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7272f3() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_7272f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7272f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7272f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.ir.glsl
index 72ca17c..0ca633f 100644
--- a/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/7d201f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7d201f() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_7d201f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7d201f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7d201f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7d201f() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_7d201f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7d201f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7d201f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7d201f() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_7d201f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7d201f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7d201f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.ir.glsl
index d4bb1c9..56f3409 100644
--- a/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/83911f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_83911f() {
+  float res = 0.0f;
+}
+void main() {
+  distance_83911f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_83911f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_83911f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_83911f() {
+  float res = 0.0f;
+}
+void main() {
+  distance_83911f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_83911f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_83911f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_83911f() {
+  float res = 0.0f;
+}
+void main() {
+  distance_83911f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_83911f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_83911f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.ir.glsl
index 72ca17c..db7e834 100644
--- a/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/892a5d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_892a5d() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_892a5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_892a5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_892a5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_892a5d() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_892a5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_892a5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_892a5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_892a5d() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_892a5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_892a5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_892a5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.ir.glsl
index 72ca17c..c406e44 100644
--- a/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/928fa0.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_928fa0() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_928fa0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_928fa0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_928fa0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_928fa0() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_928fa0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_928fa0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_928fa0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_928fa0() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = distance_928fa0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_928fa0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_928fa0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.ir.glsl
index 72ca17c..81af98e 100644
--- a/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/9646ea.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_9646ea() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_9646ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_9646ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_9646ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_9646ea() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_9646ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_9646ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_9646ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_9646ea() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_9646ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_9646ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_9646ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.ir.glsl
index 72ca17c..3e12014 100644
--- a/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/aa4055.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_aa4055() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_aa4055();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_aa4055();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_aa4055();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_aa4055() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_aa4055();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_aa4055();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_aa4055();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_aa4055() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_aa4055();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_aa4055();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_aa4055();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.ir.glsl
index d4bb1c9..c1583f9 100644
--- a/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/ac5535.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_ac5535() {
+  float res = 0.0f;
+}
+void main() {
+  distance_ac5535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_ac5535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_ac5535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_ac5535() {
+  float res = 0.0f;
+}
+void main() {
+  distance_ac5535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_ac5535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_ac5535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_ac5535() {
+  float res = 0.0f;
+}
+void main() {
+  distance_ac5535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_ac5535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_ac5535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.ir.glsl
index 72ca17c..bb86b30 100644
--- a/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/cfed73.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_cfed73() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_cfed73();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_cfed73();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_cfed73();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_cfed73() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_cfed73();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_cfed73();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_cfed73();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_cfed73() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = distance_cfed73();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_cfed73();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_cfed73();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.ir.glsl
index d4bb1c9..88b2f6a 100644
--- a/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/distance/f9c9ee.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_f9c9ee() {
+  float res = 0.0f;
+}
+void main() {
+  distance_f9c9ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_f9c9ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_f9c9ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_f9c9ee() {
+  float res = 0.0f;
+}
+void main() {
+  distance_f9c9ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_f9c9ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_f9c9ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_f9c9ee() {
+  float res = 0.0f;
+}
+void main() {
+  distance_f9c9ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_f9c9ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_f9c9ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.ir.glsl
index d4bb1c9..89d5b1e 100644
--- a/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/08eb56.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_08eb56() {
+  float res = 4.0f;
+}
+void main() {
+  dot_08eb56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_08eb56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_08eb56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_08eb56() {
+  float res = 4.0f;
+}
+void main() {
+  dot_08eb56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_08eb56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_08eb56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_08eb56() {
+  float res = 4.0f;
+}
+void main() {
+  dot_08eb56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_08eb56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_08eb56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.ir.glsl
index 72ca17c..1e59902 100644
--- a/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/0c577b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_0c577b() {
+  float res = 4.0f;
+  return res;
+}
+void main() {
+  prevent_dce = dot_0c577b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_0c577b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_0c577b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_0c577b() {
+  float res = 4.0f;
+  return res;
+}
+void main() {
+  prevent_dce = dot_0c577b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_0c577b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_0c577b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_0c577b() {
+  float res = 4.0f;
+  return res;
+}
+void main() {
+  prevent_dce = dot_0c577b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_0c577b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_0c577b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.ir.glsl
index d4bb1c9..944e72a 100644
--- a/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/0d2c2e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_0d2c2e() {
+  float res = 2.0f;
+}
+void main() {
+  dot_0d2c2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_0d2c2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_0d2c2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_0d2c2e() {
+  float res = 2.0f;
+}
+void main() {
+  dot_0d2c2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_0d2c2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_0d2c2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_0d2c2e() {
+  float res = 2.0f;
+}
+void main() {
+  dot_0d2c2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_0d2c2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_0d2c2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.ir.glsl
index d4bb1c9..daf4ac5 100644
--- a/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/14bc63.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_14bc63() {
+  int res = 2;
+}
+void main() {
+  dot_14bc63();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_14bc63();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_14bc63();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_14bc63() {
+  int res = 2;
+}
+void main() {
+  dot_14bc63();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_14bc63();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_14bc63();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_14bc63() {
+  int res = 2;
+}
+void main() {
+  dot_14bc63();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_14bc63();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_14bc63();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.ir.glsl
index d4bb1c9..be30155 100644
--- a/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/5a4c8f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_5a4c8f() {
+  float res = 3.0f;
+}
+void main() {
+  dot_5a4c8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_5a4c8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_5a4c8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_5a4c8f() {
+  float res = 3.0f;
+}
+void main() {
+  dot_5a4c8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_5a4c8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_5a4c8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_5a4c8f() {
+  float res = 3.0f;
+}
+void main() {
+  dot_5a4c8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_5a4c8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_5a4c8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.ir.glsl
index 72ca17c..6684f33 100644
--- a/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/7548a0.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_7548a0() {
+  uint res = 3u;
+  return res;
+}
+void main() {
+  prevent_dce = dot_7548a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_7548a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_7548a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_7548a0() {
+  uint res = 3u;
+  return res;
+}
+void main() {
+  prevent_dce = dot_7548a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_7548a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_7548a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_7548a0() {
+  uint res = 3u;
+  return res;
+}
+void main() {
+  prevent_dce = dot_7548a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_7548a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_7548a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.ir.glsl
index 72ca17c..ec27091 100644
--- a/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/883f0e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_883f0e() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = dot_883f0e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_883f0e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_883f0e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_883f0e() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = dot_883f0e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_883f0e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_883f0e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_883f0e() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = dot_883f0e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_883f0e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_883f0e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.ir.glsl
index 72ca17c..94583cc 100644
--- a/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/8e40f1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_8e40f1() {
+  float16_t res = 3.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_8e40f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_8e40f1() {
+  float16_t res = 3.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_8e40f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_8e40f1() {
+  float16_t res = 3.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_8e40f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.ir.glsl
index 72ca17c..c2f3909 100644
--- a/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/97c7ee.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_97c7ee() {
+  uint res = 2u;
+  return res;
+}
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_97c7ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_97c7ee() {
+  uint res = 2u;
+  return res;
+}
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_97c7ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_97c7ee() {
+  uint res = 2u;
+  return res;
+}
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_97c7ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.ir.glsl
index 72ca17c..8964a7e 100644
--- a/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/ba4246.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_ba4246() {
+  float res = 3.0f;
+  return res;
+}
+void main() {
+  prevent_dce = dot_ba4246();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ba4246();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ba4246();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_ba4246() {
+  float res = 3.0f;
+  return res;
+}
+void main() {
+  prevent_dce = dot_ba4246();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ba4246();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ba4246();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_ba4246() {
+  float res = 3.0f;
+  return res;
+}
+void main() {
+  prevent_dce = dot_ba4246();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ba4246();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ba4246();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.ir.glsl
index d4bb1c9..51ffb9c 100644
--- a/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/c11efe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_c11efe() {
+  int res = 3;
+}
+void main() {
+  dot_c11efe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_c11efe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_c11efe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_c11efe() {
+  int res = 3;
+}
+void main() {
+  dot_c11efe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_c11efe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_c11efe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_c11efe() {
+  int res = 3;
+}
+void main() {
+  dot_c11efe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_c11efe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_c11efe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.ir.glsl
index 72ca17c..f9e1b86 100644
--- a/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/cd5a04.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_cd5a04() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_cd5a04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_cd5a04() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_cd5a04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_cd5a04() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_cd5a04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.ir.glsl
index 72ca17c..f99a4ba 100644
--- a/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/d0d179.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_d0d179() {
+  float16_t res = 4.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = dot_d0d179();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_d0d179();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_d0d179();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_d0d179() {
+  float16_t res = 4.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = dot_d0d179();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_d0d179();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_d0d179();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_d0d179() {
+  float16_t res = 4.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = dot_d0d179();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_d0d179();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_d0d179();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.ir.glsl
index 72ca17c..3bbc561 100644
--- a/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/e994c7.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_e994c7() {
+  uint res = 4u;
+  return res;
+}
+void main() {
+  prevent_dce = dot_e994c7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_e994c7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_e994c7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_e994c7() {
+  uint res = 4u;
+  return res;
+}
+void main() {
+  prevent_dce = dot_e994c7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_e994c7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_e994c7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_e994c7() {
+  uint res = 4u;
+  return res;
+}
+void main() {
+  prevent_dce = dot_e994c7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_e994c7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_e994c7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.ir.glsl
index d4bb1c9..4abca94 100644
--- a/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/eb9fbf.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_eb9fbf() {
+  int res = 4;
+}
+void main() {
+  dot_eb9fbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_eb9fbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_eb9fbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_eb9fbf() {
+  int res = 4;
+}
+void main() {
+  dot_eb9fbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_eb9fbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_eb9fbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_eb9fbf() {
+  int res = 4;
+}
+void main() {
+  dot_eb9fbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_eb9fbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_eb9fbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.ir.glsl
index 72ca17c..b90f702 100644
--- a/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/ef6b1d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_ef6b1d() {
+  int res = 4;
+  return res;
+}
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ef6b1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_ef6b1d() {
+  int res = 4;
+  return res;
+}
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ef6b1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_ef6b1d() {
+  int res = 4;
+  return res;
+}
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ef6b1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.ir.glsl
index 72ca17c..7ccdf63 100644
--- a/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/f1312c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_f1312c() {
+  int res = 3;
+  return res;
+}
+void main() {
+  prevent_dce = dot_f1312c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_f1312c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_f1312c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_f1312c() {
+  int res = 3;
+  return res;
+}
+void main() {
+  prevent_dce = dot_f1312c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_f1312c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_f1312c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_f1312c() {
+  int res = 3;
+  return res;
+}
+void main() {
+  prevent_dce = dot_f1312c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_f1312c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_f1312c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.ir.glsl
index 72ca17c..174e178 100644
--- a/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot/fc5f7c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_fc5f7c() {
+  int res = 2;
+  return res;
+}
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_fc5f7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_fc5f7c() {
+  int res = 2;
+  return res;
+}
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_fc5f7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_fc5f7c() {
+  int res = 2;
+  return res;
+}
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_fc5f7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.ir.glsl
index 72ca17c..79312c7 100644
--- a/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot4I8Packed/881e62.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot4I8Packed_881e62() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = dot4I8Packed_881e62();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot4I8Packed_881e62();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot4I8Packed_881e62();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot4I8Packed_881e62() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = dot4I8Packed_881e62();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot4I8Packed_881e62();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot4I8Packed_881e62();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot4I8Packed_881e62() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = dot4I8Packed_881e62();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot4I8Packed_881e62();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot4I8Packed_881e62();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl
index 72ca17c..e09cfce 100644
--- a/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot4U8Packed_fbed7b() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot4U8Packed_fbed7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot4U8Packed_fbed7b() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot4U8Packed_fbed7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot4U8Packed_fbed7b() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot4U8Packed_fbed7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl
index 6c6485e..81ecc3d 100644
--- a/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxCoarse/029152.wgsl.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+float prevent_dce;
+float dpdxCoarse_029152() {
+  float res = dFdxdFdxCoarse(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxCoarse_029152();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
index 6c6485e..c95da68 100644
--- a/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec2 prevent_dce;
+vec2 dpdxCoarse_9581cf() {
+  vec2 res = dFdxdFdxCoarse(vec2(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdxCoarse_9581cf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl
index 6c6485e..45cb5b3 100644
--- a/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxCoarse/c28641.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 prevent_dce;
+vec4 dpdxCoarse_c28641() {
+  vec4 res = dFdxdFdxCoarse(vec4(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdxCoarse_c28641();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
index 6c6485e..1f9ed68 100644
--- a/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec3 prevent_dce;
+vec3 dpdxCoarse_f64d7b() {
+  vec3 res = dFdxdFdxCoarse(vec3(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdxCoarse_f64d7b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl
index 6c6485e..3b49da5 100644
--- a/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxFine/8c5069.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 prevent_dce;
+vec4 dpdxFine_8c5069() {
+  vec4 res = dFdxdFdxFine(vec4(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdxFine_8c5069();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl
index 6c6485e..49ca9f7 100644
--- a/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxFine/9631de.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec2 prevent_dce;
+vec2 dpdxFine_9631de() {
+  vec2 res = dFdxdFdxFine(vec2(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdxFine_9631de();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl
index 6c6485e..7c86dce 100644
--- a/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxFine/f401a2.wgsl.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+float prevent_dce;
+float dpdxFine_f401a2() {
+  float res = dFdxdFdxFine(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxFine_f401a2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl
index 6c6485e..87c1f96 100644
--- a/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdxFine/f92fb6.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec3 prevent_dce;
+vec3 dpdxFine_f92fb6() {
+  vec3 res = dFdxdFdxFine(vec3(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdxFine_f92fb6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
index 6c6485e..58268ca 100644
--- a/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec2 prevent_dce;
+vec2 dpdyCoarse_3e1ab4() {
+  vec2 res = dFdydFdyCoarse(vec2(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdyCoarse_3e1ab4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl
index 6c6485e..a3f2f75 100644
--- a/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyCoarse/445d24.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 prevent_dce;
+vec4 dpdyCoarse_445d24() {
+  vec4 res = dFdydFdyCoarse(vec4(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdyCoarse_445d24();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
index 6c6485e..86a14c6 100644
--- a/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+float prevent_dce;
+float dpdyCoarse_870a7e() {
+  float res = dFdydFdyCoarse(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyCoarse_870a7e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
index 6c6485e..86766ea 100644
--- a/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec3 prevent_dce;
+vec3 dpdyCoarse_ae1873() {
+  vec3 res = dFdydFdyCoarse(vec3(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdyCoarse_ae1873();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
index 6c6485e..e961bee 100644
--- a/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec3 prevent_dce;
+vec3 dpdyFine_1fb7ab() {
+  vec3 res = dFdydFdyFine(vec3(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdyFine_1fb7ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl
index 6c6485e..8f9c54c 100644
--- a/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyFine/6eb673.wgsl.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+float prevent_dce;
+float dpdyFine_6eb673() {
+  float res = dFdydFdyFine(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyFine_6eb673();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl
index 6c6485e..f135de9 100644
--- a/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyFine/d0a648.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 prevent_dce;
+vec4 dpdyFine_d0a648() {
+  vec4 res = dFdydFdyFine(vec4(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdyFine_d0a648();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl
index 6c6485e..36f9d17 100644
--- a/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/dpdyFine/df33aa.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec2 prevent_dce;
+vec2 dpdyFine_df33aa() {
+  vec2 res = dFdydFdyFine(vec2(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = dpdyFine_df33aa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.ir.glsl
index 72ca17c..f86676e 100644
--- a/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/0f70eb.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp_0f70eb() {
+  vec4 res = vec4(2.71828174591064453125f);
+  return res;
+}
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_0f70eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp_0f70eb() {
+  vec4 res = vec4(2.71828174591064453125f);
+  return res;
+}
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_0f70eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp_0f70eb() {
+  vec4 res = vec4(2.71828174591064453125f);
+  return res;
+}
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_0f70eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.ir.glsl
index 72ca17c..f31f360 100644
--- a/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/13806d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp_13806d() {
+  f16vec3 res = f16vec3(2.716796875hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp_13806d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_13806d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_13806d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp_13806d() {
+  f16vec3 res = f16vec3(2.716796875hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp_13806d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_13806d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_13806d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp_13806d() {
+  f16vec3 res = f16vec3(2.716796875hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp_13806d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_13806d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_13806d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.ir.glsl
index 72ca17c..6a07e56 100644
--- a/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/1951e7.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp_1951e7() {
+  vec2 res = vec2(2.71828174591064453125f);
+  return res;
+}
+void main() {
+  prevent_dce = exp_1951e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_1951e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_1951e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp_1951e7() {
+  vec2 res = vec2(2.71828174591064453125f);
+  return res;
+}
+void main() {
+  prevent_dce = exp_1951e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_1951e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_1951e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp_1951e7() {
+  vec2 res = vec2(2.71828174591064453125f);
+  return res;
+}
+void main() {
+  prevent_dce = exp_1951e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_1951e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_1951e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.ir.glsl
index 72ca17c..e9f9b30 100644
--- a/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/2e08e2.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp_2e08e2() {
+  f16vec2 res = f16vec2(2.716796875hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_2e08e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp_2e08e2() {
+  f16vec2 res = f16vec2(2.716796875hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_2e08e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp_2e08e2() {
+  f16vec2 res = f16vec2(2.716796875hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_2e08e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.ir.glsl
index d4bb1c9..48a4a80 100644
--- a/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/49e4c5.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_49e4c5() {
+  float res = 2.71828174591064453125f;
+}
+void main() {
+  exp_49e4c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_49e4c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_49e4c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_49e4c5() {
+  float res = 2.71828174591064453125f;
+}
+void main() {
+  exp_49e4c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_49e4c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_49e4c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_49e4c5() {
+  float res = 2.71828174591064453125f;
+}
+void main() {
+  exp_49e4c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_49e4c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_49e4c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.ir.glsl
index 72ca17c..5607fc7 100644
--- a/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/611a87.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp_611a87() {
+  f16vec4 res = f16vec4(2.716796875hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp_611a87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_611a87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_611a87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp_611a87() {
+  f16vec4 res = f16vec4(2.716796875hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp_611a87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_611a87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_611a87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp_611a87() {
+  f16vec4 res = f16vec4(2.716796875hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp_611a87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_611a87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_611a87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.ir.glsl
index d4bb1c9..3ae81c8 100644
--- a/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/699629.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_699629() {
+  vec2 res = vec2(2.71828174591064453125f);
+}
+void main() {
+  exp_699629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_699629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_699629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_699629() {
+  vec2 res = vec2(2.71828174591064453125f);
+}
+void main() {
+  exp_699629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_699629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_699629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_699629() {
+  vec2 res = vec2(2.71828174591064453125f);
+}
+void main() {
+  exp_699629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_699629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_699629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.ir.glsl
index 72ca17c..9e89fbb 100644
--- a/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/771fd2.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp_771fd2() {
+  float res = 2.71828174591064453125f;
+  return res;
+}
+void main() {
+  prevent_dce = exp_771fd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_771fd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_771fd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp_771fd2() {
+  float res = 2.71828174591064453125f;
+  return res;
+}
+void main() {
+  prevent_dce = exp_771fd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_771fd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_771fd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp_771fd2() {
+  float res = 2.71828174591064453125f;
+  return res;
+}
+void main() {
+  prevent_dce = exp_771fd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_771fd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_771fd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.ir.glsl
index d4bb1c9..6f9e1c9 100644
--- a/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/bda5bb.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_bda5bb() {
+  vec3 res = vec3(2.71828174591064453125f);
+}
+void main() {
+  exp_bda5bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_bda5bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_bda5bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_bda5bb() {
+  vec3 res = vec3(2.71828174591064453125f);
+}
+void main() {
+  exp_bda5bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_bda5bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_bda5bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_bda5bb() {
+  vec3 res = vec3(2.71828174591064453125f);
+}
+void main() {
+  exp_bda5bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_bda5bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_bda5bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.ir.glsl
index 72ca17c..1180588 100644
--- a/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/c18fe9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp_c18fe9() {
+  float16_t res = 2.716796875hf;
+  return res;
+}
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_c18fe9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp_c18fe9() {
+  float16_t res = 2.716796875hf;
+  return res;
+}
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_c18fe9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp_c18fe9() {
+  float16_t res = 2.716796875hf;
+  return res;
+}
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_c18fe9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.ir.glsl
index 72ca17c..8609796 100644
--- a/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/d98450.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp_d98450() {
+  vec3 res = vec3(2.71828174591064453125f);
+  return res;
+}
+void main() {
+  prevent_dce = exp_d98450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_d98450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_d98450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp_d98450() {
+  vec3 res = vec3(2.71828174591064453125f);
+  return res;
+}
+void main() {
+  prevent_dce = exp_d98450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_d98450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_d98450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp_d98450() {
+  vec3 res = vec3(2.71828174591064453125f);
+  return res;
+}
+void main() {
+  prevent_dce = exp_d98450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_d98450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_d98450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.ir.glsl
index d4bb1c9..3db102c 100644
--- a/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp/dad791.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_dad791() {
+  vec4 res = vec4(2.71828174591064453125f);
+}
+void main() {
+  exp_dad791();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_dad791();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_dad791();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_dad791() {
+  vec4 res = vec4(2.71828174591064453125f);
+}
+void main() {
+  exp_dad791();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_dad791();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_dad791();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_dad791() {
+  vec4 res = vec4(2.71828174591064453125f);
+}
+void main() {
+  exp_dad791();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_dad791();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_dad791();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.ir.glsl
index 72ca17c..4f67a2c 100644
--- a/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/151a4c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp2_151a4c() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_151a4c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp2_151a4c() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_151a4c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp2_151a4c() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_151a4c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.ir.glsl
index d4bb1c9..6d43169 100644
--- a/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/18aa76.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_18aa76() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  exp2_18aa76();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_18aa76();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_18aa76();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_18aa76() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  exp2_18aa76();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_18aa76();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_18aa76();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_18aa76() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  exp2_18aa76();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_18aa76();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_18aa76();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.ir.glsl
index 72ca17c..ff60960 100644
--- a/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/1f8680.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp2_1f8680() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_1f8680();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp2_1f8680() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_1f8680();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp2_1f8680() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_1f8680();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.ir.glsl
index d4bb1c9..0339ef4 100644
--- a/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/303753.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_303753() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  exp2_303753();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_303753();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_303753();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_303753() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  exp2_303753();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_303753();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_303753();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_303753() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  exp2_303753();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_303753();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_303753();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.ir.glsl
index 72ca17c..8ff92f3 100644
--- a/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/751377.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp2_751377() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_751377();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_751377();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_751377();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp2_751377() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_751377();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_751377();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_751377();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp2_751377() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_751377();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_751377();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_751377();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.ir.glsl
index d4bb1c9..aefd542 100644
--- a/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/8bd72d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_8bd72d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  exp2_8bd72d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_8bd72d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_8bd72d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_8bd72d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  exp2_8bd72d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_8bd72d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_8bd72d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_8bd72d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  exp2_8bd72d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_8bd72d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_8bd72d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.ir.glsl
index 72ca17c..a36232d 100644
--- a/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/a9d0a7.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp2_a9d0a7() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_a9d0a7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp2_a9d0a7() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_a9d0a7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp2_a9d0a7() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_a9d0a7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.ir.glsl
index 72ca17c..55bf132 100644
--- a/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/b408e4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp2_b408e4() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_b408e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp2_b408e4() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_b408e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp2_b408e4() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_b408e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.ir.glsl
index 72ca17c..60e4b43 100644
--- a/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/d6777c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp2_d6777c() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_d6777c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp2_d6777c() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_d6777c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp2_d6777c() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_d6777c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.ir.glsl
index 72ca17c..d22ad53 100644
--- a/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/dea523.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp2_dea523() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = exp2_dea523();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_dea523();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_dea523();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp2_dea523() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = exp2_dea523();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_dea523();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_dea523();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp2_dea523() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = exp2_dea523();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_dea523();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_dea523();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.ir.glsl
index d4bb1c9..8970162 100644
--- a/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/f4f0f1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_f4f0f1() {
+  float res = 2.0f;
+}
+void main() {
+  exp2_f4f0f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_f4f0f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_f4f0f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_f4f0f1() {
+  float res = 2.0f;
+}
+void main() {
+  exp2_f4f0f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_f4f0f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_f4f0f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_f4f0f1() {
+  float res = 2.0f;
+}
+void main() {
+  exp2_f4f0f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_f4f0f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_f4f0f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.ir.glsl
index 72ca17c..dad2f6b 100644
--- a/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/exp2/ffa827.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp2_ffa827() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_ffa827();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp2_ffa827() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_ffa827();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp2_ffa827() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_ffa827();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.ir.glsl
index 72ca17c..9907be1 100644
--- a/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/extractBits/12b197.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 extractBits_12b197() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_12b197();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_12b197();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_12b197();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 extractBits_12b197() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_12b197();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_12b197();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_12b197();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 extractBits_12b197() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_12b197();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_12b197();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_12b197();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.ir.glsl
index 72ca17c..d5f6175 100644
--- a/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/extractBits/249874.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int extractBits_249874() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_249874();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_249874();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_249874();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int extractBits_249874() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_249874();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_249874();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_249874();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int extractBits_249874() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_249874();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_249874();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_249874();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.ir.glsl
index 72ca17c..b80d999 100644
--- a/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/extractBits/631377.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 extractBits_631377() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_631377();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_631377();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_631377();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 extractBits_631377() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_631377();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_631377();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_631377();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 extractBits_631377() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_631377();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_631377();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_631377();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.ir.glsl
index 72ca17c..58cf6ff 100644
--- a/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/extractBits/a99a8d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 extractBits_a99a8d() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_a99a8d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_a99a8d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_a99a8d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 extractBits_a99a8d() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_a99a8d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_a99a8d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_a99a8d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 extractBits_a99a8d() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_a99a8d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_a99a8d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_a99a8d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.ir.glsl
index 72ca17c..0c37a13 100644
--- a/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/extractBits/ce81f8.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint extractBits_ce81f8() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_ce81f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_ce81f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_ce81f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint extractBits_ce81f8() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_ce81f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_ce81f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_ce81f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint extractBits_ce81f8() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_ce81f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_ce81f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_ce81f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.ir.glsl
index 72ca17c..bc15a01 100644
--- a/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/extractBits/e04f5d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 extractBits_e04f5d() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_e04f5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_e04f5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_e04f5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 extractBits_e04f5d() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_e04f5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_e04f5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_e04f5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 extractBits_e04f5d() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_e04f5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_e04f5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_e04f5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.ir.glsl
index 72ca17c..af1342f 100644
--- a/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/extractBits/f28f69.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 extractBits_f28f69() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_f28f69();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_f28f69();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_f28f69();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 extractBits_f28f69() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_f28f69();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_f28f69();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_f28f69();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 extractBits_f28f69() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_f28f69();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_f28f69();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_f28f69();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.ir.glsl
index 72ca17c..26e108f 100644
--- a/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/extractBits/fb850f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 extractBits_fb850f() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_fb850f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_fb850f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_fb850f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 extractBits_fb850f() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_fb850f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_fb850f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_fb850f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 extractBits_fb850f() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = extractBits_fb850f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = extractBits_fb850f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = extractBits_fb850f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.ir.glsl
index d4bb1c9..f78da9d 100644
--- a/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/faceForward/2c4d14.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_2c4d14() {
+  vec4 res = vec4(-1.0f);
+}
+void main() {
+  faceForward_2c4d14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_2c4d14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_2c4d14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_2c4d14() {
+  vec4 res = vec4(-1.0f);
+}
+void main() {
+  faceForward_2c4d14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_2c4d14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_2c4d14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_2c4d14() {
+  vec4 res = vec4(-1.0f);
+}
+void main() {
+  faceForward_2c4d14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_2c4d14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_2c4d14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.ir.glsl
index 72ca17c..aa7821c 100644
--- a/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/faceForward/524986.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 faceForward_524986() {
+  f16vec3 res = f16vec3(-1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_524986();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_524986();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_524986();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 faceForward_524986() {
+  f16vec3 res = f16vec3(-1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_524986();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_524986();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_524986();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 faceForward_524986() {
+  f16vec3 res = f16vec3(-1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_524986();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_524986();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_524986();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.ir.glsl
index 72ca17c..507475b 100644
--- a/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/faceForward/5afbd5.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 faceForward_5afbd5() {
+  vec3 res = vec3(-1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_5afbd5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 faceForward_5afbd5() {
+  vec3 res = vec3(-1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_5afbd5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 faceForward_5afbd5() {
+  vec3 res = vec3(-1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_5afbd5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.ir.glsl
index 72ca17c..d65164b 100644
--- a/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/faceForward/b316e5.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 faceForward_b316e5() {
+  vec4 res = vec4(-1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_b316e5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 faceForward_b316e5() {
+  vec4 res = vec4(-1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_b316e5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 faceForward_b316e5() {
+  vec4 res = vec4(-1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_b316e5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.ir.glsl
index d4bb1c9..13f6f98 100644
--- a/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/faceForward/b42ef3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_b42ef3() {
+  vec2 res = vec2(-1.0f);
+}
+void main() {
+  faceForward_b42ef3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_b42ef3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_b42ef3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_b42ef3() {
+  vec2 res = vec2(-1.0f);
+}
+void main() {
+  faceForward_b42ef3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_b42ef3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_b42ef3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_b42ef3() {
+  vec2 res = vec2(-1.0f);
+}
+void main() {
+  faceForward_b42ef3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_b42ef3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_b42ef3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.ir.glsl
index 72ca17c..2be88c2 100644
--- a/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/faceForward/cc63dc.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 faceForward_cc63dc() {
+  f16vec4 res = f16vec4(-1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_cc63dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 faceForward_cc63dc() {
+  f16vec4 res = f16vec4(-1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_cc63dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 faceForward_cc63dc() {
+  f16vec4 res = f16vec4(-1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_cc63dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.ir.glsl
index 72ca17c..13531bd 100644
--- a/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/faceForward/e6908b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 faceForward_e6908b() {
+  vec2 res = vec2(-1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_e6908b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 faceForward_e6908b() {
+  vec2 res = vec2(-1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_e6908b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 faceForward_e6908b() {
+  vec2 res = vec2(-1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_e6908b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.ir.glsl
index 72ca17c..4af4233 100644
--- a/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/faceForward/fb0f2e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 faceForward_fb0f2e() {
+  f16vec2 res = f16vec2(-1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_fb0f2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 faceForward_fb0f2e() {
+  f16vec2 res = f16vec2(-1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_fb0f2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 faceForward_fb0f2e() {
+  f16vec2 res = f16vec2(-1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_fb0f2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.ir.glsl
index d4bb1c9..9fa0a75 100644
--- a/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/faceForward/fe522b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_fe522b() {
+  vec3 res = vec3(-1.0f);
+}
+void main() {
+  faceForward_fe522b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_fe522b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_fe522b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_fe522b() {
+  vec3 res = vec3(-1.0f);
+}
+void main() {
+  faceForward_fe522b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_fe522b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_fe522b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_fe522b() {
+  vec3 res = vec3(-1.0f);
+}
+void main() {
+  faceForward_fe522b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_fe522b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_fe522b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.ir.glsl
index 72ca17c..677c324 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/000ff3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 firstLeadingBit_000ff3() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_000ff3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_000ff3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_000ff3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 firstLeadingBit_000ff3() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_000ff3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_000ff3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_000ff3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 firstLeadingBit_000ff3() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_000ff3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_000ff3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_000ff3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.ir.glsl
index 72ca17c..20ad773 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/35053e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 firstLeadingBit_35053e() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_35053e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_35053e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_35053e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 firstLeadingBit_35053e() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_35053e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_35053e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_35053e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 firstLeadingBit_35053e() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_35053e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_35053e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_35053e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl
index 72ca17c..d923e3d 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 firstLeadingBit_3fd7d0() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_3fd7d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_3fd7d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_3fd7d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 firstLeadingBit_3fd7d0() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_3fd7d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_3fd7d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_3fd7d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 firstLeadingBit_3fd7d0() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_3fd7d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_3fd7d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_3fd7d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl
index 72ca17c..798883b 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int firstLeadingBit_57a1a3() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_57a1a3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_57a1a3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_57a1a3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int firstLeadingBit_57a1a3() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_57a1a3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_57a1a3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_57a1a3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int firstLeadingBit_57a1a3() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_57a1a3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_57a1a3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_57a1a3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.ir.glsl
index 72ca17c..0085c40 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/6fe804.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 firstLeadingBit_6fe804() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_6fe804();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_6fe804();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_6fe804();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 firstLeadingBit_6fe804() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_6fe804();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_6fe804();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_6fe804();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 firstLeadingBit_6fe804() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_6fe804();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_6fe804();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_6fe804();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.ir.glsl
index 72ca17c..d6488bb 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/a622c2.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 firstLeadingBit_a622c2() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_a622c2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_a622c2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_a622c2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 firstLeadingBit_a622c2() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_a622c2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_a622c2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_a622c2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 firstLeadingBit_a622c2() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_a622c2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_a622c2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_a622c2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.ir.glsl
index 72ca17c..9f66477 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/c1f940.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 firstLeadingBit_c1f940() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_c1f940();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_c1f940();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_c1f940();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 firstLeadingBit_c1f940() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_c1f940();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_c1f940();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_c1f940();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 firstLeadingBit_c1f940() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_c1f940();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_c1f940();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_c1f940();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.ir.glsl
index 72ca17c..7fb1336 100644
--- a/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstLeadingBit/f0779d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint firstLeadingBit_f0779d() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_f0779d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_f0779d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_f0779d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint firstLeadingBit_f0779d() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_f0779d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_f0779d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_f0779d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint firstLeadingBit_f0779d() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = firstLeadingBit_f0779d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstLeadingBit_f0779d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstLeadingBit_f0779d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.ir.glsl
index 72ca17c..01b1b36 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/110f2c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 firstTrailingBit_110f2c() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_110f2c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_110f2c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_110f2c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 firstTrailingBit_110f2c() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_110f2c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_110f2c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_110f2c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 firstTrailingBit_110f2c() {
+  uvec4 res = uvec4(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_110f2c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_110f2c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_110f2c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl
index 72ca17c..8737ed8 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int firstTrailingBit_3a2acc() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_3a2acc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_3a2acc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_3a2acc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int firstTrailingBit_3a2acc() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_3a2acc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_3a2acc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_3a2acc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int firstTrailingBit_3a2acc() {
+  int res = 0;
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_3a2acc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_3a2acc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_3a2acc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.ir.glsl
index 72ca17c..189bd70 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/45eb10.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 firstTrailingBit_45eb10() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_45eb10();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_45eb10();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_45eb10();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 firstTrailingBit_45eb10() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_45eb10();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_45eb10();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_45eb10();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 firstTrailingBit_45eb10() {
+  uvec2 res = uvec2(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_45eb10();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_45eb10();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_45eb10();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.ir.glsl
index 72ca17c..659f19a 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/47d475.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint firstTrailingBit_47d475() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_47d475();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_47d475();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_47d475();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint firstTrailingBit_47d475() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_47d475();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_47d475();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_47d475();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint firstTrailingBit_47d475() {
+  uint res = 0u;
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_47d475();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_47d475();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_47d475();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.ir.glsl
index 72ca17c..3170f6d 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/50c072.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 firstTrailingBit_50c072() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_50c072();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_50c072();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_50c072();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 firstTrailingBit_50c072() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_50c072();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_50c072();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_50c072();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 firstTrailingBit_50c072() {
+  ivec2 res = ivec2(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_50c072();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_50c072();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_50c072();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.ir.glsl
index 72ca17c..430505a 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/7496d6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 firstTrailingBit_7496d6() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_7496d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_7496d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_7496d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 firstTrailingBit_7496d6() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_7496d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_7496d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_7496d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 firstTrailingBit_7496d6() {
+  ivec3 res = ivec3(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_7496d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_7496d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_7496d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.ir.glsl
index 72ca17c..c2cf278 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/86551b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 firstTrailingBit_86551b() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_86551b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_86551b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_86551b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 firstTrailingBit_86551b() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_86551b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_86551b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_86551b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 firstTrailingBit_86551b() {
+  ivec4 res = ivec4(0);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_86551b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_86551b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_86551b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl
index 72ca17c..396e9e8 100644
--- a/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 firstTrailingBit_cb51ce() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_cb51ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_cb51ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_cb51ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 firstTrailingBit_cb51ce() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_cb51ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_cb51ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_cb51ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 firstTrailingBit_cb51ce() {
+  uvec3 res = uvec3(0u);
+  return res;
+}
+void main() {
+  prevent_dce = firstTrailingBit_cb51ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = firstTrailingBit_cb51ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = firstTrailingBit_cb51ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.ir.glsl
index d4bb1c9..34fac5a 100644
--- a/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/218952.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_218952() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  floor_218952();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_218952();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_218952();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_218952() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  floor_218952();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_218952();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_218952();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_218952() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  floor_218952();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_218952();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_218952();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.ir.glsl
index 72ca17c..dc7d194 100644
--- a/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/3802c0.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 floor_3802c0() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3802c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3802c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3802c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 floor_3802c0() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3802c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3802c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3802c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 floor_3802c0() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3802c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3802c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3802c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.ir.glsl
index 72ca17c..e4048ca 100644
--- a/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 floor_3bccc4() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3bccc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 floor_3bccc4() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3bccc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 floor_3bccc4() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3bccc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.ir.glsl
index 72ca17c..79c2507 100644
--- a/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/5fc9ac.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 floor_5fc9ac() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_5fc9ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 floor_5fc9ac() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_5fc9ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 floor_5fc9ac() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_5fc9ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.ir.glsl
index 72ca17c..822ea55 100644
--- a/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/60d7ea.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 floor_60d7ea() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_60d7ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 floor_60d7ea() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_60d7ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 floor_60d7ea() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_60d7ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.ir.glsl
index 72ca17c..50d7be5 100644
--- a/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/66f154.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float floor_66f154() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = floor_66f154();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_66f154();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_66f154();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float floor_66f154() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = floor_66f154();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_66f154();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_66f154();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float floor_66f154() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = floor_66f154();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_66f154();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_66f154();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.ir.glsl
index 72ca17c..0d41e43 100644
--- a/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/84658c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 floor_84658c() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = floor_84658c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_84658c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_84658c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 floor_84658c() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = floor_84658c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_84658c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_84658c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 floor_84658c() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = floor_84658c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_84658c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_84658c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.ir.glsl
index d4bb1c9..4a575c5 100644
--- a/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/953774.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_953774() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  floor_953774();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_953774();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_953774();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_953774() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  floor_953774();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_953774();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_953774();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_953774() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  floor_953774();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_953774();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_953774();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.ir.glsl
index 72ca17c..3e58b0d 100644
--- a/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/a2d31b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 floor_a2d31b() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_a2d31b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 floor_a2d31b() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_a2d31b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 floor_a2d31b() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_a2d31b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.ir.glsl
index 72ca17c..00a7313 100644
--- a/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/b6e09c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t floor_b6e09c() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_b6e09c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t floor_b6e09c() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_b6e09c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t floor_b6e09c() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_b6e09c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.ir.glsl
index d4bb1c9..c408af5 100644
--- a/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/dcd5a2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_dcd5a2() {
+  float res = 1.0f;
+}
+void main() {
+  floor_dcd5a2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_dcd5a2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_dcd5a2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_dcd5a2() {
+  float res = 1.0f;
+}
+void main() {
+  floor_dcd5a2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_dcd5a2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_dcd5a2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_dcd5a2() {
+  float res = 1.0f;
+}
+void main() {
+  floor_dcd5a2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_dcd5a2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_dcd5a2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.ir.glsl
index d4bb1c9..cf6416a 100644
--- a/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/floor/e585ef.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_e585ef() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  floor_e585ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_e585ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_e585ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_e585ef() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  floor_e585ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_e585ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_e585ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_e585ef() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  floor_e585ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_e585ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_e585ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.ir.glsl
index d4bb1c9..e2b4901 100644
--- a/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/143d5d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_143d5d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  fma_143d5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_143d5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_143d5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_143d5d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  fma_143d5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_143d5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_143d5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_143d5d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  fma_143d5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_143d5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_143d5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.ir.glsl
index d4bb1c9..78f3d2f 100644
--- a/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/1f5084.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_1f5084() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  fma_1f5084();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_1f5084();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_1f5084();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_1f5084() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  fma_1f5084();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_1f5084();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_1f5084();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_1f5084() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  fma_1f5084();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_1f5084();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_1f5084();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.ir.glsl
index 72ca17c..9326a16 100644
--- a/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/26a7a9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fma_26a7a9() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_26a7a9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fma_26a7a9() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_26a7a9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fma_26a7a9() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_26a7a9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.ir.glsl
index d4bb1c9..05c795b 100644
--- a/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/466442.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_466442() {
+  float res = 2.0f;
+}
+void main() {
+  fma_466442();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_466442();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_466442();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_466442() {
+  float res = 2.0f;
+}
+void main() {
+  fma_466442();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_466442();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_466442();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_466442() {
+  float res = 2.0f;
+}
+void main() {
+  fma_466442();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_466442();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_466442();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.ir.glsl
index 72ca17c..8de235b 100644
--- a/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/6a3283.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fma_6a3283() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = fma_6a3283();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_6a3283();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_6a3283();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fma_6a3283() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = fma_6a3283();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_6a3283();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_6a3283();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fma_6a3283() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = fma_6a3283();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_6a3283();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_6a3283();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.ir.glsl
index 72ca17c..aff14bac 100644
--- a/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/ab7818.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fma_ab7818() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = fma_ab7818();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_ab7818();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_ab7818();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fma_ab7818() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = fma_ab7818();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_ab7818();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_ab7818();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fma_ab7818() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = fma_ab7818();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_ab7818();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_ab7818();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.ir.glsl
index 72ca17c..81d95f4 100644
--- a/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/bf21b6.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fma_bf21b6() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_bf21b6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fma_bf21b6() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_bf21b6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fma_bf21b6() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_bf21b6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.ir.glsl
index 72ca17c..a3c5a8e 100644
--- a/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/c10ba3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fma_c10ba3() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c10ba3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fma_c10ba3() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c10ba3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fma_c10ba3() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c10ba3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.ir.glsl
index 72ca17c..d738aa1 100644
--- a/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/c8abb3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fma_c8abb3() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c8abb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fma_c8abb3() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c8abb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fma_c8abb3() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c8abb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.ir.glsl
index 72ca17c..8e2bc9a 100644
--- a/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/e17c5c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fma_e17c5c() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e17c5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fma_e17c5c() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e17c5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fma_e17c5c() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e17c5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.ir.glsl
index 72ca17c..cec9381 100644
--- a/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/e7abdc.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fma_e7abdc() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e7abdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fma_e7abdc() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e7abdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fma_e7abdc() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e7abdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.ir.glsl
index d4bb1c9..855d8e3 100644
--- a/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fma/eb25d7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_eb25d7() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  fma_eb25d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_eb25d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_eb25d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_eb25d7() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  fma_eb25d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_eb25d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_eb25d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_eb25d7() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  fma_eb25d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_eb25d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_eb25d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.ir.glsl
index 72ca17c..bbaf622 100644
--- a/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/181aa9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fract_181aa9() {
+  f16vec2 res = f16vec2(0.25hf);
+  return res;
+}
+void main() {
+  prevent_dce = fract_181aa9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_181aa9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_181aa9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fract_181aa9() {
+  f16vec2 res = f16vec2(0.25hf);
+  return res;
+}
+void main() {
+  prevent_dce = fract_181aa9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_181aa9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_181aa9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fract_181aa9() {
+  f16vec2 res = f16vec2(0.25hf);
+  return res;
+}
+void main() {
+  prevent_dce = fract_181aa9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_181aa9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_181aa9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.ir.glsl
index d4bb1c9..d518cd3 100644
--- a/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/2eddfe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_2eddfe() {
+  float res = 0.25f;
+}
+void main() {
+  fract_2eddfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_2eddfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_2eddfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_2eddfe() {
+  float res = 0.25f;
+}
+void main() {
+  fract_2eddfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_2eddfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_2eddfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_2eddfe() {
+  float res = 0.25f;
+}
+void main() {
+  fract_2eddfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_2eddfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_2eddfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.ir.glsl
index 72ca17c..7724242 100644
--- a/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/498c77.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fract_498c77() {
+  f16vec4 res = f16vec4(0.25hf);
+  return res;
+}
+void main() {
+  prevent_dce = fract_498c77();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_498c77();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_498c77();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fract_498c77() {
+  f16vec4 res = f16vec4(0.25hf);
+  return res;
+}
+void main() {
+  prevent_dce = fract_498c77();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_498c77();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_498c77();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fract_498c77() {
+  f16vec4 res = f16vec4(0.25hf);
+  return res;
+}
+void main() {
+  prevent_dce = fract_498c77();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_498c77();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_498c77();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.ir.glsl
index d4bb1c9..83e203c 100644
--- a/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/7e3f2d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_7e3f2d() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  fract_7e3f2d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_7e3f2d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_7e3f2d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_7e3f2d() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  fract_7e3f2d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_7e3f2d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_7e3f2d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_7e3f2d() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  fract_7e3f2d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_7e3f2d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_7e3f2d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.ir.glsl
index 72ca17c..745923d 100644
--- a/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/8bc1e9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fract_8bc1e9() {
+  vec4 res = vec4(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_8bc1e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fract_8bc1e9() {
+  vec4 res = vec4(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_8bc1e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fract_8bc1e9() {
+  vec4 res = vec4(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_8bc1e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.ir.glsl
index 72ca17c..71d72e9 100644
--- a/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/943cb1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fract_943cb1() {
+  vec2 res = vec2(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = fract_943cb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_943cb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_943cb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fract_943cb1() {
+  vec2 res = vec2(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = fract_943cb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_943cb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_943cb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fract_943cb1() {
+  vec2 res = vec2(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = fract_943cb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_943cb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_943cb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.ir.glsl
index 72ca17c..c210848 100644
--- a/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/958a1d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fract_958a1d() {
+  f16vec3 res = f16vec3(0.25hf);
+  return res;
+}
+void main() {
+  prevent_dce = fract_958a1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_958a1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_958a1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fract_958a1d() {
+  f16vec3 res = f16vec3(0.25hf);
+  return res;
+}
+void main() {
+  prevent_dce = fract_958a1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_958a1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_958a1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fract_958a1d() {
+  f16vec3 res = f16vec3(0.25hf);
+  return res;
+}
+void main() {
+  prevent_dce = fract_958a1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_958a1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_958a1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.ir.glsl
index 72ca17c..cde2415 100644
--- a/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/a49758.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fract_a49758() {
+  vec3 res = vec3(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = fract_a49758();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_a49758();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_a49758();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fract_a49758() {
+  vec3 res = vec3(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = fract_a49758();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_a49758();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_a49758();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fract_a49758() {
+  vec3 res = vec3(0.25f);
+  return res;
+}
+void main() {
+  prevent_dce = fract_a49758();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_a49758();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_a49758();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.ir.glsl
index 72ca17c..95d79a9 100644
--- a/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/eb38ce.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fract_eb38ce() {
+  float16_t res = 0.25hf;
+  return res;
+}
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_eb38ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fract_eb38ce() {
+  float16_t res = 0.25hf;
+  return res;
+}
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_eb38ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fract_eb38ce() {
+  float16_t res = 0.25hf;
+  return res;
+}
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_eb38ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.ir.glsl
index d4bb1c9..8638a81 100644
--- a/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/ed00ca.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed00ca() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  fract_ed00ca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed00ca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed00ca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed00ca() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  fract_ed00ca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed00ca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed00ca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed00ca() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  fract_ed00ca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed00ca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed00ca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.ir.glsl
index d4bb1c9..194fff8 100644
--- a/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/ed2f79.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed2f79() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  fract_ed2f79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed2f79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed2f79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed2f79() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  fract_ed2f79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed2f79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed2f79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed2f79() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  fract_ed2f79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed2f79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed2f79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.ir.glsl
index 72ca17c..3f9de62 100644
--- a/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/fract/fa5c71.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fract_fa5c71() {
+  float res = 0.25f;
+  return res;
+}
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_fa5c71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fract_fa5c71() {
+  float res = 0.25f;
+  return res;
+}
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_fa5c71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fract_fa5c71() {
+  float res = 0.25f;
+  return res;
+}
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_fa5c71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.ir.glsl
index d4bb1c9..8b09428 100644
--- a/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/34bbfb.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_34bbfb() {
+  frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1));
+}
+void main() {
+  frexp_34bbfb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_34bbfb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_34bbfb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_34bbfb() {
+  frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1));
+}
+void main() {
+  frexp_34bbfb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_34bbfb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_34bbfb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_34bbfb() {
+  frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1));
+}
+void main() {
+  frexp_34bbfb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_34bbfb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_34bbfb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.ir.glsl
index d4bb1c9..8f3d109 100644
--- a/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/3dd21e.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec4_f16 {
+  f16vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_3dd21e() {
+  frexp_result_vec4_f16 res = frexp_result_vec4_f16(f16vec4(0.5hf), ivec4(1));
+}
+void main() {
+  frexp_3dd21e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_3dd21e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_3dd21e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec4_f16 {
+  f16vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_3dd21e() {
+  frexp_result_vec4_f16 res = frexp_result_vec4_f16(f16vec4(0.5hf), ivec4(1));
+}
+void main() {
+  frexp_3dd21e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_3dd21e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_3dd21e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec4_f16 {
+  f16vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_3dd21e() {
+  frexp_result_vec4_f16 res = frexp_result_vec4_f16(f16vec4(0.5hf), ivec4(1));
+}
+void main() {
+  frexp_3dd21e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_3dd21e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_3dd21e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.ir.glsl
index d4bb1c9..2116040 100644
--- a/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/4b2200.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_4b2200() {
+  frexp_result_f32 res = frexp_result_f32(0.5f, 1);
+}
+void main() {
+  frexp_4b2200();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_4b2200();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_4b2200();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_4b2200() {
+  frexp_result_f32 res = frexp_result_f32(0.5f, 1);
+}
+void main() {
+  frexp_4b2200();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_4b2200();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_4b2200();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_4b2200() {
+  frexp_result_f32 res = frexp_result_f32(0.5f, 1);
+}
+void main() {
+  frexp_4b2200();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_4b2200();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_4b2200();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.ir.glsl
index d4bb1c9..f9ce1cf 100644
--- a/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/5257dd.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_f16 {
+  float16_t fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5257dd() {
+  frexp_result_f16 res = frexp_result_f16(0.5hf, 1);
+}
+void main() {
+  frexp_5257dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5257dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5257dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_f16 {
+  float16_t fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5257dd() {
+  frexp_result_f16 res = frexp_result_f16(0.5hf, 1);
+}
+void main() {
+  frexp_5257dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5257dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5257dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_f16 {
+  float16_t fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5257dd() {
+  frexp_result_f16 res = frexp_result_f16(0.5hf, 1);
+}
+void main() {
+  frexp_5257dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5257dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5257dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.ir.glsl
index d4bb1c9..31780fe 100644
--- a/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/5f47bf.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec2_f16 {
+  f16vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5f47bf() {
+  frexp_result_vec2_f16 res = frexp_result_vec2_f16(f16vec2(0.5hf), ivec2(1));
+}
+void main() {
+  frexp_5f47bf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5f47bf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5f47bf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec2_f16 {
+  f16vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5f47bf() {
+  frexp_result_vec2_f16 res = frexp_result_vec2_f16(f16vec2(0.5hf), ivec2(1));
+}
+void main() {
+  frexp_5f47bf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5f47bf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5f47bf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec2_f16 {
+  f16vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5f47bf() {
+  frexp_result_vec2_f16 res = frexp_result_vec2_f16(f16vec2(0.5hf), ivec2(1));
+}
+void main() {
+  frexp_5f47bf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5f47bf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5f47bf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.ir.glsl
index d4bb1c9..7a3237a 100644
--- a/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/6fb3ad.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_6fb3ad() {
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1));
+}
+void main() {
+  frexp_6fb3ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_6fb3ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_6fb3ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_6fb3ad() {
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1));
+}
+void main() {
+  frexp_6fb3ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_6fb3ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_6fb3ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_6fb3ad() {
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1));
+}
+void main() {
+  frexp_6fb3ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_6fb3ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_6fb3ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.ir.glsl
index d4bb1c9..d6091ff 100644
--- a/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/77af93.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_77af93() {
+  frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1));
+}
+void main() {
+  frexp_77af93();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_77af93();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_77af93();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_77af93() {
+  frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1));
+}
+void main() {
+  frexp_77af93();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_77af93();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_77af93();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_77af93() {
+  frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1));
+}
+void main() {
+  frexp_77af93();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_77af93();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_77af93();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.ir.glsl
index d4bb1c9..3d92b92 100644
--- a/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/979800.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_979800() {
+  frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1));
+}
+void main() {
+  frexp_979800();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_979800();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_979800();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_979800() {
+  frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1));
+}
+void main() {
+  frexp_979800();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_979800();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_979800();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_979800() {
+  frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1));
+}
+void main() {
+  frexp_979800();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_979800();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_979800();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.ir.glsl
index d4bb1c9..93f4501 100644
--- a/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/ae4a66.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec3_f16 {
+  f16vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_ae4a66() {
+  frexp_result_vec3_f16 res = frexp_result_vec3_f16(f16vec3(0.5hf), ivec3(1));
+}
+void main() {
+  frexp_ae4a66();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_ae4a66();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_ae4a66();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec3_f16 {
+  f16vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_ae4a66() {
+  frexp_result_vec3_f16 res = frexp_result_vec3_f16(f16vec3(0.5hf), ivec3(1));
+}
+void main() {
+  frexp_ae4a66();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_ae4a66();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_ae4a66();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec3_f16 {
+  f16vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_ae4a66() {
+  frexp_result_vec3_f16 res = frexp_result_vec3_f16(f16vec3(0.5hf), ivec3(1));
+}
+void main() {
+  frexp_ae4a66();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_ae4a66();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_ae4a66();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.ir.glsl
index d4bb1c9..d919496 100644
--- a/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/bee870.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bee870() {
+  frexp_result_f32 res = frexp_result_f32(0.5f, 1);
+}
+void main() {
+  frexp_bee870();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bee870();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bee870();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bee870() {
+  frexp_result_f32 res = frexp_result_f32(0.5f, 1);
+}
+void main() {
+  frexp_bee870();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bee870();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bee870();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bee870() {
+  frexp_result_f32 res = frexp_result_f32(0.5f, 1);
+}
+void main() {
+  frexp_bee870();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bee870();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bee870();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.ir.glsl
index d4bb1c9..8b865a6 100644
--- a/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/bf45ae.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bf45ae() {
+  frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1));
+}
+void main() {
+  frexp_bf45ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bf45ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bf45ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bf45ae() {
+  frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1));
+}
+void main() {
+  frexp_bf45ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bf45ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bf45ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bf45ae() {
+  frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1));
+}
+void main() {
+  frexp_bf45ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bf45ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bf45ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.ir.glsl
index d4bb1c9..2c4321f 100644
--- a/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/frexp/eb2421.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_eb2421() {
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1));
+}
+void main() {
+  frexp_eb2421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_eb2421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_eb2421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_eb2421() {
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1));
+}
+void main() {
+  frexp_eb2421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_eb2421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_eb2421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_eb2421() {
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1));
+}
+void main() {
+  frexp_eb2421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_eb2421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_eb2421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inputAttachmentLoad/315bf5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inputAttachmentLoad/315bf5.wgsl.expected.ir.glsl
index c7873ff..3c33789 100644
--- a/test/tint/builtins/gen/literal/inputAttachmentLoad/315bf5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inputAttachmentLoad/315bf5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::InputAttachment
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/inputAttachmentLoad/c38b2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inputAttachmentLoad/c38b2f.wgsl.expected.ir.glsl
index c7873ff..3c33789 100644
--- a/test/tint/builtins/gen/literal/inputAttachmentLoad/c38b2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inputAttachmentLoad/c38b2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::InputAttachment
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/inputAttachmentLoad/fc4d97.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inputAttachmentLoad/fc4d97.wgsl.expected.ir.glsl
index c7873ff..3c33789 100644
--- a/test/tint/builtins/gen/literal/inputAttachmentLoad/fc4d97.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inputAttachmentLoad/fc4d97.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::InputAttachment
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.ir.glsl
index 72ca17c..3633bb3 100644
--- a/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/insertBits/3c7ba5.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 insertBits_3c7ba5() {
+  uvec2 res = uvec2(3u);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_3c7ba5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_3c7ba5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_3c7ba5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 insertBits_3c7ba5() {
+  uvec2 res = uvec2(3u);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_3c7ba5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_3c7ba5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_3c7ba5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 insertBits_3c7ba5() {
+  uvec2 res = uvec2(3u);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_3c7ba5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_3c7ba5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_3c7ba5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.ir.glsl
index 72ca17c..7266173 100644
--- a/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/insertBits/428b0b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 insertBits_428b0b() {
+  ivec3 res = ivec3(3);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_428b0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_428b0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_428b0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 insertBits_428b0b() {
+  ivec3 res = ivec3(3);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_428b0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_428b0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_428b0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 insertBits_428b0b() {
+  ivec3 res = ivec3(3);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_428b0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_428b0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_428b0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.ir.glsl
index 72ca17c..5004570 100644
--- a/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/insertBits/51ede1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 insertBits_51ede1() {
+  uvec4 res = uvec4(3u);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_51ede1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_51ede1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_51ede1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 insertBits_51ede1() {
+  uvec4 res = uvec4(3u);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_51ede1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_51ede1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_51ede1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 insertBits_51ede1() {
+  uvec4 res = uvec4(3u);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_51ede1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_51ede1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_51ede1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.ir.glsl
index 72ca17c..0d8eca8 100644
--- a/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/insertBits/65468b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int insertBits_65468b() {
+  int res = 3;
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_65468b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_65468b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_65468b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int insertBits_65468b() {
+  int res = 3;
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_65468b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_65468b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_65468b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int insertBits_65468b() {
+  int res = 3;
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_65468b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_65468b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_65468b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.ir.glsl
index 72ca17c..5526c80 100644
--- a/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/insertBits/87826b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 insertBits_87826b() {
+  uvec3 res = uvec3(3u);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_87826b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_87826b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_87826b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 insertBits_87826b() {
+  uvec3 res = uvec3(3u);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_87826b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_87826b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_87826b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 insertBits_87826b() {
+  uvec3 res = uvec3(3u);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_87826b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_87826b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_87826b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.ir.glsl
index 72ca17c..3f4cf66 100644
--- a/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/insertBits/d86978.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 insertBits_d86978() {
+  ivec4 res = ivec4(3);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_d86978();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_d86978();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_d86978();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 insertBits_d86978() {
+  ivec4 res = ivec4(3);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_d86978();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_d86978();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_d86978();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 insertBits_d86978() {
+  ivec4 res = ivec4(3);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_d86978();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_d86978();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_d86978();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.ir.glsl
index 72ca17c..662727f 100644
--- a/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/insertBits/e3e3a2.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint insertBits_e3e3a2() {
+  uint res = 3u;
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_e3e3a2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_e3e3a2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_e3e3a2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint insertBits_e3e3a2() {
+  uint res = 3u;
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_e3e3a2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_e3e3a2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_e3e3a2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint insertBits_e3e3a2() {
+  uint res = 3u;
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_e3e3a2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_e3e3a2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_e3e3a2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.ir.glsl
index 72ca17c..3c719d1 100644
--- a/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/insertBits/fe6ba6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 insertBits_fe6ba6() {
+  ivec2 res = ivec2(3);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_fe6ba6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_fe6ba6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_fe6ba6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 insertBits_fe6ba6() {
+  ivec2 res = ivec2(3);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_fe6ba6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_fe6ba6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_fe6ba6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 insertBits_fe6ba6() {
+  ivec2 res = ivec2(3);
+  return res;
+}
+void main() {
+  prevent_dce = insertBits_fe6ba6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = insertBits_fe6ba6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = insertBits_fe6ba6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.ir.glsl
index d4bb1c9..6789f35 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/07a6fe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_07a6fe() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  inverseSqrt_07a6fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_07a6fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_07a6fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_07a6fe() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  inverseSqrt_07a6fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_07a6fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_07a6fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_07a6fe() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  inverseSqrt_07a6fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_07a6fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_07a6fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.ir.glsl
index 72ca17c..b5158b2 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/440300.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t inverseSqrt_440300() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_440300();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t inverseSqrt_440300() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_440300();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t inverseSqrt_440300() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_440300();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl
index d4bb1c9..7a7bdec 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_4ca6d6() {
+  float res = 1.0f;
+}
+void main() {
+  inverseSqrt_4ca6d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_4ca6d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_4ca6d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_4ca6d6() {
+  float res = 1.0f;
+}
+void main() {
+  inverseSqrt_4ca6d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_4ca6d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_4ca6d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_4ca6d6() {
+  float res = 1.0f;
+}
+void main() {
+  inverseSqrt_4ca6d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_4ca6d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_4ca6d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.ir.glsl
index 72ca17c..ad1a5cb 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/5f51f8.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 inverseSqrt_5f51f8() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_5f51f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 inverseSqrt_5f51f8() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_5f51f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 inverseSqrt_5f51f8() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_5f51f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.ir.glsl
index d4bb1c9..0a9ea6b 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/6d0783.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_6d0783() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  inverseSqrt_6d0783();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_6d0783();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_6d0783();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_6d0783() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  inverseSqrt_6d0783();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_6d0783();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_6d0783();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_6d0783() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  inverseSqrt_6d0783();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_6d0783();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_6d0783();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.ir.glsl
index 72ca17c..64b92c5 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/84407e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float inverseSqrt_84407e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_84407e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float inverseSqrt_84407e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_84407e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float inverseSqrt_84407e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_84407e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl
index 72ca17c..197dcb2 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 inverseSqrt_8f2bd2() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_8f2bd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 inverseSqrt_8f2bd2() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_8f2bd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 inverseSqrt_8f2bd2() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_8f2bd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.ir.glsl
index 72ca17c..939c7d8 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/b197b1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 inverseSqrt_b197b1() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b197b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 inverseSqrt_b197b1() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b197b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 inverseSqrt_b197b1() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b197b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.ir.glsl
index 72ca17c..f2cf265 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/b85ebd.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 inverseSqrt_b85ebd() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b85ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 inverseSqrt_b85ebd() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b85ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 inverseSqrt_b85ebd() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b85ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.ir.glsl
index 72ca17c..a30c8db 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/c22347.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 inverseSqrt_c22347() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_c22347();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 inverseSqrt_c22347() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_c22347();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 inverseSqrt_c22347() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_c22347();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.ir.glsl
index 72ca17c..c1c2cc3 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/cbdc70.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 inverseSqrt_cbdc70() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_cbdc70();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 inverseSqrt_cbdc70() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_cbdc70();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 inverseSqrt_cbdc70() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_cbdc70();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.ir.glsl
index d4bb1c9..f084946 100644
--- a/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/inverseSqrt/f60c1c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_f60c1c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  inverseSqrt_f60c1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_f60c1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_f60c1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_f60c1c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  inverseSqrt_f60c1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_f60c1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_f60c1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_f60c1c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  inverseSqrt_f60c1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_f60c1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_f60c1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.ir.glsl
index 72ca17c..459e6bd 100644
--- a/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/082c1f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_082c1f() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_082c1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_082c1f() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_082c1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_082c1f() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_082c1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.ir.glsl
index 72ca17c..c2ac3f1 100644
--- a/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/217a31.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_217a31() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_217a31();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_217a31() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_217a31();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_217a31() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_217a31();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.ir.glsl
index d4bb1c9..a70838e 100644
--- a/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/2bfc68.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2bfc68() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ldexp_2bfc68();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2bfc68();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2bfc68();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2bfc68() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ldexp_2bfc68();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2bfc68();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2bfc68();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2bfc68() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ldexp_2bfc68();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2bfc68();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2bfc68();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.ir.glsl
index d4bb1c9..234fb63 100644
--- a/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/2c6370.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2c6370() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ldexp_2c6370();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2c6370();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2c6370();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2c6370() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ldexp_2c6370();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2c6370();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2c6370();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2c6370() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ldexp_2c6370();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2c6370();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2c6370();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.ir.glsl
index d4bb1c9..579e9ce 100644
--- a/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/376938.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_376938() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ldexp_376938();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_376938();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_376938();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_376938() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ldexp_376938();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_376938();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_376938();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_376938() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ldexp_376938();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_376938();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_376938();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.ir.glsl
index 72ca17c..ec238ee 100644
--- a/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/3d90b4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_3d90b4() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_3d90b4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_3d90b4() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_3d90b4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_3d90b4() {
+  f16vec2 res = f16vec2(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_3d90b4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.ir.glsl
index d4bb1c9..f25889e 100644
--- a/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/4a3ad9.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_4a3ad9() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ldexp_4a3ad9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_4a3ad9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_4a3ad9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_4a3ad9() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ldexp_4a3ad9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_4a3ad9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_4a3ad9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_4a3ad9() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ldexp_4a3ad9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_4a3ad9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_4a3ad9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.ir.glsl
index 72ca17c..38ec658 100644
--- a/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/593ff3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_593ff3() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_593ff3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_593ff3() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_593ff3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_593ff3() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_593ff3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.ir.glsl
index 72ca17c..2f8fcf2 100644
--- a/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/624e0c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_624e0c() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_624e0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_624e0c() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_624e0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_624e0c() {
+  float16_t res = 2.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_624e0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.ir.glsl
index 72ca17c..145be1b 100644
--- a/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/65a7bd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_65a7bd() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_65a7bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_65a7bd() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_65a7bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_65a7bd() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_65a7bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.ir.glsl
index d4bb1c9..c5224e8 100644
--- a/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/71ebe3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_71ebe3() {
+  float res = 2.0f;
+}
+void main() {
+  ldexp_71ebe3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_71ebe3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_71ebe3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_71ebe3() {
+  float res = 2.0f;
+}
+void main() {
+  ldexp_71ebe3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_71ebe3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_71ebe3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_71ebe3() {
+  float res = 2.0f;
+}
+void main() {
+  ldexp_71ebe3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_71ebe3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_71ebe3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.ir.glsl
index 72ca17c..6192cc4 100644
--- a/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/7485ce.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_7485ce() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7485ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_7485ce() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7485ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_7485ce() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7485ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.ir.glsl
index 72ca17c..9c7b7c3 100644
--- a/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/7fa13c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_7fa13c() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7fa13c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_7fa13c() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7fa13c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_7fa13c() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7fa13c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.ir.glsl
index 72ca17c..5a11830 100644
--- a/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/8a0c2f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_8a0c2f() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8a0c2f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_8a0c2f() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8a0c2f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_8a0c2f() {
+  f16vec4 res = f16vec4(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8a0c2f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.ir.glsl
index 72ca17c..e7cad3c 100644
--- a/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/8e43e9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_8e43e9() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8e43e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_8e43e9() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8e43e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_8e43e9() {
+  f16vec3 res = f16vec3(2.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8e43e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.ir.glsl
index 72ca17c..172fdff 100644
--- a/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/a22679.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_a22679() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a22679();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_a22679() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a22679();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_a22679() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a22679();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.ir.glsl
index 72ca17c..71a98d0 100644
--- a/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/a31cdc.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_a31cdc() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a31cdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_a31cdc() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a31cdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_a31cdc() {
+  vec3 res = vec3(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a31cdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.ir.glsl
index d4bb1c9..2c2d155 100644
--- a/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/a6126e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_a6126e() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ldexp_a6126e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_a6126e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_a6126e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_a6126e() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ldexp_a6126e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_a6126e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_a6126e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_a6126e() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ldexp_a6126e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_a6126e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_a6126e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.ir.glsl
index 72ca17c..fe8681d 100644
--- a/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/abd718.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_abd718() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_abd718();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_abd718() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_abd718();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_abd718() {
+  vec2 res = vec2(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_abd718();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.ir.glsl
index 72ca17c..c85f500 100644
--- a/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/c9d0b7.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_c9d0b7() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_c9d0b7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_c9d0b7() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_c9d0b7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_c9d0b7() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_c9d0b7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.ir.glsl
index d4bb1c9..12cd25c 100644
--- a/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/cb0faf.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_cb0faf() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ldexp_cb0faf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_cb0faf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_cb0faf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_cb0faf() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ldexp_cb0faf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_cb0faf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_cb0faf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_cb0faf() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ldexp_cb0faf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_cb0faf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_cb0faf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.ir.glsl
index 72ca17c..9d8c679 100644
--- a/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/cc9cde.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_cc9cde() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_cc9cde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_cc9cde() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_cc9cde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_cc9cde() {
+  vec4 res = vec4(2.0f);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_cc9cde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.ir.glsl
index 72ca17c..2c2ab72 100644
--- a/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/db8b49.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_db8b49() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_db8b49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_db8b49() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_db8b49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_db8b49() {
+  float res = 2.0f;
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_db8b49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.ir.glsl
index d4bb1c9..1c7d595 100644
--- a/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/ldexp/fdbc7b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_fdbc7b() {
+  float res = 2.0f;
+}
+void main() {
+  ldexp_fdbc7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_fdbc7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_fdbc7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_fdbc7b() {
+  float res = 2.0f;
+}
+void main() {
+  ldexp_fdbc7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_fdbc7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_fdbc7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_fdbc7b() {
+  float res = 2.0f;
+}
+void main() {
+  ldexp_fdbc7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_fdbc7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_fdbc7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/056071.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/056071.wgsl.expected.ir.glsl
index 72ca17c..991467b 100644
--- a/test/tint/builtins/gen/literal/length/056071.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/056071.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_056071() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_056071();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_056071();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_056071();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_056071() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_056071();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_056071();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_056071();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_056071() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_056071();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_056071();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_056071();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.ir.glsl
index 72ca17c..b80d8b5 100644
--- a/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/3f0e13.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_3f0e13() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_3f0e13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_3f0e13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_3f0e13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_3f0e13() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_3f0e13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_3f0e13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_3f0e13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_3f0e13() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_3f0e13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_3f0e13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_3f0e13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.ir.glsl
index d4bb1c9..6e8b054 100644
--- a/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_555aba() {
+  float res = 0.0f;
+}
+void main() {
+  length_555aba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_555aba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_555aba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_555aba() {
+  float res = 0.0f;
+}
+void main() {
+  length_555aba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_555aba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_555aba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_555aba() {
+  float res = 0.0f;
+}
+void main() {
+  length_555aba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_555aba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_555aba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.ir.glsl
index 72ca17c..f382963 100644
--- a/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/5b1a9b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_5b1a9b() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_5b1a9b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_5b1a9b() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_5b1a9b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_5b1a9b() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_5b1a9b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.ir.glsl
index 72ca17c..d24615e 100644
--- a/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/602a17.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_602a17() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_602a17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_602a17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_602a17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_602a17() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_602a17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_602a17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_602a17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_602a17() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_602a17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_602a17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_602a17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.ir.glsl
index d4bb1c9..e2680cf 100644
--- a/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/7b4741.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_7b4741() {
+  float res = 0.0f;
+}
+void main() {
+  length_7b4741();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_7b4741();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_7b4741();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_7b4741() {
+  float res = 0.0f;
+}
+void main() {
+  length_7b4741();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_7b4741();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_7b4741();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_7b4741() {
+  float res = 0.0f;
+}
+void main() {
+  length_7b4741();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_7b4741();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_7b4741();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.ir.glsl
index d4bb1c9..c1c8dc4 100644
--- a/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/936ad5.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_936ad5() {
+  float res = 0.0f;
+}
+void main() {
+  length_936ad5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_936ad5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_936ad5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_936ad5() {
+  float res = 0.0f;
+}
+void main() {
+  length_936ad5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_936ad5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_936ad5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_936ad5() {
+  float res = 0.0f;
+}
+void main() {
+  length_936ad5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_936ad5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_936ad5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.ir.glsl
index 72ca17c..04d35a8 100644
--- a/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/afde8b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_afde8b() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_afde8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_afde8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_afde8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_afde8b() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_afde8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_afde8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_afde8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_afde8b() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_afde8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_afde8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_afde8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.ir.glsl
index 72ca17c..a25f7fd 100644
--- a/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/ba16d6.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_ba16d6() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_ba16d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_ba16d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_ba16d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_ba16d6() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_ba16d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_ba16d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_ba16d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_ba16d6() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_ba16d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_ba16d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_ba16d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.ir.glsl
index 72ca17c..7f6826e 100644
--- a/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/becebf.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_becebf() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_becebf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_becebf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_becebf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_becebf() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_becebf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_becebf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_becebf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_becebf() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = length_becebf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_becebf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_becebf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.ir.glsl
index 72ca17c..c6c2c2e 100644
--- a/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/c158da.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_c158da() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_c158da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_c158da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_c158da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_c158da() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_c158da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_c158da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_c158da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_c158da() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = length_c158da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_c158da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_c158da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.ir.glsl
index d4bb1c9..f4534bc 100644
--- a/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/length/c2c544.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_c2c544() {
+  float res = 0.0f;
+}
+void main() {
+  length_c2c544();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_c2c544();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_c2c544();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_c2c544() {
+  float res = 0.0f;
+}
+void main() {
+  length_c2c544();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_c2c544();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_c2c544();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_c2c544() {
+  float res = 0.0f;
+}
+void main() {
+  length_c2c544();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_c2c544();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_c2c544();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.ir.glsl
index 72ca17c..3eb08b9 100644
--- a/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/3da25a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log_3da25a() {
+  vec4 res = vec4(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log_3da25a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_3da25a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_3da25a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log_3da25a() {
+  vec4 res = vec4(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log_3da25a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_3da25a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_3da25a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log_3da25a() {
+  vec4 res = vec4(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log_3da25a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_3da25a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_3da25a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/655989.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/655989.wgsl.expected.ir.glsl
index d4bb1c9..c89faac 100644
--- a/test/tint/builtins/gen/literal/log/655989.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/655989.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_655989() {
+  float res = 0.0f;
+}
+void main() {
+  log_655989();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_655989();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_655989();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_655989() {
+  float res = 0.0f;
+}
+void main() {
+  log_655989();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_655989();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_655989();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_655989() {
+  float res = 0.0f;
+}
+void main() {
+  log_655989();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_655989();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_655989();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.ir.glsl
index d4bb1c9..e306295 100644
--- a/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/697e1d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_697e1d() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log_697e1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_697e1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_697e1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_697e1d() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log_697e1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_697e1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_697e1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_697e1d() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log_697e1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_697e1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_697e1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.ir.glsl
index 72ca17c..09beb30 100644
--- a/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/6ff86f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log_6ff86f() {
+  f16vec3 res = f16vec3(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log_6ff86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_6ff86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_6ff86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log_6ff86f() {
+  f16vec3 res = f16vec3(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log_6ff86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_6ff86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_6ff86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log_6ff86f() {
+  f16vec3 res = f16vec3(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log_6ff86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_6ff86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_6ff86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.ir.glsl
index 72ca17c..a2e7bfa 100644
--- a/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/7114a6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log_7114a6() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = log_7114a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_7114a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_7114a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log_7114a6() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = log_7114a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_7114a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_7114a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log_7114a6() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = log_7114a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_7114a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_7114a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.ir.glsl
index 72ca17c..7e12dca 100644
--- a/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/8f0e32.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log_8f0e32() {
+  f16vec2 res = f16vec2(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log_8f0e32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_8f0e32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_8f0e32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log_8f0e32() {
+  f16vec2 res = f16vec2(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log_8f0e32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_8f0e32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_8f0e32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log_8f0e32() {
+  f16vec2 res = f16vec2(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log_8f0e32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_8f0e32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_8f0e32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.ir.glsl
index 72ca17c..d4ce37e 100644
--- a/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/b2ce28.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log_b2ce28() {
+  vec2 res = vec2(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log_b2ce28();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_b2ce28();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_b2ce28();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log_b2ce28() {
+  vec2 res = vec2(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log_b2ce28();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_b2ce28();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_b2ce28();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log_b2ce28() {
+  vec2 res = vec2(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log_b2ce28();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_b2ce28();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_b2ce28();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.ir.glsl
index d4bb1c9..d68197c 100644
--- a/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/b8088d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_b8088d() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log_b8088d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_b8088d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_b8088d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_b8088d() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log_b8088d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_b8088d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_b8088d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_b8088d() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log_b8088d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_b8088d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_b8088d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.ir.glsl
index 72ca17c..29c0664 100644
--- a/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/c9f489.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log_c9f489() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = log_c9f489();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_c9f489();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_c9f489();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log_c9f489() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = log_c9f489();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_c9f489();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_c9f489();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log_c9f489() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = log_c9f489();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_c9f489();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_c9f489();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.ir.glsl
index 72ca17c..27e898f 100644
--- a/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/cdbdc1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log_cdbdc1() {
+  f16vec4 res = f16vec4(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_cdbdc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log_cdbdc1() {
+  f16vec4 res = f16vec4(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_cdbdc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log_cdbdc1() {
+  f16vec4 res = f16vec4(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_cdbdc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.ir.glsl
index 72ca17c..6d76c5a 100644
--- a/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/f4c570.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log_f4c570() {
+  vec3 res = vec3(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log_f4c570();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_f4c570();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_f4c570();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log_f4c570() {
+  vec3 res = vec3(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log_f4c570();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_f4c570();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_f4c570();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log_f4c570() {
+  vec3 res = vec3(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log_f4c570();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_f4c570();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_f4c570();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.ir.glsl
index d4bb1c9..35b66ec 100644
--- a/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log/f60cc7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_f60cc7() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log_f60cc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_f60cc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_f60cc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_f60cc7() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log_f60cc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_f60cc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_f60cc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_f60cc7() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log_f60cc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_f60cc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_f60cc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.ir.glsl
index d4bb1c9..d281732 100644
--- a/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/0fbd39.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_0fbd39() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log2_0fbd39();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_0fbd39();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_0fbd39();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_0fbd39() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log2_0fbd39();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_0fbd39();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_0fbd39();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_0fbd39() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log2_0fbd39();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_0fbd39();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_0fbd39();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.ir.glsl
index 72ca17c..fe4d903 100644
--- a/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/38b478.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log2_38b478() {
+  f16vec3 res = f16vec3(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log2_38b478();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_38b478();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_38b478();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log2_38b478() {
+  f16vec3 res = f16vec3(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log2_38b478();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_38b478();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_38b478();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log2_38b478() {
+  f16vec3 res = f16vec3(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log2_38b478();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_38b478();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_38b478();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.ir.glsl
index 72ca17c..4c8fd5e 100644
--- a/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/4036ed.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log2_4036ed() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = log2_4036ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_4036ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_4036ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log2_4036ed() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = log2_4036ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_4036ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_4036ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log2_4036ed() {
+  float res = 0.0f;
+  return res;
+}
+void main() {
+  prevent_dce = log2_4036ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_4036ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_4036ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.ir.glsl
index d4bb1c9..1913b73 100644
--- a/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/5b464b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_5b464b() {
+  float res = 0.0f;
+}
+void main() {
+  log2_5b464b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_5b464b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_5b464b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_5b464b() {
+  float res = 0.0f;
+}
+void main() {
+  log2_5b464b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_5b464b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_5b464b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_5b464b() {
+  float res = 0.0f;
+}
+void main() {
+  log2_5b464b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_5b464b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_5b464b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.ir.glsl
index d4bb1c9..6b1d943 100644
--- a/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/6b8954.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_6b8954() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log2_6b8954();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_6b8954();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_6b8954();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_6b8954() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log2_6b8954();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_6b8954();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_6b8954();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_6b8954() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log2_6b8954();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_6b8954();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_6b8954();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.ir.glsl
index 72ca17c..07f298d 100644
--- a/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/776088.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log2_776088() {
+  f16vec4 res = f16vec4(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log2_776088();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_776088();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_776088();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log2_776088() {
+  f16vec4 res = f16vec4(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log2_776088();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_776088();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_776088();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log2_776088() {
+  f16vec4 res = f16vec4(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log2_776088();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_776088();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_776088();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.ir.glsl
index 72ca17c..7f256c6 100644
--- a/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/8c10b3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log2_8c10b3() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_8c10b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log2_8c10b3() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_8c10b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log2_8c10b3() {
+  float16_t res = 0.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_8c10b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.ir.glsl
index 72ca17c..aa5885f 100644
--- a/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/902988.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log2_902988() {
+  vec4 res = vec4(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log2_902988();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_902988();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_902988();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log2_902988() {
+  vec4 res = vec4(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log2_902988();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_902988();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_902988();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log2_902988() {
+  vec4 res = vec4(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log2_902988();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_902988();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_902988();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.ir.glsl
index d4bb1c9..fa83fbd 100644
--- a/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/a52bbb.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_a52bbb() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log2_a52bbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_a52bbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_a52bbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_a52bbb() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log2_a52bbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_a52bbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_a52bbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_a52bbb() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log2_a52bbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_a52bbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_a52bbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.ir.glsl
index 72ca17c..793a53e 100644
--- a/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/adb233.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log2_adb233() {
+  vec3 res = vec3(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log2_adb233();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_adb233();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_adb233();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log2_adb233() {
+  vec3 res = vec3(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log2_adb233();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_adb233();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_adb233();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log2_adb233() {
+  vec3 res = vec3(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log2_adb233();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_adb233();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_adb233();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.ir.glsl
index 72ca17c..5ec1f85 100644
--- a/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/aea659.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log2_aea659() {
+  vec2 res = vec2(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log2_aea659();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_aea659();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_aea659();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log2_aea659() {
+  vec2 res = vec2(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log2_aea659();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_aea659();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_aea659();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log2_aea659() {
+  vec2 res = vec2(0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = log2_aea659();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_aea659();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_aea659();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.ir.glsl
index 72ca17c..937db3e 100644
--- a/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/log2/fb9f0b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log2_fb9f0b() {
+  f16vec2 res = f16vec2(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_fb9f0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log2_fb9f0b() {
+  f16vec2 res = f16vec2(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_fb9f0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log2_fb9f0b() {
+  f16vec2 res = f16vec2(0.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_fb9f0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.ir.glsl
index d4bb1c9..8f78001 100644
--- a/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/067f3a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_067f3a() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  max_067f3a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_067f3a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_067f3a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_067f3a() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  max_067f3a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_067f3a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_067f3a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_067f3a() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  max_067f3a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_067f3a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_067f3a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.ir.glsl
index 72ca17c..cb3fade 100644
--- a/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/0c0aae.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint max_0c0aae() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = max_0c0aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_0c0aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_0c0aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint max_0c0aae() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = max_0c0aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_0c0aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_0c0aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint max_0c0aae() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = max_0c0aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_0c0aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_0c0aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.ir.glsl
index 72ca17c..8903939 100644
--- a/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/111ac0.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t max_111ac0() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = max_111ac0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_111ac0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_111ac0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t max_111ac0() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = max_111ac0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_111ac0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_111ac0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t max_111ac0() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = max_111ac0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_111ac0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_111ac0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.ir.glsl
index d4bb1c9..c904a1a 100644
--- a/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/19070a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_19070a() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  max_19070a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_19070a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_19070a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_19070a() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  max_19070a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_19070a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_19070a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_19070a() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  max_19070a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_19070a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_19070a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.ir.glsl
index 72ca17c..f27e7cd 100644
--- a/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/25eafe.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 max_25eafe() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = max_25eafe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_25eafe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_25eafe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 max_25eafe() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = max_25eafe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_25eafe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_25eafe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 max_25eafe() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = max_25eafe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_25eafe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_25eafe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/320815.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/320815.wgsl.expected.ir.glsl
index 72ca17c..c61ed11 100644
--- a/test/tint/builtins/gen/literal/max/320815.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/320815.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 max_320815() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = max_320815();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_320815();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_320815();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 max_320815() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = max_320815();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_320815();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_320815();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 max_320815() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = max_320815();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_320815();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_320815();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.ir.glsl
index 72ca17c..e54b9d1 100644
--- a/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/34956e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 max_34956e() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = max_34956e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_34956e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_34956e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 max_34956e() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = max_34956e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_34956e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_34956e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 max_34956e() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = max_34956e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_34956e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_34956e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/445169.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/445169.wgsl.expected.ir.glsl
index 72ca17c..233755c 100644
--- a/test/tint/builtins/gen/literal/max/445169.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/445169.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 max_445169() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = max_445169();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_445169();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_445169();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 max_445169() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = max_445169();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_445169();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_445169();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 max_445169() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = max_445169();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_445169();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_445169();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.ir.glsl
index 72ca17c..f76e8eb 100644
--- a/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/44a39d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float max_44a39d() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = max_44a39d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_44a39d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_44a39d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float max_44a39d() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = max_44a39d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_44a39d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_44a39d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float max_44a39d() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = max_44a39d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_44a39d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_44a39d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.ir.glsl
index 72ca17c..0e99dd5 100644
--- a/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/453e04.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 max_453e04() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = max_453e04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_453e04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_453e04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 max_453e04() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = max_453e04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_453e04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_453e04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 max_453e04() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = max_453e04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_453e04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_453e04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/462050.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/462050.wgsl.expected.ir.glsl
index 72ca17c..bc72f7f 100644
--- a/test/tint/builtins/gen/literal/max/462050.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/462050.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 max_462050() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = max_462050();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_462050();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_462050();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 max_462050() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = max_462050();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_462050();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_462050();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 max_462050() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = max_462050();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_462050();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_462050();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.ir.glsl
index d4bb1c9..24c03df 100644
--- a/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/482d23.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_482d23() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  max_482d23();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_482d23();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_482d23();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_482d23() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  max_482d23();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_482d23();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_482d23();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_482d23() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  max_482d23();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_482d23();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_482d23();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.ir.glsl
index 72ca17c..89ea552 100644
--- a/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/4883ac.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 max_4883ac() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = max_4883ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_4883ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_4883ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 max_4883ac() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = max_4883ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_4883ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_4883ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 max_4883ac() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = max_4883ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_4883ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_4883ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.ir.glsl
index d4bb1c9..9005aff 100644
--- a/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/4bbff2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_4bbff2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  max_4bbff2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_4bbff2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_4bbff2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_4bbff2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  max_4bbff2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_4bbff2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_4bbff2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_4bbff2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  max_4bbff2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_4bbff2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_4bbff2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.ir.glsl
index 72ca17c..bc93b5c 100644
--- a/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/85e6bc.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 max_85e6bc() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = max_85e6bc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_85e6bc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_85e6bc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 max_85e6bc() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = max_85e6bc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_85e6bc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_85e6bc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 max_85e6bc() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = max_85e6bc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_85e6bc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_85e6bc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.ir.glsl
index d4bb1c9..997dd73 100644
--- a/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/a1b196.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_a1b196() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  max_a1b196();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_a1b196();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_a1b196();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_a1b196() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  max_a1b196();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_a1b196();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_a1b196();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_a1b196() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  max_a1b196();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_a1b196();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_a1b196();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.ir.glsl
index 72ca17c..1b5c2ee 100644
--- a/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/a93419.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 max_a93419() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = max_a93419();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_a93419();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_a93419();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 max_a93419() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = max_a93419();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_a93419();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_a93419();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 max_a93419() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = max_a93419();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_a93419();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_a93419();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.ir.glsl
index 72ca17c..b2b715d 100644
--- a/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/b1b73a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 max_b1b73a() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = max_b1b73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_b1b73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_b1b73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 max_b1b73a() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = max_b1b73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_b1b73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_b1b73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 max_b1b73a() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = max_b1b73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_b1b73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_b1b73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.ir.glsl
index d4bb1c9..84ce82e 100644
--- a/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/c023dd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_c023dd() {
+  float res = 1.0f;
+}
+void main() {
+  max_c023dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_c023dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_c023dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_c023dd() {
+  float res = 1.0f;
+}
+void main() {
+  max_c023dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_c023dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_c023dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_c023dd() {
+  float res = 1.0f;
+}
+void main() {
+  max_c023dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_c023dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_c023dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.ir.glsl
index d4bb1c9..8f0b2e2 100644
--- a/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/caa3d7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_caa3d7() {
+  int res = 1;
+}
+void main() {
+  max_caa3d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_caa3d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_caa3d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_caa3d7() {
+  int res = 1;
+}
+void main() {
+  max_caa3d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_caa3d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_caa3d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_caa3d7() {
+  int res = 1;
+}
+void main() {
+  max_caa3d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_caa3d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_caa3d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.ir.glsl
index 72ca17c..9bd2abd 100644
--- a/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/ce7c30.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int max_ce7c30() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = max_ce7c30();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_ce7c30();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_ce7c30();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int max_ce7c30() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = max_ce7c30();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_ce7c30();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_ce7c30();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int max_ce7c30() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = max_ce7c30();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_ce7c30();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_ce7c30();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.ir.glsl
index d4bb1c9..f26c743 100644
--- a/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/de6b87.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_de6b87() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  max_de6b87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_de6b87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_de6b87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_de6b87() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  max_de6b87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_de6b87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_de6b87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_de6b87() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  max_de6b87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_de6b87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_de6b87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.ir.glsl
index 72ca17c..a2855e3 100644
--- a/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/e14f2b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 max_e14f2b() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = max_e14f2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e14f2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e14f2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 max_e14f2b() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = max_e14f2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e14f2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e14f2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 max_e14f2b() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = max_e14f2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e14f2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e14f2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.ir.glsl
index 72ca17c..322b955 100644
--- a/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/max/e8192f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 max_e8192f() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = max_e8192f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e8192f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e8192f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 max_e8192f() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = max_e8192f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e8192f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e8192f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 max_e8192f() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = max_e8192f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e8192f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e8192f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.ir.glsl
index 72ca17c..8fb6bdc 100644
--- a/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/03c7e3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 min_03c7e3() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = min_03c7e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_03c7e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_03c7e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 min_03c7e3() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = min_03c7e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_03c7e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_03c7e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 min_03c7e3() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = min_03c7e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_03c7e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_03c7e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.ir.glsl
index 72ca17c..50d3068d 100644
--- a/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/0dc614.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 min_0dc614() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = min_0dc614();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_0dc614();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_0dc614();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 min_0dc614() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = min_0dc614();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_0dc614();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_0dc614();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 min_0dc614() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = min_0dc614();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_0dc614();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_0dc614();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/364910.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/364910.wgsl.expected.ir.glsl
index d4bb1c9..5ce11ee 100644
--- a/test/tint/builtins/gen/literal/min/364910.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/364910.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_364910() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  min_364910();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_364910();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_364910();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_364910() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  min_364910();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_364910();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_364910();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_364910() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  min_364910();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_364910();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_364910();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.ir.glsl
index d4bb1c9..4d85edc 100644
--- a/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/371bd6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_371bd6() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  min_371bd6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_371bd6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_371bd6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_371bd6() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  min_371bd6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_371bd6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_371bd6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_371bd6() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  min_371bd6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_371bd6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_371bd6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.ir.glsl
index 72ca17c..906a250 100644
--- a/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/3941e1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 min_3941e1() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = min_3941e1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_3941e1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_3941e1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 min_3941e1() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = min_3941e1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_3941e1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_3941e1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 min_3941e1() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = min_3941e1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_3941e1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_3941e1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.ir.glsl
index 72ca17c..4fa1218 100644
--- a/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/46c5d3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint min_46c5d3() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = min_46c5d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_46c5d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_46c5d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint min_46c5d3() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = min_46c5d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_46c5d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_46c5d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint min_46c5d3() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = min_46c5d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_46c5d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_46c5d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.ir.glsl
index d4bb1c9..8a7a715 100644
--- a/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/527b79.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_527b79() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  min_527b79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_527b79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_527b79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_527b79() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  min_527b79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_527b79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_527b79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_527b79() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  min_527b79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_527b79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_527b79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/717257.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/717257.wgsl.expected.ir.glsl
index d4bb1c9..104119c 100644
--- a/test/tint/builtins/gen/literal/min/717257.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/717257.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_717257() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  min_717257();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_717257();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_717257();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_717257() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  min_717257();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_717257();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_717257();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_717257() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  min_717257();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_717257();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_717257();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/794711.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/794711.wgsl.expected.ir.glsl
index d4bb1c9..2216cb1 100644
--- a/test/tint/builtins/gen/literal/min/794711.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/794711.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_794711() {
+  float res = 1.0f;
+}
+void main() {
+  min_794711();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_794711();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_794711();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_794711() {
+  float res = 1.0f;
+}
+void main() {
+  min_794711();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_794711();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_794711();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_794711() {
+  float res = 1.0f;
+}
+void main() {
+  min_794711();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_794711();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_794711();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.ir.glsl
index 72ca17c..f29156e 100644
--- a/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/7c710a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 min_7c710a() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = min_7c710a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_7c710a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_7c710a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 min_7c710a() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = min_7c710a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_7c710a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_7c710a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 min_7c710a() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = min_7c710a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_7c710a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_7c710a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.ir.glsl
index 72ca17c..1fb10ad 100644
--- a/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/82b28f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 min_82b28f() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = min_82b28f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_82b28f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_82b28f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 min_82b28f() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = min_82b28f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_82b28f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_82b28f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 min_82b28f() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = min_82b28f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_82b28f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_82b28f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.ir.glsl
index d4bb1c9..9c75b9e 100644
--- a/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/84c9fe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_84c9fe() {
+  int res = 1;
+}
+void main() {
+  min_84c9fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_84c9fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_84c9fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_84c9fe() {
+  int res = 1;
+}
+void main() {
+  min_84c9fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_84c9fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_84c9fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_84c9fe() {
+  int res = 1;
+}
+void main() {
+  min_84c9fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_84c9fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_84c9fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.ir.glsl
index 72ca17c..0bfb393 100644
--- a/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/93cfc4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 min_93cfc4() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = min_93cfc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_93cfc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_93cfc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 min_93cfc4() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = min_93cfc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_93cfc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_93cfc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 min_93cfc4() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = min_93cfc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_93cfc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_93cfc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.ir.glsl
index d4bb1c9..dc3acec 100644
--- a/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/98e797.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_98e797() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  min_98e797();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_98e797();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_98e797();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_98e797() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  min_98e797();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_98e797();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_98e797();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_98e797() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  min_98e797();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_98e797();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_98e797();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.ir.glsl
index 72ca17c..89bcb7f 100644
--- a/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/a45171.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 min_a45171() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = min_a45171();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_a45171();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_a45171();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 min_a45171() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = min_a45171();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_a45171();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_a45171();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 min_a45171() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = min_a45171();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_a45171();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_a45171();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.ir.glsl
index 72ca17c..9d25291 100644
--- a/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/aa28ad.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 min_aa28ad() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = min_aa28ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_aa28ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_aa28ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 min_aa28ad() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = min_aa28ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_aa28ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_aa28ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 min_aa28ad() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = min_aa28ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_aa28ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_aa28ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.ir.glsl
index 72ca17c..1f59a58 100644
--- a/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/ab0acd.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 min_ab0acd() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = min_ab0acd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ab0acd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ab0acd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 min_ab0acd() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = min_ab0acd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ab0acd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ab0acd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 min_ab0acd() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = min_ab0acd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ab0acd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ab0acd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.ir.glsl
index 72ca17c..541726c 100644
--- a/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/ac84d6.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t min_ac84d6() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = min_ac84d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ac84d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ac84d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t min_ac84d6() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = min_ac84d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ac84d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ac84d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t min_ac84d6() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = min_ac84d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ac84d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ac84d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.ir.glsl
index 72ca17c..f58209c 100644
--- a/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/af326d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float min_af326d() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = min_af326d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_af326d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_af326d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float min_af326d() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = min_af326d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_af326d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_af326d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float min_af326d() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = min_af326d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_af326d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_af326d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.ir.glsl
index d4bb1c9..37c5a1c 100644
--- a/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/af364e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_af364e() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  min_af364e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_af364e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_af364e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_af364e() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  min_af364e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_af364e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_af364e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_af364e() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  min_af364e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_af364e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_af364e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.ir.glsl
index 72ca17c..971eec4 100644
--- a/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/c70bb7.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 min_c70bb7() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = min_c70bb7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c70bb7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c70bb7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 min_c70bb7() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = min_c70bb7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c70bb7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c70bb7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 min_c70bb7() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = min_c70bb7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c70bb7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c70bb7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.ir.glsl
index 72ca17c..277ec17 100644
--- a/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/c73147.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int min_c73147() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = min_c73147();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c73147();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c73147();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int min_c73147() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = min_c73147();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c73147();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c73147();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int min_c73147() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = min_c73147();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c73147();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c73147();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.ir.glsl
index 72ca17c..5b19bd1 100644
--- a/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/c76fa6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 min_c76fa6() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = min_c76fa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c76fa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c76fa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 min_c76fa6() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = min_c76fa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c76fa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c76fa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 min_c76fa6() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = min_c76fa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c76fa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c76fa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.ir.glsl
index 72ca17c..5023488 100644
--- a/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/min/e780f9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 min_e780f9() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = min_e780f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_e780f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_e780f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 min_e780f9() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = min_e780f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_e780f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_e780f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 min_e780f9() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = min_e780f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_e780f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_e780f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.ir.glsl
index 72ca17c..c2bb9b5 100644
--- a/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/0c8c33.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_0c8c33() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_0c8c33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_0c8c33() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_0c8c33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_0c8c33() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_0c8c33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.ir.glsl
index 72ca17c..065ee69 100644
--- a/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/1faeb1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_1faeb1() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_1faeb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_1faeb1() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_1faeb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_1faeb1() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_1faeb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.ir.glsl
index d4bb1c9..dddc3d2 100644
--- a/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/275cac.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_275cac() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_275cac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_275cac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_275cac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_275cac() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_275cac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_275cac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_275cac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_275cac() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_275cac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_275cac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_275cac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.ir.glsl
index 72ca17c..6aeabfd 100644
--- a/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/2fadab.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_2fadab() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_2fadab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_2fadab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_2fadab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_2fadab() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_2fadab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_2fadab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_2fadab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_2fadab() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_2fadab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_2fadab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_2fadab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.ir.glsl
index d4bb1c9..513d87e 100644
--- a/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/30de36.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_30de36() {
+  float res = 1.0f;
+}
+void main() {
+  mix_30de36();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_30de36();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_30de36();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_30de36() {
+  float res = 1.0f;
+}
+void main() {
+  mix_30de36();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_30de36();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_30de36();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_30de36() {
+  float res = 1.0f;
+}
+void main() {
+  mix_30de36();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_30de36();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_30de36();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.ir.glsl
index 72ca17c..4f244d7 100644
--- a/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/315264.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_315264() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_315264();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_315264();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_315264();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_315264() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_315264();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_315264();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_315264();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_315264() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_315264();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_315264();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_315264();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.ir.glsl
index d4bb1c9..99adf35 100644
--- a/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/343c49.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_343c49() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_343c49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_343c49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_343c49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_343c49() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_343c49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_343c49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_343c49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_343c49() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_343c49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_343c49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_343c49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.ir.glsl
index 72ca17c..8614d92 100644
--- a/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/38cbbb.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t mix_38cbbb() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_38cbbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t mix_38cbbb() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_38cbbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t mix_38cbbb() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_38cbbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.ir.glsl
index d4bb1c9..eec2aad 100644
--- a/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/42d11d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_42d11d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_42d11d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_42d11d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_42d11d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_42d11d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_42d11d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_42d11d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_42d11d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_42d11d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_42d11d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_42d11d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_42d11d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.ir.glsl
index 72ca17c..0004867 100644
--- a/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/4f0b5e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float mix_4f0b5e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_4f0b5e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float mix_4f0b5e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_4f0b5e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float mix_4f0b5e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_4f0b5e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.ir.glsl
index 72ca17c..f916b14 100644
--- a/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/63f2fd.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_63f2fd() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_63f2fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_63f2fd() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_63f2fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_63f2fd() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_63f2fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.ir.glsl
index 72ca17c..068d44e 100644
--- a/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/6f8adc.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_6f8adc() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_6f8adc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_6f8adc() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_6f8adc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_6f8adc() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_6f8adc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.ir.glsl
index d4bb1c9..1642920 100644
--- a/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/98007a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_98007a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_98007a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_98007a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_98007a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_98007a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_98007a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_98007a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_98007a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_98007a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_98007a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_98007a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_98007a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.ir.glsl
index 72ca17c..fbb2472 100644
--- a/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/98ee3e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_98ee3e() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_98ee3e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_98ee3e() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_98ee3e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_98ee3e() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_98ee3e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.ir.glsl
index d4bb1c9..8bf82d2 100644
--- a/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/9c2681.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_9c2681() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_9c2681();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_9c2681();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_9c2681();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_9c2681() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_9c2681();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_9c2681();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_9c2681();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_9c2681() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_9c2681();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_9c2681();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_9c2681();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.ir.glsl
index 72ca17c..3bd896e 100644
--- a/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/c1aec6.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_c1aec6() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c1aec6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_c1aec6() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c1aec6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_c1aec6() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c1aec6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.ir.glsl
index 72ca17c..1615d3a 100644
--- a/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/c37ede.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_c37ede() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c37ede();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c37ede();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c37ede();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_c37ede() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c37ede();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c37ede();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c37ede();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_c37ede() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c37ede();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c37ede();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c37ede();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.ir.glsl
index 72ca17c..850b751 100644
--- a/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_e46a83() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_e46a83();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_e46a83();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_e46a83();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_e46a83() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_e46a83();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_e46a83();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_e46a83();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_e46a83() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_e46a83();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_e46a83();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_e46a83();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.ir.glsl
index 72ca17c..e0428f1 100644
--- a/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/ee2468.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_ee2468() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_ee2468();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_ee2468();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_ee2468();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_ee2468() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_ee2468();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_ee2468();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_ee2468();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_ee2468() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_ee2468();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_ee2468();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_ee2468();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.ir.glsl
index d4bb1c9..985e57a 100644
--- a/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/ef3575.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_ef3575() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_ef3575();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_ef3575();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_ef3575();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_ef3575() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_ef3575();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_ef3575();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_ef3575();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_ef3575() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_ef3575();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_ef3575();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_ef3575();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.ir.glsl
index 72ca17c..4c2ba9a 100644
--- a/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/mix/f1a543.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_f1a543() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_f1a543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_f1a543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_f1a543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_f1a543() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_f1a543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_f1a543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_f1a543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_f1a543() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = mix_f1a543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_f1a543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_f1a543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.ir.glsl
index d4bb1c9..db5cff0 100644
--- a/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/2d50da.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_2d50da() {
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f));
+}
+void main() {
+  modf_2d50da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_2d50da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_2d50da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_2d50da() {
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f));
+}
+void main() {
+  modf_2d50da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_2d50da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_2d50da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_2d50da() {
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f));
+}
+void main() {
+  modf_2d50da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_2d50da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_2d50da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.ir.glsl
index d4bb1c9..072ebe9 100644
--- a/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/45005f.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec3_f16 {
+  f16vec3 fract;
+  f16vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_45005f() {
+  modf_result_vec3_f16 res = modf_result_vec3_f16(f16vec3(-0.5hf), f16vec3(-1.0hf));
+}
+void main() {
+  modf_45005f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_45005f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_45005f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec3_f16 {
+  f16vec3 fract;
+  f16vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_45005f() {
+  modf_result_vec3_f16 res = modf_result_vec3_f16(f16vec3(-0.5hf), f16vec3(-1.0hf));
+}
+void main() {
+  modf_45005f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_45005f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_45005f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec3_f16 {
+  f16vec3 fract;
+  f16vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_45005f() {
+  modf_result_vec3_f16 res = modf_result_vec3_f16(f16vec3(-0.5hf), f16vec3(-1.0hf));
+}
+void main() {
+  modf_45005f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_45005f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_45005f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.ir.glsl
index d4bb1c9..ed1ddde 100644
--- a/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_4bfced() {
+  modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f));
+}
+void main() {
+  modf_4bfced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_4bfced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_4bfced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_4bfced() {
+  modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f));
+}
+void main() {
+  modf_4bfced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_4bfced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_4bfced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_4bfced() {
+  modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f));
+}
+void main() {
+  modf_4bfced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_4bfced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_4bfced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.ir.glsl
index d4bb1c9..ff7d466 100644
--- a/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/5ea256.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_5ea256() {
+  modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f));
+}
+void main() {
+  modf_5ea256();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_5ea256();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_5ea256();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_5ea256() {
+  modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f));
+}
+void main() {
+  modf_5ea256();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_5ea256();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_5ea256();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_5ea256() {
+  modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f));
+}
+void main() {
+  modf_5ea256();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_5ea256();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_5ea256();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.ir.glsl
index d4bb1c9..9be67e6 100644
--- a/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/68d8ee.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_68d8ee() {
+  modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f));
+}
+void main() {
+  modf_68d8ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_68d8ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_68d8ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_68d8ee() {
+  modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f));
+}
+void main() {
+  modf_68d8ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_68d8ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_68d8ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_68d8ee() {
+  modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f));
+}
+void main() {
+  modf_68d8ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_68d8ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_68d8ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.ir.glsl
index d4bb1c9..f928d88 100644
--- a/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/732aa6.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_732aa6() {
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f));
+}
+void main() {
+  modf_732aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_732aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_732aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_732aa6() {
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f));
+}
+void main() {
+  modf_732aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_732aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_732aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_732aa6() {
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f));
+}
+void main() {
+  modf_732aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_732aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_732aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.ir.glsl
index d4bb1c9..0362172 100644
--- a/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/8dbbbf.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_f16 {
+  float16_t fract;
+  float16_t whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_8dbbbf() {
+  modf_result_f16 res = modf_result_f16(-0.5hf, -1.0hf);
+}
+void main() {
+  modf_8dbbbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_8dbbbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_8dbbbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_f16 {
+  float16_t fract;
+  float16_t whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_8dbbbf() {
+  modf_result_f16 res = modf_result_f16(-0.5hf, -1.0hf);
+}
+void main() {
+  modf_8dbbbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_8dbbbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_8dbbbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_f16 {
+  float16_t fract;
+  float16_t whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_8dbbbf() {
+  modf_result_f16 res = modf_result_f16(-0.5hf, -1.0hf);
+}
+void main() {
+  modf_8dbbbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_8dbbbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_8dbbbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.ir.glsl
index d4bb1c9..b4bff92 100644
--- a/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/995934.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec4_f16 {
+  f16vec4 fract;
+  f16vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_995934() {
+  modf_result_vec4_f16 res = modf_result_vec4_f16(f16vec4(-0.5hf), f16vec4(-1.0hf));
+}
+void main() {
+  modf_995934();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_995934();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_995934();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec4_f16 {
+  f16vec4 fract;
+  f16vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_995934() {
+  modf_result_vec4_f16 res = modf_result_vec4_f16(f16vec4(-0.5hf), f16vec4(-1.0hf));
+}
+void main() {
+  modf_995934();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_995934();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_995934();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec4_f16 {
+  f16vec4 fract;
+  f16vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_995934() {
+  modf_result_vec4_f16 res = modf_result_vec4_f16(f16vec4(-0.5hf), f16vec4(-1.0hf));
+}
+void main() {
+  modf_995934();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_995934();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_995934();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.ir.glsl
index d4bb1c9..d4bc32f 100644
--- a/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/a545b9.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec2_f16 {
+  f16vec2 fract;
+  f16vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_a545b9() {
+  modf_result_vec2_f16 res = modf_result_vec2_f16(f16vec2(-0.5hf), f16vec2(-1.0hf));
+}
+void main() {
+  modf_a545b9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_a545b9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_a545b9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec2_f16 {
+  f16vec2 fract;
+  f16vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_a545b9() {
+  modf_result_vec2_f16 res = modf_result_vec2_f16(f16vec2(-0.5hf), f16vec2(-1.0hf));
+}
+void main() {
+  modf_a545b9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_a545b9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_a545b9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec2_f16 {
+  f16vec2 fract;
+  f16vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_a545b9() {
+  modf_result_vec2_f16 res = modf_result_vec2_f16(f16vec2(-0.5hf), f16vec2(-1.0hf));
+}
+void main() {
+  modf_a545b9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_a545b9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_a545b9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.ir.glsl
index d4bb1c9..3f34ba5 100644
--- a/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/bbf7f7.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_bbf7f7() {
+  modf_result_f32 res = modf_result_f32(-0.5f, -1.0f);
+}
+void main() {
+  modf_bbf7f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_bbf7f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_bbf7f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_bbf7f7() {
+  modf_result_f32 res = modf_result_f32(-0.5f, -1.0f);
+}
+void main() {
+  modf_bbf7f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_bbf7f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_bbf7f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_bbf7f7() {
+  modf_result_f32 res = modf_result_f32(-0.5f, -1.0f);
+}
+void main() {
+  modf_bbf7f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_bbf7f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_bbf7f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.ir.glsl
index d4bb1c9..7b43b0c 100644
--- a/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/c15f48.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_c15f48() {
+  modf_result_f32 res = modf_result_f32(-0.5f, -1.0f);
+}
+void main() {
+  modf_c15f48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_c15f48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_c15f48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_c15f48() {
+  modf_result_f32 res = modf_result_f32(-0.5f, -1.0f);
+}
+void main() {
+  modf_c15f48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_c15f48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_c15f48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_c15f48() {
+  modf_result_f32 res = modf_result_f32(-0.5f, -1.0f);
+}
+void main() {
+  modf_c15f48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_c15f48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_c15f48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.ir.glsl
index d4bb1c9..e70681c 100644
--- a/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/modf/f3d1f9.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_f3d1f9() {
+  modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f));
+}
+void main() {
+  modf_f3d1f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_f3d1f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_f3d1f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_f3d1f9() {
+  modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f));
+}
+void main() {
+  modf_f3d1f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_f3d1f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_f3d1f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_f3d1f9() {
+  modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f));
+}
+void main() {
+  modf_f3d1f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_f3d1f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_f3d1f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.ir.glsl
index 72ca17c..fec4861 100644
--- a/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/normalize/39d5ec.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 normalize_39d5ec() {
+  f16vec3 res = f16vec3(0.5771484375hf);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_39d5ec();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 normalize_39d5ec() {
+  f16vec3 res = f16vec3(0.5771484375hf);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_39d5ec();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 normalize_39d5ec() {
+  f16vec3 res = f16vec3(0.5771484375hf);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_39d5ec();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.ir.glsl
index d4bb1c9..52a7f07 100644
--- a/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/normalize/4eaf61.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_4eaf61() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  normalize_4eaf61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_4eaf61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_4eaf61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_4eaf61() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  normalize_4eaf61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_4eaf61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_4eaf61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_4eaf61() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  normalize_4eaf61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_4eaf61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_4eaf61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.ir.glsl
index d4bb1c9..bdb8ab3 100644
--- a/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/normalize/584e47.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_584e47() {
+  vec2 res = vec2(0.70710676908493041992f);
+}
+void main() {
+  normalize_584e47();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_584e47();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_584e47();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_584e47() {
+  vec2 res = vec2(0.70710676908493041992f);
+}
+void main() {
+  normalize_584e47();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_584e47();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_584e47();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_584e47() {
+  vec2 res = vec2(0.70710676908493041992f);
+}
+void main() {
+  normalize_584e47();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_584e47();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_584e47();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.ir.glsl
index 72ca17c..80c079e 100644
--- a/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/normalize/64d8c0.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 normalize_64d8c0() {
+  vec3 res = vec3(0.57735025882720947266f);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_64d8c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 normalize_64d8c0() {
+  vec3 res = vec3(0.57735025882720947266f);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_64d8c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 normalize_64d8c0() {
+  vec3 res = vec3(0.57735025882720947266f);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_64d8c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.ir.glsl
index 72ca17c..7efbf2c 100644
--- a/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/normalize/7990f3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 normalize_7990f3() {
+  f16vec2 res = f16vec2(0.70703125hf);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_7990f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 normalize_7990f3() {
+  f16vec2 res = f16vec2(0.70703125hf);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_7990f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 normalize_7990f3() {
+  f16vec2 res = f16vec2(0.70703125hf);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_7990f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.ir.glsl
index 72ca17c..0d2908bc 100644
--- a/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/normalize/9a0aab.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 normalize_9a0aab() {
+  vec4 res = vec4(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_9a0aab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 normalize_9a0aab() {
+  vec4 res = vec4(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_9a0aab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 normalize_9a0aab() {
+  vec4 res = vec4(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_9a0aab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.ir.glsl
index 72ca17c..de4540b 100644
--- a/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/normalize/b8cb8d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 normalize_b8cb8d() {
+  f16vec4 res = f16vec4(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_b8cb8d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 normalize_b8cb8d() {
+  f16vec4 res = f16vec4(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_b8cb8d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 normalize_b8cb8d() {
+  f16vec4 res = f16vec4(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_b8cb8d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.ir.glsl
index d4bb1c9..266890f 100644
--- a/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/normalize/e7def8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_e7def8() {
+  vec3 res = vec3(0.57735025882720947266f);
+}
+void main() {
+  normalize_e7def8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_e7def8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_e7def8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_e7def8() {
+  vec3 res = vec3(0.57735025882720947266f);
+}
+void main() {
+  normalize_e7def8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_e7def8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_e7def8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_e7def8() {
+  vec3 res = vec3(0.57735025882720947266f);
+}
+void main() {
+  normalize_e7def8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_e7def8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_e7def8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.ir.glsl
index 72ca17c..f98297e 100644
--- a/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/normalize/fc2ef1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 normalize_fc2ef1() {
+  vec2 res = vec2(0.70710676908493041992f);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_fc2ef1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 normalize_fc2ef1() {
+  vec2 res = vec2(0.70710676908493041992f);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_fc2ef1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 normalize_fc2ef1() {
+  vec2 res = vec2(0.70710676908493041992f);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_fc2ef1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.ir.glsl
index 72ca17c..5cf850e 100644
--- a/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pack2x16float/0e97b3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16float_0e97b3() {
+  uint res = 1006648320u;
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16float_0e97b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16float_0e97b3() {
+  uint res = 1006648320u;
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16float_0e97b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16float_0e97b3() {
+  uint res = 1006648320u;
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16float_0e97b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.ir.glsl
index 72ca17c..21a0010 100644
--- a/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pack2x16snorm/6c169b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16snorm_6c169b() {
+  uint res = 2147450879u;
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16snorm_6c169b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16snorm_6c169b() {
+  uint res = 2147450879u;
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16snorm_6c169b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16snorm_6c169b() {
+  uint res = 2147450879u;
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16snorm_6c169b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl
index 72ca17c..647cd70 100644
--- a/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16unorm_0f08e4() {
+  uint res = 4294967295u;
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16unorm_0f08e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16unorm_0f08e4() {
+  uint res = 4294967295u;
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16unorm_0f08e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16unorm_0f08e4() {
+  uint res = 4294967295u;
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16unorm_0f08e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl
index 72ca17c..1c50782 100644
--- a/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8snorm_4d22e7() {
+  uint res = 2139062143u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8snorm_4d22e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8snorm_4d22e7() {
+  uint res = 2139062143u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8snorm_4d22e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8snorm_4d22e7() {
+  uint res = 2139062143u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8snorm_4d22e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.ir.glsl
index 72ca17c..7eed9d8 100644
--- a/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pack4x8unorm/95c456.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8unorm_95c456() {
+  uint res = 4294967295u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8unorm_95c456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8unorm_95c456() {
+  uint res = 4294967295u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8unorm_95c456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8unorm_95c456() {
+  uint res = 4294967295u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8unorm_95c456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.ir.glsl
index 72ca17c..2cb2bee 100644
--- a/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pack4xI8/bfce01.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xI8_bfce01() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xI8_bfce01();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xI8_bfce01();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xI8_bfce01();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xI8_bfce01() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xI8_bfce01();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xI8_bfce01();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xI8_bfce01();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xI8_bfce01() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xI8_bfce01();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xI8_bfce01();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xI8_bfce01();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl
index 72ca17c..4cf816d 100644
--- a/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xI8Clamp_e42b2a() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xI8Clamp_e42b2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xI8Clamp_e42b2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xI8Clamp_e42b2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xI8Clamp_e42b2a() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xI8Clamp_e42b2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xI8Clamp_e42b2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xI8Clamp_e42b2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xI8Clamp_e42b2a() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xI8Clamp_e42b2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xI8Clamp_e42b2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xI8Clamp_e42b2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.ir.glsl
index 72ca17c..6e726ab 100644
--- a/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pack4xU8/b70b53.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8_b70b53() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8_b70b53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8_b70b53() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8_b70b53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8_b70b53() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8_b70b53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl
index 72ca17c..e624f6c 100644
--- a/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8Clamp_6b8c1b() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8Clamp_6b8c1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8Clamp_6b8c1b() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8Clamp_6b8c1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8Clamp_6b8c1b() {
+  uint res = 16843009u;
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8Clamp_6b8c1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.ir.glsl
index 72ca17c..89c1147 100644
--- a/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/04a908.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 pow_04a908() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = pow_04a908();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_04a908();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_04a908();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 pow_04a908() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = pow_04a908();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_04a908();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_04a908();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 pow_04a908() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = pow_04a908();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_04a908();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_04a908();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.ir.glsl
index 72ca17c..6981e4d 100644
--- a/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/46e029.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float pow_46e029() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = pow_46e029();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_46e029();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_46e029();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float pow_46e029() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = pow_46e029();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_46e029();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_46e029();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float pow_46e029() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = pow_46e029();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_46e029();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_46e029();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.ir.glsl
index 72ca17c..02cfb5f 100644
--- a/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/4a46c9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 pow_4a46c9() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4a46c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 pow_4a46c9() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4a46c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 pow_4a46c9() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4a46c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.ir.glsl
index 72ca17c..ea676a1 100644
--- a/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/4f33b2.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 pow_4f33b2() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4f33b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 pow_4f33b2() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4f33b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 pow_4f33b2() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4f33b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.ir.glsl
index d4bb1c9..0d72c36 100644
--- a/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/749c42.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_749c42() {
+  float res = 1.0f;
+}
+void main() {
+  pow_749c42();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_749c42();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_749c42();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_749c42() {
+  float res = 1.0f;
+}
+void main() {
+  pow_749c42();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_749c42();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_749c42();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_749c42() {
+  float res = 1.0f;
+}
+void main() {
+  pow_749c42();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_749c42();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_749c42();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.ir.glsl
index d4bb1c9..b5a7031 100644
--- a/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/a8f6b2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_a8f6b2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  pow_a8f6b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_a8f6b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_a8f6b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_a8f6b2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  pow_a8f6b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_a8f6b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_a8f6b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_a8f6b2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  pow_a8f6b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_a8f6b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_a8f6b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.ir.glsl
index d4bb1c9..97e97ba 100644
--- a/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/bc91ed.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_bc91ed() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  pow_bc91ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_bc91ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_bc91ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_bc91ed() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  pow_bc91ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_bc91ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_bc91ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_bc91ed() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  pow_bc91ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_bc91ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_bc91ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.ir.glsl
index 72ca17c..9e94590 100644
--- a/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/ce9ef5.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t pow_ce9ef5() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_ce9ef5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t pow_ce9ef5() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_ce9ef5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t pow_ce9ef5() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_ce9ef5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.ir.glsl
index d4bb1c9..b40c04f 100644
--- a/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/e42f20.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_e42f20() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  pow_e42f20();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_e42f20();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_e42f20();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_e42f20() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  pow_e42f20();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_e42f20();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_e42f20();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_e42f20() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  pow_e42f20();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_e42f20();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_e42f20();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.ir.glsl
index 72ca17c..00d72ad 100644
--- a/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/e60ea5.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 pow_e60ea5() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_e60ea5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 pow_e60ea5() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_e60ea5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 pow_e60ea5() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_e60ea5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.ir.glsl
index 72ca17c..5055c6c 100644
--- a/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/f37b25.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 pow_f37b25() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = pow_f37b25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_f37b25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_f37b25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 pow_f37b25() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = pow_f37b25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_f37b25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_f37b25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 pow_f37b25() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = pow_f37b25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_f37b25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_f37b25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.ir.glsl
index 72ca17c..10029b1 100644
--- a/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/pow/fa5429.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 pow_fa5429() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = pow_fa5429();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_fa5429();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_fa5429();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 pow_fa5429() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = pow_fa5429();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_fa5429();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_fa5429();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 pow_fa5429() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = pow_fa5429();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_fa5429();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_fa5429();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/0464d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/0464d1.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/0464d1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/0464d1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/0639ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/0639ea.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/0639ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/0639ea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/0cc513.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/0cc513.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/0cc513.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/0cc513.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/0e0e6e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/0e0e6e.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/0e0e6e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/0e0e6e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/2d0b7d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/2d0b7d.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/2d0b7d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/2d0b7d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/355db5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/355db5.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/355db5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/355db5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/3c3824.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/3c3824.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/3c3824.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/3c3824.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/4d9898.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/4d9898.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/4d9898.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/4d9898.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/641316.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/641316.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/641316.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/641316.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/704803.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/704803.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/704803.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/704803.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/76f499.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/76f499.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/76f499.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/76f499.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/78129b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/78129b.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/78129b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/78129b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/796753.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/796753.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/796753.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/796753.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/820991.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/820991.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/820991.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/820991.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/960c6b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/960c6b.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/960c6b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/960c6b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/9d802c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/9d802c.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/9d802c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/9d802c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/a2d2b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/a2d2b4.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/a2d2b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/a2d2b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/ae401e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/ae401e.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/ae401e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/ae401e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/b68331.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/b68331.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/b68331.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/b68331.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/bed00b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/bed00b.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/bed00b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/bed00b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/c0e704.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/c0e704.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/c0e704.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/c0e704.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/cd3624.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/cd3624.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/cd3624.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/cd3624.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/cebc6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/cebc6a.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/cebc6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/cebc6a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/cfbf48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/cfbf48.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/cfbf48.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/cfbf48.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/e6d39d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/e6d39d.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/e6d39d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/e6d39d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/e6d948.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/e6d948.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/e6d948.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/e6d948.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/e7c301.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/e7c301.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/e7c301.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/e7c301.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/ef7d5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/ef7d5d.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/ef7d5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/ef7d5d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/f1e8ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/f1e8ec.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/f1e8ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/f1e8ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/f5f923.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/f5f923.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/f5f923.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/f5f923.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/f60448.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/f60448.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/f60448.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/f60448.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadBroadcast/f9d579.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadBroadcast/f9d579.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/literal/quadBroadcast/f9d579.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadBroadcast/f9d579.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/15ac75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/15ac75.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/15ac75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/15ac75.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/2be5e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/2be5e7.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/2be5e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/2be5e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/331804.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/331804.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/331804.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/331804.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/348173.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/348173.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/348173.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/348173.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/486196.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/486196.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/486196.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/486196.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/730e40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/730e40.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/730e40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/730e40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/8077c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/8077c8.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/8077c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/8077c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/856536.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/856536.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/856536.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/856536.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/9ccb38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/9ccb38.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/9ccb38.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/9ccb38.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/a090b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/a090b0.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/a090b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/a090b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/a665b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/a665b1.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/a665b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/a665b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/a82e1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/a82e1d.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/a82e1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/a82e1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/af19a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/af19a5.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/af19a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/af19a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/b905fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/b905fc.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/b905fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/b905fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/c31636.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/c31636.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/c31636.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/c31636.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapDiagonal/e4bec8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapDiagonal/e4bec8.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/literal/quadSwapDiagonal/e4bec8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapDiagonal/e4bec8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/02834c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/02834c.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/02834c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/02834c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/053f3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/053f3b.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/053f3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/053f3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/07f1fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/07f1fc.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/07f1fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/07f1fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/150d6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/150d6f.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/150d6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/150d6f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/19f8ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/19f8ce.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/19f8ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/19f8ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/1e1086.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/1e1086.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/1e1086.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/1e1086.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/69af6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/69af6a.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/69af6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/69af6a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/8203ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/8203ad.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/8203ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/8203ad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/879738.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/879738.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/879738.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/879738.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/9bea80.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/9bea80.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/9bea80.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/9bea80.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/a4e103.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/a4e103.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/a4e103.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/a4e103.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/b1a5fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/b1a5fe.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/b1a5fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/b1a5fe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/bc2013.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/bc2013.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/bc2013.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/bc2013.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/bddb9f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/bddb9f.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/bddb9f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/bddb9f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/d60cec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/d60cec.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/d60cec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/d60cec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapX/edfa1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapX/edfa1f.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/literal/quadSwapX/edfa1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapX/edfa1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/06a67c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/06a67c.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/06a67c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/06a67c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/0c4938.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/0c4938.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/0c4938.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/0c4938.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/0d05a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/0d05a8.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/0d05a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/0d05a8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/14bb9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/14bb9a.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/14bb9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/14bb9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/1f1a06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/1f1a06.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/1f1a06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/1f1a06.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/264908.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/264908.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/264908.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/264908.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/5b2e67.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/5b2e67.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/5b2e67.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/5b2e67.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/6f6bc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/6f6bc9.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/6f6bc9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/6f6bc9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/9277e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/9277e9.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/9277e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/9277e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/94ab6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/94ab6d.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/94ab6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/94ab6d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/a27e1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/a27e1c.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/a27e1c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/a27e1c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/a50fcb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/a50fcb.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/a50fcb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/a50fcb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/b9d9e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/b9d9e7.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/b9d9e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/b9d9e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/bb697b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/bb697b.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/bb697b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/bb697b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/be4e72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/be4e72.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/be4e72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/be4e72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quadSwapY/d1ab4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quadSwapY/d1ab4d.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/literal/quadSwapY/d1ab4d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quadSwapY/d1ab4d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.ir.glsl
index 72ca17c..b14bdee 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/12e50e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float quantizeToF16_12e50e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_12e50e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_12e50e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_12e50e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float quantizeToF16_12e50e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_12e50e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_12e50e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_12e50e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float quantizeToF16_12e50e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_12e50e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_12e50e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_12e50e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.ir.glsl
index 72ca17c..6e46ab2 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/2cddf3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 quantizeToF16_2cddf3() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_2cddf3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_2cddf3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_2cddf3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 quantizeToF16_2cddf3() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_2cddf3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_2cddf3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_2cddf3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 quantizeToF16_2cddf3() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_2cddf3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_2cddf3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_2cddf3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.ir.glsl
index 72ca17c..fe0adf6 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/cba294.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 quantizeToF16_cba294() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_cba294();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_cba294();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_cba294();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 quantizeToF16_cba294() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_cba294();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_cba294();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_cba294();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 quantizeToF16_cba294() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_cba294();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_cba294();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_cba294();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.ir.glsl
index 72ca17c..f73eaaf 100644
--- a/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/quantizeToF16/e8fd14.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 quantizeToF16_e8fd14() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_e8fd14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_e8fd14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_e8fd14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 quantizeToF16_e8fd14() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_e8fd14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_e8fd14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_e8fd14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 quantizeToF16_e8fd14() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = quantizeToF16_e8fd14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = quantizeToF16_e8fd14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = quantizeToF16_e8fd14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.ir.glsl
index 72ca17c..fc677c6 100644
--- a/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/09b7fc.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 radians_09b7fc() {
+  vec4 res = vec4(0.01745329238474369049f);
+  return res;
+}
+void main() {
+  prevent_dce = radians_09b7fc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_09b7fc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_09b7fc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 radians_09b7fc() {
+  vec4 res = vec4(0.01745329238474369049f);
+  return res;
+}
+void main() {
+  prevent_dce = radians_09b7fc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_09b7fc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_09b7fc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 radians_09b7fc() {
+  vec4 res = vec4(0.01745329238474369049f);
+  return res;
+}
+void main() {
+  prevent_dce = radians_09b7fc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_09b7fc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_09b7fc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.ir.glsl
index 72ca17c..0f650d7 100644
--- a/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/208fd9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t radians_208fd9() {
+  float16_t res = 0.0174407958984375hf;
+  return res;
+}
+void main() {
+  prevent_dce = radians_208fd9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_208fd9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_208fd9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t radians_208fd9() {
+  float16_t res = 0.0174407958984375hf;
+  return res;
+}
+void main() {
+  prevent_dce = radians_208fd9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_208fd9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_208fd9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t radians_208fd9() {
+  float16_t res = 0.0174407958984375hf;
+  return res;
+}
+void main() {
+  prevent_dce = radians_208fd9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_208fd9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_208fd9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.ir.glsl
index d4bb1c9..c0d64ad 100644
--- a/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/379214.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_379214() {
+  vec3 res = vec3(0.01745329238474369049f);
+}
+void main() {
+  radians_379214();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_379214();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_379214();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_379214() {
+  vec3 res = vec3(0.01745329238474369049f);
+}
+void main() {
+  radians_379214();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_379214();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_379214();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_379214() {
+  vec3 res = vec3(0.01745329238474369049f);
+}
+void main() {
+  radians_379214();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_379214();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_379214();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.ir.glsl
index d4bb1c9..54bfe1a 100644
--- a/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/44a9f8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_44a9f8() {
+  vec2 res = vec2(0.01745329238474369049f);
+}
+void main() {
+  radians_44a9f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_44a9f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_44a9f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_44a9f8() {
+  vec2 res = vec2(0.01745329238474369049f);
+}
+void main() {
+  radians_44a9f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_44a9f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_44a9f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_44a9f8() {
+  vec2 res = vec2(0.01745329238474369049f);
+}
+void main() {
+  radians_44a9f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_44a9f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_44a9f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.ir.glsl
index 72ca17c..47ef343 100644
--- a/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/44f20b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 radians_44f20b() {
+  f16vec4 res = f16vec4(0.0174407958984375hf);
+  return res;
+}
+void main() {
+  prevent_dce = radians_44f20b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_44f20b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_44f20b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 radians_44f20b() {
+  f16vec4 res = f16vec4(0.0174407958984375hf);
+  return res;
+}
+void main() {
+  prevent_dce = radians_44f20b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_44f20b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_44f20b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 radians_44f20b() {
+  f16vec4 res = f16vec4(0.0174407958984375hf);
+  return res;
+}
+void main() {
+  prevent_dce = radians_44f20b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_44f20b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_44f20b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.ir.glsl
index d4bb1c9..87dba94 100644
--- a/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/524a91.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_524a91() {
+  vec4 res = vec4(0.01745329238474369049f);
+}
+void main() {
+  radians_524a91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_524a91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_524a91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_524a91() {
+  vec4 res = vec4(0.01745329238474369049f);
+}
+void main() {
+  radians_524a91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_524a91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_524a91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_524a91() {
+  vec4 res = vec4(0.01745329238474369049f);
+}
+void main() {
+  radians_524a91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_524a91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_524a91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.ir.glsl
index 72ca17c..67899a2 100644
--- a/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/61687a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 radians_61687a() {
+  vec2 res = vec2(0.01745329238474369049f);
+  return res;
+}
+void main() {
+  prevent_dce = radians_61687a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_61687a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_61687a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 radians_61687a() {
+  vec2 res = vec2(0.01745329238474369049f);
+  return res;
+}
+void main() {
+  prevent_dce = radians_61687a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_61687a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_61687a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 radians_61687a() {
+  vec2 res = vec2(0.01745329238474369049f);
+  return res;
+}
+void main() {
+  prevent_dce = radians_61687a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_61687a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_61687a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.ir.glsl
index 72ca17c..c6bb530 100644
--- a/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/6b0ff2.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float radians_6b0ff2() {
+  float res = 0.01745329238474369049f;
+  return res;
+}
+void main() {
+  prevent_dce = radians_6b0ff2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_6b0ff2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_6b0ff2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float radians_6b0ff2() {
+  float res = 0.01745329238474369049f;
+  return res;
+}
+void main() {
+  prevent_dce = radians_6b0ff2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_6b0ff2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_6b0ff2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float radians_6b0ff2() {
+  float res = 0.01745329238474369049f;
+  return res;
+}
+void main() {
+  prevent_dce = radians_6b0ff2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_6b0ff2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_6b0ff2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.ir.glsl
index 72ca17c..0731c7f 100644
--- a/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/7ea4c7.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 radians_7ea4c7() {
+  f16vec3 res = f16vec3(0.0174407958984375hf);
+  return res;
+}
+void main() {
+  prevent_dce = radians_7ea4c7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_7ea4c7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_7ea4c7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 radians_7ea4c7() {
+  f16vec3 res = f16vec3(0.0174407958984375hf);
+  return res;
+}
+void main() {
+  prevent_dce = radians_7ea4c7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_7ea4c7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_7ea4c7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 radians_7ea4c7() {
+  f16vec3 res = f16vec3(0.0174407958984375hf);
+  return res;
+}
+void main() {
+  prevent_dce = radians_7ea4c7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_7ea4c7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_7ea4c7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.ir.glsl
index d4bb1c9..10a9078 100644
--- a/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/bff231.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_bff231() {
+  float res = 0.01745329238474369049f;
+}
+void main() {
+  radians_bff231();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_bff231();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_bff231();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_bff231() {
+  float res = 0.01745329238474369049f;
+}
+void main() {
+  radians_bff231();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_bff231();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_bff231();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_bff231() {
+  float res = 0.01745329238474369049f;
+}
+void main() {
+  radians_bff231();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_bff231();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_bff231();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.ir.glsl
index 72ca17c..e469e04 100644
--- a/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/f96258.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 radians_f96258() {
+  vec3 res = vec3(0.01745329238474369049f);
+  return res;
+}
+void main() {
+  prevent_dce = radians_f96258();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_f96258();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_f96258();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 radians_f96258() {
+  vec3 res = vec3(0.01745329238474369049f);
+  return res;
+}
+void main() {
+  prevent_dce = radians_f96258();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_f96258();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_f96258();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 radians_f96258() {
+  vec3 res = vec3(0.01745329238474369049f);
+  return res;
+}
+void main() {
+  prevent_dce = radians_f96258();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_f96258();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_f96258();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.ir.glsl
index 72ca17c..2b6211f 100644
--- a/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/radians/fbacf0.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 radians_fbacf0() {
+  f16vec2 res = f16vec2(0.0174407958984375hf);
+  return res;
+}
+void main() {
+  prevent_dce = radians_fbacf0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_fbacf0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_fbacf0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 radians_fbacf0() {
+  f16vec2 res = f16vec2(0.0174407958984375hf);
+  return res;
+}
+void main() {
+  prevent_dce = radians_fbacf0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_fbacf0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_fbacf0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 radians_fbacf0() {
+  f16vec2 res = f16vec2(0.0174407958984375hf);
+  return res;
+}
+void main() {
+  prevent_dce = radians_fbacf0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = radians_fbacf0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = radians_fbacf0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.ir.glsl
index 72ca17c..0fca695 100644
--- a/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reflect/05357e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 reflect_05357e() {
+  vec4 res = vec4(-7.0f);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_05357e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_05357e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_05357e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 reflect_05357e() {
+  vec4 res = vec4(-7.0f);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_05357e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_05357e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_05357e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 reflect_05357e() {
+  vec4 res = vec4(-7.0f);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_05357e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_05357e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_05357e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.ir.glsl
index 72ca17c..e5c9c7f 100644
--- a/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reflect/310de5.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 reflect_310de5() {
+  f16vec4 res = f16vec4(-7.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_310de5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_310de5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_310de5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 reflect_310de5() {
+  f16vec4 res = f16vec4(-7.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_310de5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_310de5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_310de5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 reflect_310de5() {
+  f16vec4 res = f16vec4(-7.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_310de5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_310de5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_310de5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.ir.glsl
index 72ca17c..5fded8d 100644
--- a/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reflect/61ca21.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 reflect_61ca21() {
+  f16vec3 res = f16vec3(-5.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_61ca21();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 reflect_61ca21() {
+  f16vec3 res = f16vec3(-5.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_61ca21();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 reflect_61ca21() {
+  f16vec3 res = f16vec3(-5.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_61ca21();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.ir.glsl
index d4bb1c9..db05061 100644
--- a/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reflect/a8baf2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_a8baf2() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  reflect_a8baf2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_a8baf2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_a8baf2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_a8baf2() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  reflect_a8baf2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_a8baf2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_a8baf2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_a8baf2() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  reflect_a8baf2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_a8baf2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_a8baf2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.ir.glsl
index 72ca17c..ae8f299 100644
--- a/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reflect/b61e10.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 reflect_b61e10() {
+  vec2 res = vec2(-3.0f);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_b61e10();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 reflect_b61e10() {
+  vec2 res = vec2(-3.0f);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_b61e10();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 reflect_b61e10() {
+  vec2 res = vec2(-3.0f);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_b61e10();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.ir.glsl
index 72ca17c..2a0838e 100644
--- a/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reflect/bb15ac.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 reflect_bb15ac() {
+  f16vec2 res = f16vec2(-3.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_bb15ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 reflect_bb15ac() {
+  f16vec2 res = f16vec2(-3.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_bb15ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 reflect_bb15ac() {
+  f16vec2 res = f16vec2(-3.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_bb15ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.ir.glsl
index d4bb1c9..bd6e012 100644
--- a/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reflect/bba2d0.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_bba2d0() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  reflect_bba2d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_bba2d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_bba2d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_bba2d0() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  reflect_bba2d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_bba2d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_bba2d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_bba2d0() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  reflect_bba2d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_bba2d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_bba2d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.ir.glsl
index d4bb1c9..599552f 100644
--- a/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reflect/d7e210.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_d7e210() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  reflect_d7e210();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_d7e210();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_d7e210();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_d7e210() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  reflect_d7e210();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_d7e210();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_d7e210();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_d7e210() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  reflect_d7e210();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_d7e210();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_d7e210();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.ir.glsl
index 72ca17c..7d2bcaf 100644
--- a/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reflect/f47fdb.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 reflect_f47fdb() {
+  vec3 res = vec3(-5.0f);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_f47fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 reflect_f47fdb() {
+  vec3 res = vec3(-5.0f);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_f47fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 reflect_f47fdb() {
+  vec3 res = vec3(-5.0f);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_f47fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.ir.glsl
index 72ca17c..bb1590e 100644
--- a/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/refract/0594ba.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 refract_0594ba() {
+  f16vec4 res = f16vec4(-7.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = refract_0594ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_0594ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_0594ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 refract_0594ba() {
+  f16vec4 res = f16vec4(-7.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = refract_0594ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_0594ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_0594ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 refract_0594ba() {
+  f16vec4 res = f16vec4(-7.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = refract_0594ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_0594ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_0594ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.ir.glsl
index 72ca17c..28cc7e9 100644
--- a/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/refract/570cb3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 refract_570cb3() {
+  f16vec2 res = f16vec2(-3.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = refract_570cb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_570cb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_570cb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 refract_570cb3() {
+  f16vec2 res = f16vec2(-3.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = refract_570cb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_570cb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_570cb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 refract_570cb3() {
+  f16vec2 res = f16vec2(-3.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = refract_570cb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_570cb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_570cb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.ir.glsl
index 72ca17c..6c67dc4 100644
--- a/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/refract/7e02e6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 refract_7e02e6() {
+  vec4 res = vec4(-7.0f);
+  return res;
+}
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_7e02e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 refract_7e02e6() {
+  vec4 res = vec4(-7.0f);
+  return res;
+}
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_7e02e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 refract_7e02e6() {
+  vec4 res = vec4(-7.0f);
+  return res;
+}
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_7e02e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.ir.glsl
index 72ca17c..a8e3a3d 100644
--- a/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/refract/8984af.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 refract_8984af() {
+  f16vec3 res = f16vec3(-5.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = refract_8984af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_8984af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_8984af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 refract_8984af() {
+  f16vec3 res = f16vec3(-5.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = refract_8984af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_8984af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_8984af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 refract_8984af() {
+  f16vec3 res = f16vec3(-5.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = refract_8984af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_8984af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_8984af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.ir.glsl
index d4bb1c9..41dd891 100644
--- a/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/refract/8c192a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_8c192a() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  refract_8c192a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_8c192a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_8c192a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_8c192a() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  refract_8c192a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_8c192a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_8c192a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_8c192a() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  refract_8c192a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_8c192a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_8c192a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.ir.glsl
index 72ca17c..b1406d3 100644
--- a/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/refract/cbc1d2.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 refract_cbc1d2() {
+  vec3 res = vec3(-5.0f);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cbc1d2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 refract_cbc1d2() {
+  vec3 res = vec3(-5.0f);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cbc1d2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 refract_cbc1d2() {
+  vec3 res = vec3(-5.0f);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cbc1d2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.ir.glsl
index 72ca17c..7254299 100644
--- a/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/refract/cd905f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 refract_cd905f() {
+  vec2 res = vec2(-3.0f);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cd905f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cd905f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cd905f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 refract_cd905f() {
+  vec2 res = vec2(-3.0f);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cd905f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cd905f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cd905f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 refract_cd905f() {
+  vec2 res = vec2(-3.0f);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cd905f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cd905f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cd905f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.ir.glsl
index d4bb1c9..62189d7 100644
--- a/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/refract/cf1629.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_cf1629() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  refract_cf1629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_cf1629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_cf1629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_cf1629() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  refract_cf1629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_cf1629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_cf1629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_cf1629() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  refract_cf1629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_cf1629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_cf1629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.ir.glsl
index d4bb1c9..02a7c4b 100644
--- a/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/refract/d7569b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_d7569b() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  refract_d7569b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_d7569b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_d7569b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_d7569b() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  refract_d7569b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_d7569b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_d7569b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_d7569b() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  refract_d7569b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_d7569b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_d7569b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.ir.glsl
index 72ca17c..860e862 100644
--- a/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reverseBits/222177.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 reverseBits_222177() {
+  ivec2 res = ivec2((-2147483647 - 1));
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_222177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 reverseBits_222177() {
+  ivec2 res = ivec2((-2147483647 - 1));
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_222177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 reverseBits_222177() {
+  ivec2 res = ivec2((-2147483647 - 1));
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_222177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.ir.glsl
index 72ca17c..68ff893 100644
--- a/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reverseBits/35fea9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 reverseBits_35fea9() {
+  uvec4 res = uvec4(2147483648u);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_35fea9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 reverseBits_35fea9() {
+  uvec4 res = uvec4(2147483648u);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_35fea9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 reverseBits_35fea9() {
+  uvec4 res = uvec4(2147483648u);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_35fea9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.ir.glsl
index 72ca17c..4c2cf26 100644
--- a/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reverseBits/4dbd6f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 reverseBits_4dbd6f() {
+  ivec4 res = ivec4((-2147483647 - 1));
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_4dbd6f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 reverseBits_4dbd6f() {
+  ivec4 res = ivec4((-2147483647 - 1));
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_4dbd6f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 reverseBits_4dbd6f() {
+  ivec4 res = ivec4((-2147483647 - 1));
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_4dbd6f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.ir.glsl
index 72ca17c..a0a77d0 100644
--- a/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reverseBits/7c4269.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int reverseBits_7c4269() {
+  int res = (-2147483647 - 1);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_7c4269();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int reverseBits_7c4269() {
+  int res = (-2147483647 - 1);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_7c4269();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int reverseBits_7c4269() {
+  int res = (-2147483647 - 1);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_7c4269();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.ir.glsl
index 72ca17c..97d06a6 100644
--- a/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reverseBits/a6ccd4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 reverseBits_a6ccd4() {
+  uvec3 res = uvec3(2147483648u);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_a6ccd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 reverseBits_a6ccd4() {
+  uvec3 res = uvec3(2147483648u);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_a6ccd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 reverseBits_a6ccd4() {
+  uvec3 res = uvec3(2147483648u);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_a6ccd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.ir.glsl
index 72ca17c..6eca974 100644
--- a/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reverseBits/c21bc1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 reverseBits_c21bc1() {
+  ivec3 res = ivec3((-2147483647 - 1));
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_c21bc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 reverseBits_c21bc1() {
+  ivec3 res = ivec3((-2147483647 - 1));
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_c21bc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 reverseBits_c21bc1() {
+  ivec3 res = ivec3((-2147483647 - 1));
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_c21bc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.ir.glsl
index 72ca17c..d09dcaf 100644
--- a/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reverseBits/e1f4c1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 reverseBits_e1f4c1() {
+  uvec2 res = uvec2(2147483648u);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e1f4c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 reverseBits_e1f4c1() {
+  uvec2 res = uvec2(2147483648u);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e1f4c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 reverseBits_e1f4c1() {
+  uvec2 res = uvec2(2147483648u);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e1f4c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.ir.glsl
index 72ca17c..d5f51f4 100644
--- a/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/reverseBits/e31adf.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint reverseBits_e31adf() {
+  uint res = 2147483648u;
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e31adf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint reverseBits_e31adf() {
+  uint res = 2147483648u;
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e31adf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint reverseBits_e31adf() {
+  uint res = 2147483648u;
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e31adf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.ir.glsl
index 72ca17c..46f72be 100644
--- a/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/106c0b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 round_106c0b() {
+  vec4 res = vec4(4.0f);
+  return res;
+}
+void main() {
+  prevent_dce = round_106c0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_106c0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_106c0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 round_106c0b() {
+  vec4 res = vec4(4.0f);
+  return res;
+}
+void main() {
+  prevent_dce = round_106c0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_106c0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_106c0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 round_106c0b() {
+  vec4 res = vec4(4.0f);
+  return res;
+}
+void main() {
+  prevent_dce = round_106c0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_106c0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_106c0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.ir.glsl
index d4bb1c9..bb9b841 100644
--- a/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/184d5a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_184d5a() {
+  vec4 res = vec4(4.0f);
+}
+void main() {
+  round_184d5a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_184d5a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_184d5a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_184d5a() {
+  vec4 res = vec4(4.0f);
+}
+void main() {
+  round_184d5a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_184d5a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_184d5a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_184d5a() {
+  vec4 res = vec4(4.0f);
+}
+void main() {
+  round_184d5a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_184d5a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_184d5a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.ir.glsl
index 72ca17c..c9e207b 100644
--- a/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/1c7897.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 round_1c7897() {
+  vec3 res = vec3(4.0f);
+  return res;
+}
+void main() {
+  prevent_dce = round_1c7897();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_1c7897();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_1c7897();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 round_1c7897() {
+  vec3 res = vec3(4.0f);
+  return res;
+}
+void main() {
+  prevent_dce = round_1c7897();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_1c7897();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_1c7897();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 round_1c7897() {
+  vec3 res = vec3(4.0f);
+  return res;
+}
+void main() {
+  prevent_dce = round_1c7897();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_1c7897();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_1c7897();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.ir.glsl
index 72ca17c..e36d6ff 100644
--- a/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/52c84d.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 round_52c84d() {
+  vec2 res = vec2(4.0f);
+  return res;
+}
+void main() {
+  prevent_dce = round_52c84d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_52c84d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_52c84d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 round_52c84d() {
+  vec2 res = vec2(4.0f);
+  return res;
+}
+void main() {
+  prevent_dce = round_52c84d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_52c84d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_52c84d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 round_52c84d() {
+  vec2 res = vec2(4.0f);
+  return res;
+}
+void main() {
+  prevent_dce = round_52c84d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_52c84d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_52c84d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.ir.glsl
index d4bb1c9..d9df725 100644
--- a/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/773a8f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_773a8f() {
+  float res = 4.0f;
+}
+void main() {
+  round_773a8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_773a8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_773a8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_773a8f() {
+  float res = 4.0f;
+}
+void main() {
+  round_773a8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_773a8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_773a8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_773a8f() {
+  float res = 4.0f;
+}
+void main() {
+  round_773a8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_773a8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_773a8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.ir.glsl
index d4bb1c9..ecf4071 100644
--- a/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/8fdca3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_8fdca3() {
+  vec2 res = vec2(4.0f);
+}
+void main() {
+  round_8fdca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_8fdca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_8fdca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_8fdca3() {
+  vec2 res = vec2(4.0f);
+}
+void main() {
+  round_8fdca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_8fdca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_8fdca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_8fdca3() {
+  vec2 res = vec2(4.0f);
+}
+void main() {
+  round_8fdca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_8fdca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_8fdca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.ir.glsl
index 72ca17c..eb7e14c 100644
--- a/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/9078ef.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t round_9078ef() {
+  float16_t res = 4.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = round_9078ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9078ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9078ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t round_9078ef() {
+  float16_t res = 4.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = round_9078ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9078ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9078ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t round_9078ef() {
+  float16_t res = 4.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = round_9078ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9078ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9078ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.ir.glsl
index 72ca17c..ff8a385 100644
--- a/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/9edc38.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float round_9edc38() {
+  float res = 4.0f;
+  return res;
+}
+void main() {
+  prevent_dce = round_9edc38();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9edc38();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9edc38();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float round_9edc38() {
+  float res = 4.0f;
+  return res;
+}
+void main() {
+  prevent_dce = round_9edc38();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9edc38();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9edc38();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float round_9edc38() {
+  float res = 4.0f;
+  return res;
+}
+void main() {
+  prevent_dce = round_9edc38();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9edc38();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9edc38();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.ir.glsl
index d4bb1c9..76e388a 100644
--- a/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/a1673d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_a1673d() {
+  vec3 res = vec3(4.0f);
+}
+void main() {
+  round_a1673d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_a1673d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_a1673d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_a1673d() {
+  vec3 res = vec3(4.0f);
+}
+void main() {
+  round_a1673d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_a1673d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_a1673d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_a1673d() {
+  vec3 res = vec3(4.0f);
+}
+void main() {
+  round_a1673d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_a1673d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_a1673d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.ir.glsl
index 72ca17c..d67f3e6 100644
--- a/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/d87e84.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 round_d87e84() {
+  f16vec2 res = f16vec2(4.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = round_d87e84();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_d87e84();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_d87e84();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 round_d87e84() {
+  f16vec2 res = f16vec2(4.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = round_d87e84();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_d87e84();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_d87e84();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 round_d87e84() {
+  f16vec2 res = f16vec2(4.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = round_d87e84();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_d87e84();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_d87e84();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.ir.glsl
index 72ca17c..25ffd20 100644
--- a/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/e1bba2.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 round_e1bba2() {
+  f16vec3 res = f16vec3(4.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = round_e1bba2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_e1bba2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_e1bba2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 round_e1bba2() {
+  f16vec3 res = f16vec3(4.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = round_e1bba2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_e1bba2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_e1bba2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 round_e1bba2() {
+  f16vec3 res = f16vec3(4.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = round_e1bba2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_e1bba2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_e1bba2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.ir.glsl
index 72ca17c..e8b28a8 100644
--- a/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/round/f665b5.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 round_f665b5() {
+  f16vec4 res = f16vec4(4.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = round_f665b5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_f665b5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_f665b5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 round_f665b5() {
+  f16vec4 res = f16vec4(4.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = round_f665b5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_f665b5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_f665b5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 round_f665b5() {
+  f16vec4 res = f16vec4(4.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = round_f665b5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_f665b5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_f665b5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.ir.glsl
index 72ca17c..8d05de5 100644
--- a/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/270da5.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float saturate_270da5() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = saturate_270da5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_270da5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_270da5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float saturate_270da5() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = saturate_270da5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_270da5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_270da5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float saturate_270da5() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = saturate_270da5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_270da5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_270da5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.ir.glsl
index 72ca17c..4a2c64c 100644
--- a/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/462535.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 saturate_462535() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_462535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_462535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_462535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 saturate_462535() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_462535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_462535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_462535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 saturate_462535() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_462535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_462535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_462535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.ir.glsl
index d4bb1c9..a10c342 100644
--- a/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/4ed8d7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_4ed8d7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  saturate_4ed8d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_4ed8d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_4ed8d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_4ed8d7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  saturate_4ed8d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_4ed8d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_4ed8d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_4ed8d7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  saturate_4ed8d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_4ed8d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_4ed8d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.ir.glsl
index 72ca17c..cced356 100644
--- a/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/51567f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 saturate_51567f() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_51567f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_51567f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_51567f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 saturate_51567f() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_51567f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_51567f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_51567f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 saturate_51567f() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_51567f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_51567f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_51567f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.ir.glsl
index 72ca17c..7bf2886 100644
--- a/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/6bcddf.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 saturate_6bcddf() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_6bcddf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 saturate_6bcddf() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_6bcddf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 saturate_6bcddf() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_6bcddf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.ir.glsl
index d4bb1c9..ab7cdc8 100644
--- a/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/78b37c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_78b37c() {
+  float res = 1.0f;
+}
+void main() {
+  saturate_78b37c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_78b37c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_78b37c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_78b37c() {
+  float res = 1.0f;
+}
+void main() {
+  saturate_78b37c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_78b37c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_78b37c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_78b37c() {
+  float res = 1.0f;
+}
+void main() {
+  saturate_78b37c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_78b37c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_78b37c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.ir.glsl
index 72ca17c..7a433e4 100644
--- a/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/a5b571.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 saturate_a5b571() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_a5b571();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 saturate_a5b571() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_a5b571();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 saturate_a5b571() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_a5b571();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.ir.glsl
index 72ca17c..aa13ec8 100644
--- a/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/cd2028.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 saturate_cd2028() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_cd2028();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 saturate_cd2028() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_cd2028();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 saturate_cd2028() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_cd2028();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.ir.glsl
index d4bb1c9..ad4b630 100644
--- a/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/d55822.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_d55822() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  saturate_d55822();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_d55822();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_d55822();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_d55822() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  saturate_d55822();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_d55822();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_d55822();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_d55822() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  saturate_d55822();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_d55822();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_d55822();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.ir.glsl
index 72ca17c..de33aab 100644
--- a/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/dcde71.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 saturate_dcde71() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_dcde71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 saturate_dcde71() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_dcde71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 saturate_dcde71() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_dcde71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.ir.glsl
index d4bb1c9..78bbea2 100644
--- a/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/e40fb6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_e40fb6() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  saturate_e40fb6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_e40fb6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_e40fb6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_e40fb6() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  saturate_e40fb6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_e40fb6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_e40fb6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_e40fb6() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  saturate_e40fb6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_e40fb6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_e40fb6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.ir.glsl
index 72ca17c..704791f 100644
--- a/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/saturate/e8df56.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t saturate_e8df56() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_e8df56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t saturate_e8df56() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_e8df56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t saturate_e8df56() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_e8df56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.ir.glsl
index 72ca17c..815cc2b 100644
--- a/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/00b848.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 select_00b848() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_00b848();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_00b848();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_00b848();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 select_00b848() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_00b848();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_00b848();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_00b848();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 select_00b848() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_00b848();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_00b848();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_00b848();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.ir.glsl
index 72ca17c..8279b5a 100644
--- a/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/01e2cd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 select_01e2cd() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_01e2cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_01e2cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_01e2cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 select_01e2cd() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_01e2cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_01e2cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_01e2cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 select_01e2cd() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_01e2cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_01e2cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_01e2cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.ir.glsl
index 72ca17c..cc62210f 100644
--- a/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/087ea4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 select_087ea4() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_087ea4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_087ea4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_087ea4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 select_087ea4() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_087ea4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_087ea4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_087ea4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 select_087ea4() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_087ea4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_087ea4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_087ea4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/089657.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/089657.wgsl.expected.ir.glsl
index d4bb1c9..0c41f5f 100644
--- a/test/tint/builtins/gen/literal/select/089657.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/089657.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_089657() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  select_089657();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_089657();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_089657();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_089657() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  select_089657();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_089657();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_089657();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_089657() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  select_089657();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_089657();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_089657();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.ir.glsl
index 72ca17c..f287783 100644
--- a/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/10e73b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t select_10e73b() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = select_10e73b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_10e73b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_10e73b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t select_10e73b() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = select_10e73b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_10e73b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_10e73b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t select_10e73b() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = select_10e73b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_10e73b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_10e73b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.ir.glsl
index d4bb1c9..346b8fd 100644
--- a/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/17441a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_17441a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  select_17441a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_17441a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_17441a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_17441a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  select_17441a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_17441a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_17441a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_17441a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  select_17441a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_17441a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_17441a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.ir.glsl
index 72ca17c..08789a6 100644
--- a/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/1ada2a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 select_1ada2a() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_1ada2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_1ada2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_1ada2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 select_1ada2a() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_1ada2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_1ada2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_1ada2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 select_1ada2a() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_1ada2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_1ada2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_1ada2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.ir.glsl
index 72ca17c..b03e537 100644
--- a/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/1e960b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 select_1e960b() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_1e960b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_1e960b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_1e960b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 select_1e960b() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_1e960b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_1e960b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_1e960b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 select_1e960b() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_1e960b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_1e960b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_1e960b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.ir.glsl
index d4bb1c9..8cd9b7e 100644
--- a/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/1f4d93.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_1f4d93() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  select_1f4d93();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_1f4d93();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_1f4d93();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_1f4d93() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  select_1f4d93();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_1f4d93();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_1f4d93();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_1f4d93() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  select_1f4d93();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_1f4d93();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_1f4d93();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.ir.glsl
index 72ca17c..9a41444 100644
--- a/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/266aff.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 select_266aff() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_266aff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_266aff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_266aff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 select_266aff() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_266aff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_266aff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_266aff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 select_266aff() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_266aff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_266aff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_266aff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.ir.glsl
index 72ca17c..c4e1555 100644
--- a/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/28a27e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 select_28a27e() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_28a27e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_28a27e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_28a27e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 select_28a27e() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_28a27e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_28a27e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_28a27e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 select_28a27e() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_28a27e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_28a27e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_28a27e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.ir.glsl
index d4bb1c9..af43fd4 100644
--- a/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/2c96d4.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_2c96d4() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  select_2c96d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_2c96d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_2c96d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_2c96d4() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  select_2c96d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_2c96d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_2c96d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_2c96d4() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  select_2c96d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_2c96d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_2c96d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.ir.glsl
index d4bb1c9..8fcf36e 100644
--- a/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_3a14be() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  select_3a14be();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_3a14be();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_3a14be();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_3a14be() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  select_3a14be();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_3a14be();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_3a14be();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_3a14be() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  select_3a14be();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_3a14be();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_3a14be();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/3c25ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.ir.glsl
index 72ca17c..dd411c9 100644
--- a/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/416e14.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float select_416e14() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = select_416e14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_416e14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_416e14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float select_416e14() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = select_416e14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_416e14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_416e14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float select_416e14() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = select_416e14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_416e14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_416e14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.ir.glsl
index d4bb1c9..33452c4 100644
--- a/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/431dfb.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_431dfb() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  select_431dfb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_431dfb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_431dfb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_431dfb() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  select_431dfb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_431dfb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_431dfb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_431dfb() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  select_431dfb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_431dfb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_431dfb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.ir.glsl
index d4bb1c9..dee770b 100644
--- a/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/43741e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_43741e() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  select_43741e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_43741e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_43741e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_43741e() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  select_43741e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_43741e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_43741e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_43741e() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  select_43741e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_43741e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_43741e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/494051.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/494051.wgsl.expected.ir.glsl
index d4bb1c9..3a81a3a 100644
--- a/test/tint/builtins/gen/literal/select/494051.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/494051.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_494051() {
+  float res = 1.0f;
+}
+void main() {
+  select_494051();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_494051();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_494051();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_494051() {
+  float res = 1.0f;
+}
+void main() {
+  select_494051();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_494051();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_494051();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_494051() {
+  float res = 1.0f;
+}
+void main() {
+  select_494051();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_494051();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_494051();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.ir.glsl
index d4bb1c9..5721644 100644
--- a/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/4c4738.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_4c4738() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  select_4c4738();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_4c4738();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_4c4738();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_4c4738() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  select_4c4738();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_4c4738();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_4c4738();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_4c4738() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  select_4c4738();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_4c4738();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_4c4738();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.ir.glsl
index d4bb1c9..4faad2e 100644
--- a/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/4e60da.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_4e60da() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  select_4e60da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_4e60da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_4e60da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_4e60da() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  select_4e60da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_4e60da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_4e60da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_4e60da() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  select_4e60da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_4e60da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_4e60da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.ir.glsl
index 72ca17c..7e881cc 100644
--- a/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/51b047.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 select_51b047() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_51b047();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_51b047();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_51b047();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 select_51b047() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_51b047();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_51b047();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_51b047();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 select_51b047() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_51b047();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_51b047();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_51b047();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.ir.glsl
index 72ca17c..1ff431e 100644
--- a/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/53d518.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 select_53d518() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_53d518();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_53d518();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_53d518();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 select_53d518() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_53d518();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_53d518();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_53d518();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 select_53d518() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_53d518();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_53d518();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_53d518();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/713567.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/713567.wgsl.expected.ir.glsl
index 72ca17c..7bbaa5a 100644
--- a/test/tint/builtins/gen/literal/select/713567.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/713567.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 select_713567() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_713567();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_713567();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_713567();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 select_713567() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_713567();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_713567();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_713567();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 select_713567() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_713567();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_713567();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_713567();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.ir.glsl
index 72ca17c..fca2f43 100644
--- a/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/78be5f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 select_78be5f() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_78be5f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_78be5f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_78be5f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 select_78be5f() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_78be5f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_78be5f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_78be5f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 select_78be5f() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_78be5f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_78be5f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_78be5f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/80a9a9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.ir.glsl
index 72ca17c..166a5ec 100644
--- a/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/830dd9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 select_830dd9() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_830dd9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_830dd9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_830dd9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 select_830dd9() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_830dd9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_830dd9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_830dd9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 select_830dd9() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_830dd9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_830dd9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_830dd9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.ir.glsl
index 72ca17c..33aee40 100644
--- a/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/86f9bd.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 select_86f9bd() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_86f9bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_86f9bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_86f9bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 select_86f9bd() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_86f9bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_86f9bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_86f9bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 select_86f9bd() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_86f9bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_86f9bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_86f9bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.ir.glsl
index 72ca17c..576c594 100644
--- a/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/8fa62c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 select_8fa62c() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_8fa62c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_8fa62c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_8fa62c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 select_8fa62c() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_8fa62c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_8fa62c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_8fa62c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 select_8fa62c() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_8fa62c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_8fa62c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_8fa62c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.ir.glsl
index 72ca17c..fa9df30 100644
--- a/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/99f883.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint select_99f883() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = select_99f883();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_99f883();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_99f883();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint select_99f883() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = select_99f883();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_99f883();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_99f883();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint select_99f883() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = select_99f883();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_99f883();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_99f883();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.ir.glsl
index d4bb1c9..49e3570 100644
--- a/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_9b478d() {
+  int res = 1;
+}
+void main() {
+  select_9b478d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_9b478d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_9b478d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_9b478d() {
+  int res = 1;
+}
+void main() {
+  select_9b478d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_9b478d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_9b478d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_9b478d() {
+  int res = 1;
+}
+void main() {
+  select_9b478d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_9b478d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_9b478d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.ir.glsl
index 72ca17c..a26e4e8 100644
--- a/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/a081f1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 select_a081f1() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_a081f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_a081f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_a081f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 select_a081f1() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_a081f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_a081f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_a081f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 select_a081f1() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_a081f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_a081f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_a081f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.ir.glsl
index 72ca17c..0264491 100644
--- a/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/a2860e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 select_a2860e() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_a2860e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_a2860e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_a2860e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 select_a2860e() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_a2860e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_a2860e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_a2860e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 select_a2860e() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_a2860e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_a2860e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_a2860e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.ir.glsl
index 72ca17c..4e89948 100644
--- a/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/ab069f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 select_ab069f() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_ab069f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ab069f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ab069f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 select_ab069f() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_ab069f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ab069f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ab069f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 select_ab069f() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_ab069f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ab069f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ab069f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.ir.glsl
index 72ca17c..3c209aa 100644
--- a/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/b04721.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 select_b04721() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_b04721();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_b04721();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_b04721();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 select_b04721() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_b04721();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_b04721();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_b04721();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 select_b04721() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_b04721();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_b04721();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_b04721();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.ir.glsl
index d4bb1c9..05361da 100644
--- a/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/b93806.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_b93806() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  select_b93806();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_b93806();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_b93806();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_b93806() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  select_b93806();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_b93806();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_b93806();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_b93806() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  select_b93806();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_b93806();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_b93806();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.ir.glsl
index 72ca17c..cf319d5 100644
--- a/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/bb447f.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 select_bb447f() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_bb447f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_bb447f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_bb447f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 select_bb447f() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_bb447f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_bb447f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_bb447f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 select_bb447f() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = select_bb447f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_bb447f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_bb447f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.ir.glsl
index 72ca17c..176713a 100644
--- a/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/bb8aae.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 select_bb8aae() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_bb8aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_bb8aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_bb8aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 select_bb8aae() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_bb8aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_bb8aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_bb8aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 select_bb8aae() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_bb8aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_bb8aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_bb8aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.ir.glsl
index 72ca17c..80fb9f7 100644
--- a/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/bf3d29.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 select_bf3d29() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_bf3d29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_bf3d29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_bf3d29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 select_bf3d29() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_bf3d29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_bf3d29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_bf3d29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 select_bf3d29() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_bf3d29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_bf3d29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_bf3d29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/c31f9e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/c41bd1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.ir.glsl
index 72ca17c..4afd148 100644
--- a/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/c4a4ef.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 select_c4a4ef() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_c4a4ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_c4a4ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_c4a4ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 select_c4a4ef() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_c4a4ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_c4a4ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_c4a4ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 select_c4a4ef() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = select_c4a4ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_c4a4ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_c4a4ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/cb9301.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.ir.glsl
index d4bb1c9..651ae92 100644
--- a/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/dfab3b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_dfab3b() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  select_dfab3b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_dfab3b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_dfab3b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_dfab3b() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  select_dfab3b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_dfab3b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_dfab3b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_dfab3b() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  select_dfab3b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_dfab3b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_dfab3b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.ir.glsl
index d4bb1c9..516d1c8 100644
--- a/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/e381c3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_e381c3() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  select_e381c3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_e381c3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_e381c3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_e381c3() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  select_e381c3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_e381c3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_e381c3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void select_e381c3() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  select_e381c3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  select_e381c3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  select_e381c3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/e3e028.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.ir.glsl
index 72ca17c..ad564c7 100644
--- a/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/ebfea2.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 select_ebfea2() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_ebfea2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ebfea2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ebfea2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 select_ebfea2() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_ebfea2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ebfea2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ebfea2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 select_ebfea2() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = select_ebfea2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ebfea2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ebfea2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.ir.glsl
index 72ca17c..ff5b691 100644
--- a/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/ed7c13.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 select_ed7c13() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_ed7c13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ed7c13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ed7c13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 select_ed7c13() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_ed7c13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ed7c13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ed7c13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 select_ed7c13() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = select_ed7c13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ed7c13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ed7c13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.ir.glsl
index 72ca17c..9ed0cac 100644
--- a/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/ed8a15.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int select_ed8a15() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = select_ed8a15();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ed8a15();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ed8a15();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int select_ed8a15() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = select_ed8a15();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ed8a15();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ed8a15();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int select_ed8a15() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = select_ed8a15();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = select_ed8a15();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = select_ed8a15();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/select/fb7e53.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.ir.glsl
index d4bb1c9..ddf1abe 100644
--- a/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/0799fd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_0799fd() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sign_0799fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_0799fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_0799fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_0799fd() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sign_0799fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_0799fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_0799fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_0799fd() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sign_0799fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_0799fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_0799fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.ir.glsl
index 72ca17c..f85664f 100644
--- a/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/159665.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sign_159665() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sign_159665();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_159665();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_159665();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sign_159665() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sign_159665();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_159665();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_159665();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sign_159665() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sign_159665();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_159665();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_159665();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.ir.glsl
index 72ca17c..00a45fb 100644
--- a/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/160933.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sign_160933() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sign_160933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_160933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_160933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sign_160933() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sign_160933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_160933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_160933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sign_160933() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sign_160933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_160933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_160933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.ir.glsl
index 72ca17c..667e15b 100644
--- a/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/3233fa.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int sign_3233fa() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = sign_3233fa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_3233fa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_3233fa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int sign_3233fa() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = sign_3233fa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_3233fa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_3233fa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int sign_3233fa() {
+  int res = 1;
+  return res;
+}
+void main() {
+  prevent_dce = sign_3233fa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_3233fa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_3233fa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.ir.glsl
index d4bb1c9..5dbf7ea 100644
--- a/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/3a39ac.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3a39ac() {
+  int res = 1;
+}
+void main() {
+  sign_3a39ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3a39ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3a39ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3a39ac() {
+  int res = 1;
+}
+void main() {
+  sign_3a39ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3a39ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3a39ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3a39ac() {
+  int res = 1;
+}
+void main() {
+  sign_3a39ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3a39ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3a39ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.ir.glsl
index d4bb1c9..0f0a87c 100644
--- a/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/3bdab6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3bdab6() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  sign_3bdab6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3bdab6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3bdab6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3bdab6() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  sign_3bdab6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3bdab6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3bdab6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3bdab6() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  sign_3bdab6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3bdab6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3bdab6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.ir.glsl
index d4bb1c9..4ee1fef 100644
--- a/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/55339e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_55339e() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  sign_55339e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_55339e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_55339e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_55339e() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  sign_55339e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_55339e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_55339e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_55339e() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  sign_55339e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_55339e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_55339e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.ir.glsl
index 72ca17c..f73767a 100644
--- a/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/58d779.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 sign_58d779() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = sign_58d779();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_58d779();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_58d779();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 sign_58d779() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = sign_58d779();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_58d779();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_58d779();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 sign_58d779() {
+  ivec4 res = ivec4(1);
+  return res;
+}
+void main() {
+  prevent_dce = sign_58d779();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_58d779();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_58d779();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.ir.glsl
index 72ca17c..e12028e 100644
--- a/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/5d283a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sign_5d283a() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sign_5d283a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_5d283a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_5d283a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sign_5d283a() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sign_5d283a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_5d283a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_5d283a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sign_5d283a() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sign_5d283a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_5d283a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_5d283a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.ir.glsl
index 72ca17c..23d7a44 100644
--- a/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/7c85ea.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sign_7c85ea() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_7c85ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sign_7c85ea() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_7c85ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sign_7c85ea() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_7c85ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.ir.glsl
index 72ca17c..5eb7d0f 100644
--- a/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/926015.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 sign_926015() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = sign_926015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_926015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_926015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 sign_926015() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = sign_926015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_926015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_926015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 sign_926015() {
+  ivec2 res = ivec2(1);
+  return res;
+}
+void main() {
+  prevent_dce = sign_926015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_926015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_926015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.ir.glsl
index d4bb1c9..12a56c4 100644
--- a/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/943b2e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_943b2e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  sign_943b2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_943b2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_943b2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_943b2e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  sign_943b2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_943b2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_943b2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_943b2e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  sign_943b2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_943b2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_943b2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.ir.glsl
index 72ca17c..5c74fae 100644
--- a/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/9603b1.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 sign_9603b1() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = sign_9603b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_9603b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_9603b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 sign_9603b1() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = sign_9603b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_9603b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_9603b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 sign_9603b1() {
+  ivec3 res = ivec3(1);
+  return res;
+}
+void main() {
+  prevent_dce = sign_9603b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_9603b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_9603b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.ir.glsl
index d4bb1c9..9eaa0ae 100644
--- a/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/ab6301.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_ab6301() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sign_ab6301();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_ab6301();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_ab6301();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_ab6301() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sign_ab6301();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_ab6301();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_ab6301();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_ab6301() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sign_ab6301();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_ab6301();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_ab6301();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.ir.glsl
index 72ca17c..1fc7650 100644
--- a/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/b8f634.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sign_b8f634() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sign_b8f634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_b8f634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_b8f634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sign_b8f634() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sign_b8f634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_b8f634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_b8f634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sign_b8f634() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sign_b8f634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_b8f634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_b8f634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.ir.glsl
index d4bb1c9..a3f66c2 100644
--- a/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/c8289c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_c8289c() {
+  float res = 1.0f;
+}
+void main() {
+  sign_c8289c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_c8289c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_c8289c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_c8289c() {
+  float res = 1.0f;
+}
+void main() {
+  sign_c8289c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_c8289c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_c8289c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_c8289c() {
+  float res = 1.0f;
+}
+void main() {
+  sign_c8289c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_c8289c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_c8289c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.ir.glsl
index 72ca17c..dc00677 100644
--- a/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/ccdb3c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sign_ccdb3c() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_ccdb3c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sign_ccdb3c() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_ccdb3c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sign_ccdb3c() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_ccdb3c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.ir.glsl
index 72ca17c..89e32e0 100644
--- a/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/d065d8.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sign_d065d8() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sign_d065d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_d065d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_d065d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sign_d065d8() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sign_d065d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_d065d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_d065d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sign_d065d8() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sign_d065d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_d065d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_d065d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.ir.glsl
index 72ca17c..187a211 100644
--- a/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/dd790e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sign_dd790e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = sign_dd790e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_dd790e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_dd790e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sign_dd790e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = sign_dd790e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_dd790e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_dd790e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sign_dd790e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = sign_dd790e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_dd790e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_dd790e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.ir.glsl
index d4bb1c9..e5d7450 100644
--- a/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sign/f5da6a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_f5da6a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sign_f5da6a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_f5da6a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_f5da6a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_f5da6a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sign_f5da6a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_f5da6a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_f5da6a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_f5da6a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sign_f5da6a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_f5da6a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_f5da6a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.ir.glsl
index 72ca17c..43ac7e1 100644
--- a/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/01f241.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sin_01f241() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sin_01f241();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_01f241();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_01f241();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sin_01f241() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sin_01f241();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_01f241();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_01f241();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sin_01f241() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sin_01f241();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_01f241();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_01f241();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.ir.glsl
index d4bb1c9..1f219c7 100644
--- a/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/15b2c6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_15b2c6() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sin_15b2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_15b2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_15b2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_15b2c6() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sin_15b2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_15b2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_15b2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_15b2c6() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sin_15b2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_15b2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_15b2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.ir.glsl
index 72ca17c..2becf94 100644
--- a/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/2c903b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sin_2c903b() {
+  f16vec3 res = f16vec3(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sin_2c903b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_2c903b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_2c903b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sin_2c903b() {
+  f16vec3 res = f16vec3(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sin_2c903b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_2c903b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_2c903b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sin_2c903b() {
+  f16vec3 res = f16vec3(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sin_2c903b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_2c903b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_2c903b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.ir.glsl
index 72ca17c..a1047c8 100644
--- a/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/3cca11.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sin_3cca11() {
+  f16vec2 res = f16vec2(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sin_3cca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_3cca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_3cca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sin_3cca11() {
+  f16vec2 res = f16vec2(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sin_3cca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_3cca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_3cca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sin_3cca11() {
+  f16vec2 res = f16vec2(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sin_3cca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_3cca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_3cca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.ir.glsl
index 72ca17c..c5370ab 100644
--- a/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/4e3979.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sin_4e3979() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sin_4e3979();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_4e3979();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_4e3979();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sin_4e3979() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sin_4e3979();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_4e3979();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_4e3979();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sin_4e3979() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sin_4e3979();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_4e3979();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_4e3979();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.ir.glsl
index 72ca17c..f7af2e2 100644
--- a/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/5c0712.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sin_5c0712() {
+  f16vec4 res = f16vec4(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sin_5c0712();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_5c0712();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_5c0712();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sin_5c0712() {
+  f16vec4 res = f16vec4(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sin_5c0712();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_5c0712();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_5c0712();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sin_5c0712() {
+  f16vec4 res = f16vec4(0.99951171875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sin_5c0712();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_5c0712();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_5c0712();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.ir.glsl
index 72ca17c..05d10bd 100644
--- a/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/66a59f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sin_66a59f() {
+  float16_t res = 0.99951171875hf;
+  return res;
+}
+void main() {
+  prevent_dce = sin_66a59f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_66a59f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_66a59f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sin_66a59f() {
+  float16_t res = 0.99951171875hf;
+  return res;
+}
+void main() {
+  prevent_dce = sin_66a59f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_66a59f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_66a59f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sin_66a59f() {
+  float16_t res = 0.99951171875hf;
+  return res;
+}
+void main() {
+  prevent_dce = sin_66a59f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_66a59f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_66a59f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.ir.glsl
index d4bb1c9..49a8556 100644
--- a/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/67b03c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_67b03c() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sin_67b03c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_67b03c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_67b03c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_67b03c() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sin_67b03c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_67b03c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_67b03c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_67b03c() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sin_67b03c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_67b03c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_67b03c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.ir.glsl
index d4bb1c9..18d090c 100644
--- a/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/68d3ab.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_68d3ab() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sin_68d3ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_68d3ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_68d3ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_68d3ab() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sin_68d3ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_68d3ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_68d3ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_68d3ab() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sin_68d3ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_68d3ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_68d3ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.ir.glsl
index d4bb1c9..ee5eef1 100644
--- a/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/a9ab19.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_a9ab19() {
+  float res = 1.0f;
+}
+void main() {
+  sin_a9ab19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_a9ab19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_a9ab19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_a9ab19() {
+  float res = 1.0f;
+}
+void main() {
+  sin_a9ab19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_a9ab19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_a9ab19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_a9ab19() {
+  float res = 1.0f;
+}
+void main() {
+  sin_a9ab19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_a9ab19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_a9ab19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.ir.glsl
index 72ca17c..49e0661 100644
--- a/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/b78c91.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sin_b78c91() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = sin_b78c91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_b78c91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_b78c91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sin_b78c91() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = sin_b78c91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_b78c91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_b78c91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sin_b78c91() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = sin_b78c91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_b78c91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_b78c91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.ir.glsl
index 72ca17c..44f440c 100644
--- a/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sin/fc8bc4.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sin_fc8bc4() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_fc8bc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sin_fc8bc4() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_fc8bc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sin_fc8bc4() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_fc8bc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.ir.glsl
index 72ca17c..ec44a1d 100644
--- a/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/0908c1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sinh_0908c1() {
+  f16vec3 res = f16vec3(1.1748046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_0908c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sinh_0908c1() {
+  f16vec3 res = f16vec3(1.1748046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_0908c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sinh_0908c1() {
+  f16vec3 res = f16vec3(1.1748046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_0908c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.ir.glsl
index 72ca17c..9429e38 100644
--- a/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/445e33.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sinh_445e33() {
+  vec4 res = vec4(1.17520117759704589844f);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_445e33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_445e33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_445e33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sinh_445e33() {
+  vec4 res = vec4(1.17520117759704589844f);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_445e33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_445e33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_445e33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sinh_445e33() {
+  vec4 res = vec4(1.17520117759704589844f);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_445e33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_445e33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_445e33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.ir.glsl
index 72ca17c..1831921 100644
--- a/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/69cce2.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sinh_69cce2() {
+  float16_t res = 1.1748046875hf;
+  return res;
+}
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_69cce2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sinh_69cce2() {
+  float16_t res = 1.1748046875hf;
+  return res;
+}
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_69cce2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sinh_69cce2() {
+  float16_t res = 1.1748046875hf;
+  return res;
+}
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_69cce2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.ir.glsl
index d4bb1c9..bbffbbd 100644
--- a/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/77a2a3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_77a2a3() {
+  vec3 res = vec3(1.17520117759704589844f);
+}
+void main() {
+  sinh_77a2a3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_77a2a3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_77a2a3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_77a2a3() {
+  vec3 res = vec3(1.17520117759704589844f);
+}
+void main() {
+  sinh_77a2a3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_77a2a3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_77a2a3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_77a2a3() {
+  vec3 res = vec3(1.17520117759704589844f);
+}
+void main() {
+  sinh_77a2a3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_77a2a3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_77a2a3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.ir.glsl
index 72ca17c..41eddd6 100644
--- a/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/7bb598.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sinh_7bb598() {
+  float res = 1.17520117759704589844f;
+  return res;
+}
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_7bb598();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sinh_7bb598() {
+  float res = 1.17520117759704589844f;
+  return res;
+}
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_7bb598();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sinh_7bb598() {
+  float res = 1.17520117759704589844f;
+  return res;
+}
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_7bb598();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.ir.glsl
index 72ca17c..94f2008 100644
--- a/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/924f19.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sinh_924f19() {
+  f16vec2 res = f16vec2(1.1748046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_924f19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_924f19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_924f19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sinh_924f19() {
+  f16vec2 res = f16vec2(1.1748046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_924f19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_924f19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_924f19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sinh_924f19() {
+  f16vec2 res = f16vec2(1.1748046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_924f19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_924f19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_924f19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.ir.glsl
index d4bb1c9..502b0d6 100644
--- a/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/9c1092.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_9c1092() {
+  vec2 res = vec2(1.17520117759704589844f);
+}
+void main() {
+  sinh_9c1092();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_9c1092();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_9c1092();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_9c1092() {
+  vec2 res = vec2(1.17520117759704589844f);
+}
+void main() {
+  sinh_9c1092();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_9c1092();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_9c1092();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_9c1092() {
+  vec2 res = vec2(1.17520117759704589844f);
+}
+void main() {
+  sinh_9c1092();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_9c1092();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_9c1092();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.ir.glsl
index d4bb1c9..9aae8d2 100644
--- a/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/a3da7c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_a3da7c() {
+  vec4 res = vec4(1.17520117759704589844f);
+}
+void main() {
+  sinh_a3da7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_a3da7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_a3da7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_a3da7c() {
+  vec4 res = vec4(1.17520117759704589844f);
+}
+void main() {
+  sinh_a3da7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_a3da7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_a3da7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_a3da7c() {
+  vec4 res = vec4(1.17520117759704589844f);
+}
+void main() {
+  sinh_a3da7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_a3da7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_a3da7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.ir.glsl
index 72ca17c..5137a08 100644
--- a/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/b9860e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sinh_b9860e() {
+  vec2 res = vec2(1.17520117759704589844f);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_b9860e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sinh_b9860e() {
+  vec2 res = vec2(1.17520117759704589844f);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_b9860e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sinh_b9860e() {
+  vec2 res = vec2(1.17520117759704589844f);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_b9860e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.ir.glsl
index 72ca17c..3e7301d 100644
--- a/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/ba7e25.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sinh_ba7e25() {
+  f16vec4 res = f16vec4(1.1748046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_ba7e25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sinh_ba7e25() {
+  f16vec4 res = f16vec4(1.1748046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_ba7e25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sinh_ba7e25() {
+  f16vec4 res = f16vec4(1.1748046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_ba7e25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.ir.glsl
index d4bb1c9..69b1191 100644
--- a/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/c4df74.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_c4df74() {
+  float res = 1.17520117759704589844f;
+}
+void main() {
+  sinh_c4df74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_c4df74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_c4df74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_c4df74() {
+  float res = 1.17520117759704589844f;
+}
+void main() {
+  sinh_c4df74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_c4df74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_c4df74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_c4df74() {
+  float res = 1.17520117759704589844f;
+}
+void main() {
+  sinh_c4df74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_c4df74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_c4df74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.ir.glsl
index 72ca17c..b19ee05 100644
--- a/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sinh/c9a5eb.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sinh_c9a5eb() {
+  vec3 res = vec3(1.17520117759704589844f);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_c9a5eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sinh_c9a5eb() {
+  vec3 res = vec3(1.17520117759704589844f);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_c9a5eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sinh_c9a5eb() {
+  vec3 res = vec3(1.17520117759704589844f);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_c9a5eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.ir.glsl
index d4bb1c9..e191999 100644
--- a/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/0c481b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c481b() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  smoothstep_0c481b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c481b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c481b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c481b() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  smoothstep_0c481b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c481b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c481b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c481b() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  smoothstep_0c481b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c481b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c481b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.ir.glsl
index d4bb1c9..f740d57 100644
--- a/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/0c4ffc.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c4ffc() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  smoothstep_0c4ffc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c4ffc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c4ffc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c4ffc() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  smoothstep_0c4ffc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c4ffc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c4ffc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c4ffc() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  smoothstep_0c4ffc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c4ffc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c4ffc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.ir.glsl
index 72ca17c..1267463 100644
--- a/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/12c031.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 smoothstep_12c031() {
+  f16vec2 res = f16vec2(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_12c031();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 smoothstep_12c031() {
+  f16vec2 res = f16vec2(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_12c031();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 smoothstep_12c031() {
+  f16vec2 res = f16vec2(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_12c031();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.ir.glsl
index 72ca17c..61d56bcb 100644
--- a/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/392c19.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 smoothstep_392c19() {
+  vec2 res = vec2(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_392c19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 smoothstep_392c19() {
+  vec2 res = vec2(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_392c19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 smoothstep_392c19() {
+  vec2 res = vec2(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_392c19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.ir.glsl
index 72ca17c..06777fb 100644
--- a/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/40864c.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 smoothstep_40864c() {
+  vec4 res = vec4(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_40864c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 smoothstep_40864c() {
+  vec4 res = vec4(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_40864c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 smoothstep_40864c() {
+  vec4 res = vec4(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_40864c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.ir.glsl
index 72ca17c..4c6ff6f 100644
--- a/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/586e12.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t smoothstep_586e12() {
+  float16_t res = 0.5hf;
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_586e12();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t smoothstep_586e12() {
+  float16_t res = 0.5hf;
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_586e12();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t smoothstep_586e12() {
+  float16_t res = 0.5hf;
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_586e12();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.ir.glsl
index d4bb1c9..beadacd 100644
--- a/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/66e4bd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_66e4bd() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  smoothstep_66e4bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_66e4bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_66e4bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_66e4bd() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  smoothstep_66e4bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_66e4bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_66e4bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_66e4bd() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  smoothstep_66e4bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_66e4bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_66e4bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.ir.glsl
index 72ca17c..91aa00c 100644
--- a/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/6c4975.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float smoothstep_6c4975() {
+  float res = 0.5f;
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6c4975();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float smoothstep_6c4975() {
+  float res = 0.5f;
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6c4975();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float smoothstep_6c4975() {
+  float res = 0.5f;
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6c4975();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.ir.glsl
index 72ca17c..2f21d61 100644
--- a/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/6e7a74.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 smoothstep_6e7a74() {
+  f16vec3 res = f16vec3(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6e7a74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 smoothstep_6e7a74() {
+  f16vec3 res = f16vec3(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6e7a74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 smoothstep_6e7a74() {
+  f16vec3 res = f16vec3(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6e7a74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.ir.glsl
index d4bb1c9..33fc9d0 100644
--- a/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/a80fff.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_a80fff() {
+  float res = 0.5f;
+}
+void main() {
+  smoothstep_a80fff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_a80fff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_a80fff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_a80fff() {
+  float res = 0.5f;
+}
+void main() {
+  smoothstep_a80fff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_a80fff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_a80fff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_a80fff() {
+  float res = 0.5f;
+}
+void main() {
+  smoothstep_a80fff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_a80fff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_a80fff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.ir.glsl
index 72ca17c..5a1dda7 100644
--- a/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/aad1db.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 smoothstep_aad1db() {
+  vec3 res = vec3(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_aad1db();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 smoothstep_aad1db() {
+  vec3 res = vec3(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_aad1db();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 smoothstep_aad1db() {
+  vec3 res = vec3(0.5f);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_aad1db();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.ir.glsl
index 72ca17c..2cc5c39 100644
--- a/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/smoothstep/c43ebd.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 smoothstep_c43ebd() {
+  f16vec4 res = f16vec4(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_c43ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 smoothstep_c43ebd() {
+  f16vec4 res = f16vec4(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_c43ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 smoothstep_c43ebd() {
+  f16vec4 res = f16vec4(0.5hf);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_c43ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.ir.glsl
index d4bb1c9..f3c7ff0 100644
--- a/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/072192.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_072192() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sqrt_072192();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_072192();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_072192();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_072192() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sqrt_072192();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_072192();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_072192();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_072192() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sqrt_072192();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_072192();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_072192();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.ir.glsl
index 72ca17c..b2c8429 100644
--- a/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/20c74e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sqrt_20c74e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_20c74e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sqrt_20c74e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_20c74e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sqrt_20c74e() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_20c74e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.ir.glsl
index d4bb1c9..6d0cd90 100644
--- a/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/4ac2c5.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_4ac2c5() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sqrt_4ac2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_4ac2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_4ac2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_4ac2c5() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sqrt_4ac2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_4ac2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_4ac2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_4ac2c5() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sqrt_4ac2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_4ac2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_4ac2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.ir.glsl
index 72ca17c..b6adca3 100644
--- a/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/803d1c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sqrt_803d1c() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_803d1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sqrt_803d1c() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_803d1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sqrt_803d1c() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_803d1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.ir.glsl
index 72ca17c..fd62b24 100644
--- a/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/895a0c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sqrt_895a0c() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_895a0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sqrt_895a0c() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_895a0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sqrt_895a0c() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_895a0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.ir.glsl
index 72ca17c..a4f1263 100644
--- a/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/8c7024.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sqrt_8c7024() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_8c7024();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sqrt_8c7024() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_8c7024();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sqrt_8c7024() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_8c7024();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.ir.glsl
index d4bb1c9..e11044e 100644
--- a/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/8da177.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_8da177() {
+  float res = 1.0f;
+}
+void main() {
+  sqrt_8da177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_8da177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_8da177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_8da177() {
+  float res = 1.0f;
+}
+void main() {
+  sqrt_8da177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_8da177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_8da177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_8da177() {
+  float res = 1.0f;
+}
+void main() {
+  sqrt_8da177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_8da177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_8da177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.ir.glsl
index d4bb1c9..11cbc1e 100644
--- a/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/9c5cbe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_9c5cbe() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sqrt_9c5cbe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_9c5cbe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_9c5cbe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_9c5cbe() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sqrt_9c5cbe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_9c5cbe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_9c5cbe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_9c5cbe() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sqrt_9c5cbe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_9c5cbe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_9c5cbe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.ir.glsl
index 72ca17c..38a14da 100644
--- a/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/aa0d7a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sqrt_aa0d7a() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_aa0d7a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sqrt_aa0d7a() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_aa0d7a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sqrt_aa0d7a() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_aa0d7a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.ir.glsl
index 72ca17c..0ee75e9 100644
--- a/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/d9ab4d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sqrt_d9ab4d() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_d9ab4d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sqrt_d9ab4d() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_d9ab4d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sqrt_d9ab4d() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_d9ab4d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.ir.glsl
index 72ca17c..41d428d 100644
--- a/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/ec33e9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sqrt_ec33e9() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_ec33e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sqrt_ec33e9() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_ec33e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sqrt_ec33e9() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_ec33e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.ir.glsl
index 72ca17c..011debd 100644
--- a/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/sqrt/f8c59a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sqrt_f8c59a() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_f8c59a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sqrt_f8c59a() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_f8c59a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sqrt_f8c59a() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_f8c59a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.ir.glsl
index 72ca17c..39bb24f 100644
--- a/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/07cb06.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 step_07cb06() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = step_07cb06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_07cb06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_07cb06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 step_07cb06() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = step_07cb06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_07cb06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_07cb06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 step_07cb06() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = step_07cb06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_07cb06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_07cb06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.ir.glsl
index 72ca17c..54cb42e 100644
--- a/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/0b073b.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float step_0b073b() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = step_0b073b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_0b073b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_0b073b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float step_0b073b() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = step_0b073b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_0b073b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_0b073b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float step_0b073b() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = step_0b073b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_0b073b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_0b073b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.ir.glsl
index 72ca17c..c0bf907 100644
--- a/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/19accd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 step_19accd() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = step_19accd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_19accd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_19accd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 step_19accd() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = step_19accd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_19accd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_19accd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 step_19accd() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = step_19accd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_19accd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_19accd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/334303.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/334303.wgsl.expected.ir.glsl
index 72ca17c..784ca04 100644
--- a/test/tint/builtins/gen/literal/step/334303.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/334303.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 step_334303() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = step_334303();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_334303();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_334303();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 step_334303() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = step_334303();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_334303();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_334303();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 step_334303() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = step_334303();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_334303();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_334303();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.ir.glsl
index d4bb1c9..d701f8b 100644
--- a/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/38cd79.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_38cd79() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  step_38cd79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_38cd79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_38cd79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_38cd79() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  step_38cd79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_38cd79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_38cd79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_38cd79() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  step_38cd79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_38cd79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_38cd79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/415879.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/415879.wgsl.expected.ir.glsl
index d4bb1c9..aa27fee 100644
--- a/test/tint/builtins/gen/literal/step/415879.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/415879.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_415879() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  step_415879();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_415879();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_415879();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_415879() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  step_415879();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_415879();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_415879();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_415879() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  step_415879();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_415879();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_415879();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.ir.glsl
index 72ca17c..1d17759 100644
--- a/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/630d07.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t step_630d07() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = step_630d07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_630d07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_630d07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t step_630d07() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = step_630d07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_630d07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_630d07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t step_630d07() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = step_630d07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_630d07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_630d07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.ir.glsl
index d4bb1c9..1eae3d6 100644
--- a/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/7c7e5c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_7c7e5c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  step_7c7e5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_7c7e5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_7c7e5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_7c7e5c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  step_7c7e5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_7c7e5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_7c7e5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_7c7e5c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  step_7c7e5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_7c7e5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_7c7e5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.ir.glsl
index 72ca17c..54d3581 100644
--- a/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/baa320.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 step_baa320() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = step_baa320();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_baa320();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_baa320();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 step_baa320() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = step_baa320();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_baa320();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_baa320();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 step_baa320() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = step_baa320();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_baa320();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_baa320();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.ir.glsl
index 72ca17c..50684bb 100644
--- a/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/cc6b61.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 step_cc6b61() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = step_cc6b61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_cc6b61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_cc6b61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 step_cc6b61() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = step_cc6b61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_cc6b61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_cc6b61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 step_cc6b61() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = step_cc6b61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_cc6b61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_cc6b61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.ir.glsl
index 72ca17c..dbfabd1 100644
--- a/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/e2b337.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 step_e2b337() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = step_e2b337();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_e2b337();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_e2b337();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 step_e2b337() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = step_e2b337();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_e2b337();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_e2b337();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 step_e2b337() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = step_e2b337();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_e2b337();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_e2b337();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.ir.glsl
index d4bb1c9..497d392 100644
--- a/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/step/f9b70c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_f9b70c() {
+  float res = 1.0f;
+}
+void main() {
+  step_f9b70c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_f9b70c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_f9b70c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_f9b70c() {
+  float res = 1.0f;
+}
+void main() {
+  step_f9b70c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_f9b70c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_f9b70c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_f9b70c() {
+  float res = 1.0f;
+}
+void main() {
+  step_f9b70c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_f9b70c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_f9b70c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/storageBarrier/d87211.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/storageBarrier/d87211.wgsl.expected.ir.glsl
index 6c6485e..35040d5 100644
--- a/test/tint/builtins/gen/literal/storageBarrier/d87211.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/storageBarrier/d87211.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: storageBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/0dd12a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/0dd12a.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/0dd12a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/0dd12a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/1280c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/1280c8.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/1280c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/1280c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/1eb429.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/1eb429.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/1eb429.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/1eb429.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/225207.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/225207.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/225207.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/225207.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/22d041.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/22d041.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/22d041.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/22d041.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/28db2c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/28db2c.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/28db2c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/28db2c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/2ab40a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/2ab40a.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/2ab40a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/2ab40a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/3854ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/3854ae.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/3854ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/3854ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/6587ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/6587ff.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/6587ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/6587ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/7d1215.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/7d1215.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/7d1215.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/7d1215.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/8f4c15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/8f4c15.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/8f4c15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/8f4c15.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/b61df7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/b61df7.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/b61df7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/b61df7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/ba53f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/ba53f9.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/ba53f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/ba53f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/cae1ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/cae1ed.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/cae1ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/cae1ed.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/dcf73f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/dcf73f.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/dcf73f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/dcf73f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAdd/fbc357.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAdd/fbc357.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/literal/subgroupAdd/fbc357.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAdd/fbc357.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAll/c962bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAll/c962bd.wgsl.expected.ir.glsl
index 6c6485e..7bca5b0 100644
--- a/test/tint/builtins/gen/literal/subgroupAll/c962bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAll/c962bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAll
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAnd/1877b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAnd/1877b3.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/literal/subgroupAnd/1877b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAnd/1877b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAnd/376802.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAnd/376802.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/literal/subgroupAnd/376802.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAnd/376802.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAnd/4adc72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAnd/4adc72.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/literal/subgroupAnd/4adc72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAnd/4adc72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAnd/4df632.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAnd/4df632.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/literal/subgroupAnd/4df632.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAnd/4df632.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAnd/97655b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAnd/97655b.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/literal/subgroupAnd/97655b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAnd/97655b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAnd/ad0cd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAnd/ad0cd3.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/literal/subgroupAnd/ad0cd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAnd/ad0cd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAnd/c6fc92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAnd/c6fc92.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/literal/subgroupAnd/c6fc92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAnd/c6fc92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAnd/d2c9a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAnd/d2c9a6.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/literal/subgroupAnd/d2c9a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAnd/d2c9a6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupAny/cddda0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupAny/cddda0.wgsl.expected.ir.glsl
index 6c6485e..88a7215 100644
--- a/test/tint/builtins/gen/literal/subgroupAny/cddda0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupAny/cddda0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAny
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBallot/1a8251.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBallot/1a8251.wgsl.expected.ir.glsl
index 6c6485e..4c6b3c6 100644
--- a/test/tint/builtins/gen/literal/subgroupBallot/1a8251.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBallot/1a8251.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBallot
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/02f329.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/02f329.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/02f329.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/02f329.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/07e2d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/07e2d8.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/07e2d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/07e2d8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/08beca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/08beca.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/08beca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/08beca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/0f44e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/0f44e2.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/0f44e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/0f44e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/13f36c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/13f36c.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/13f36c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/13f36c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/1d79c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/1d79c7.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/1d79c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/1d79c7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/279027.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/279027.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/279027.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/279027.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/2b59c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/2b59c9.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/2b59c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/2b59c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/34ae44.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/34ae44.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/34ae44.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/34ae44.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/34fa3d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/34fa3d.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/34fa3d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/34fa3d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/3e6879.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/3e6879.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/3e6879.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/3e6879.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/41e5d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/41e5d7.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/41e5d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/41e5d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/49de94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/4a4334.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/4a4334.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/4a4334.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/4a4334.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/5196c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/5196c8.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/5196c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/5196c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/6290a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/6290a2.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/6290a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/6290a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/719ad6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/719ad6.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/719ad6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/719ad6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/727609.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/727609.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/727609.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/727609.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/838c78.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/838c78.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/838c78.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/838c78.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/867093.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/8855b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/8855b2.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/8855b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/8855b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/912ff5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/912ff5.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/912ff5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/912ff5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/9ccdca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/a279d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/a279d7.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/a279d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/a279d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/a3b3e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/a3b3e5.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/a3b3e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/a3b3e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/b7e93b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/b7e93b.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/b7e93b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/b7e93b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/c36fe1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/c36fe1.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/c36fe1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/c36fe1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/cd7aa1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/cd7aa1.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/cd7aa1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/cd7aa1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/e275c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/e275c8.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/e275c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/e275c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/e4dd1a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/e4dd1a.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/e4dd1a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/e4dd1a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/f637f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/f637f9.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/f637f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/f637f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcast/fa6810.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcast/fa6810.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcast/fa6810.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcast/fa6810.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/0538e1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/0538e1.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/0538e1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/0538e1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/0e58ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/0e58ec.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/0e58ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/0e58ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/151e52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/151e52.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/151e52.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/151e52.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/1d9530.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/1d9530.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/1d9530.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/1d9530.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/5c6962.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/5c6962.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/5c6962.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/5c6962.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/5e5b6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/5e5b6f.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/5e5b6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/5e5b6f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/612d6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/612d6f.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/612d6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/612d6f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/61f177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/61f177.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/61f177.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/61f177.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/6945f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/6945f6.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/6945f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/6945f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/705aad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/705aad.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/705aad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/705aad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/85b351.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/85b351.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/85b351.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/85b351.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/8ae580.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/8ae580.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/8ae580.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/8ae580.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/9a1bdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/9a1bdc.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/9a1bdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/9a1bdc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/9dccee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/9dccee.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/9dccee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/9dccee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/a11307.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/a11307.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/a11307.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/a11307.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/e820d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/e820d4.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/literal/subgroupBroadcastFirst/e820d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupBroadcastFirst/e820d4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupElect/3943d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupElect/3943d6.wgsl.expected.ir.glsl
index 6c6485e..46ce550 100644
--- a/test/tint/builtins/gen/literal/subgroupElect/3943d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupElect/3943d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupElect
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/01de08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/01de08.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/01de08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/01de08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/0ff95a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/0ff95a.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/0ff95a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/0ff95a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/406ab4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/406ab4.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/406ab4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/406ab4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/41cfde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/41cfde.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/41cfde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/41cfde.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/42684c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/42684c.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/42684c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/42684c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/48acea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/48acea.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/48acea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/48acea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/4a1568.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/4a1568.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/4a1568.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/4a1568.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/4c8024.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/4c8024.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/4c8024.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/4c8024.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/71ad0f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/71ad0f.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/71ad0f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/71ad0f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/95e984.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/95e984.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/95e984.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/95e984.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/967e38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/967e38.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/967e38.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/967e38.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/b0c261.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/b0c261.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/b0c261.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/b0c261.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/c08160.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/c08160.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/c08160.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/c08160.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/e58e23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/e58e23.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/e58e23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/e58e23.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/ec300f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/ec300f.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/ec300f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/ec300f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/f0f712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/f0f712.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveAdd/f0f712.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveAdd/f0f712.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/000b92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/000b92.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/000b92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/000b92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/019660.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/019660.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/019660.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/019660.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/0a04d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/0a04d5.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/0a04d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/0a04d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/13ba26.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/13ba26.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/13ba26.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/13ba26.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/25d1b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/25d1b9.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/25d1b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/25d1b9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/4525a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/4525a3.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/4525a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/4525a3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/6f431e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/6f431e.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/6f431e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/6f431e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/7b5f57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/7b5f57.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/7b5f57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/7b5f57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/87f23e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/87f23e.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/87f23e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/87f23e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/98b2e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/98b2e4.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/98b2e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/98b2e4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/a07956.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/a07956.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/a07956.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/a07956.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/a23002.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/a23002.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/a23002.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/a23002.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/d1d490.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/d1d490.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/d1d490.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/d1d490.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/dc51f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/dc51f8.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/dc51f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/dc51f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/e88d1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/e88d1c.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/e88d1c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/e88d1c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupExclusiveMul/f039f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupExclusiveMul/f039f4.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/literal/subgroupExclusiveMul/f039f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupExclusiveMul/f039f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/0b0375.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/0b0375.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/0b0375.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/0b0375.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/15ccbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/15ccbf.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/15ccbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/15ccbf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/1a1a5f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/1a1a5f.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/1a1a5f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/1a1a5f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/1fc846.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/1fc846.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/1fc846.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/1fc846.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/23f502.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/23f502.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/23f502.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/23f502.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/33e339.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/33e339.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/33e339.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/33e339.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/4ea90e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/4ea90e.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/4ea90e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/4ea90e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/5611a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/5611a5.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/5611a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/5611a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/6c913e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/6c913e.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/6c913e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/6c913e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/7c934c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/7c934c.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/7c934c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/7c934c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/7e81ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/7e81ea.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/7e81ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/7e81ea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/932164.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/932164.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/932164.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/932164.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/a3afe3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/a3afe3.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/a3afe3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/a3afe3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/a3d5f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/a3d5f7.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/a3d5f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/a3d5f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/b58cbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/b58cbf.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/b58cbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/b58cbf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMax/b8fb0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMax/b8fb0e.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/literal/subgroupMax/b8fb0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMax/b8fb0e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/030ad6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/030ad6.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/030ad6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/030ad6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/0bc13a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/0bc13a.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/0bc13a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/0bc13a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/1de104.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/1de104.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/1de104.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/1de104.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/2493ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/2493ab.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/2493ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/2493ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/2d8828.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/2d8828.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/2d8828.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/2d8828.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/337a21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/337a21.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/337a21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/337a21.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/7def0a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/7def0a.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/7def0a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/7def0a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/82ef23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/82ef23.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/82ef23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/82ef23.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/836960.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/836960.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/836960.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/836960.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/8bb8c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/8bb8c1.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/8bb8c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/8bb8c1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/8ffadc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/8ffadc.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/8ffadc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/8ffadc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/a96a2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/a96a2e.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/a96a2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/a96a2e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/bbd9b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/bbd9b0.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/bbd9b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/bbd9b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/c6da7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/c6da7c.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/c6da7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/c6da7c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/cd3b9d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/cd3b9d.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/cd3b9d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/cd3b9d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMin/d85be6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMin/d85be6.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/literal/subgroupMin/d85be6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMin/d85be6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/0de9d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/0de9d3.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/0de9d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/0de9d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/2941a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/2941a2.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/2941a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/2941a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/3fe886.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/3fe886.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/3fe886.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/3fe886.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/4f8ee6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/4f8ee6.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/4f8ee6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/4f8ee6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/53aee2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/53aee2.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/53aee2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/53aee2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/5a8c86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/5a8c86.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/5a8c86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/5a8c86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/66c813.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/66c813.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/66c813.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/66c813.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/6aaaf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/6aaaf3.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/6aaaf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/6aaaf3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/93eccd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/93eccd.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/93eccd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/93eccd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/d584a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/d584a2.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/d584a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/d584a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/dc672a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/dc672a.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/dc672a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/dc672a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/dd1333.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/dd1333.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/dd1333.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/dd1333.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/f2ac5b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/f2ac5b.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/f2ac5b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/f2ac5b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/f78398.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/f78398.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/f78398.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/f78398.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/fa781b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/fa781b.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/fa781b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/fa781b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupMul/fab258.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupMul/fab258.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/literal/subgroupMul/fab258.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupMul/fab258.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupOr/03343f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupOr/03343f.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/literal/subgroupOr/03343f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupOr/03343f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupOr/0bc264.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupOr/0bc264.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/literal/subgroupOr/0bc264.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupOr/0bc264.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupOr/3f60e0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupOr/3f60e0.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/literal/subgroupOr/3f60e0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupOr/3f60e0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupOr/4d4eb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupOr/4d4eb0.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/literal/subgroupOr/4d4eb0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupOr/4d4eb0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupOr/663a21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupOr/663a21.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/literal/subgroupOr/663a21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupOr/663a21.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupOr/aa74f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupOr/aa74f7.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/literal/subgroupOr/aa74f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupOr/aa74f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupOr/ae58b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupOr/ae58b6.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/literal/subgroupOr/ae58b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupOr/ae58b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupOr/f915e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupOr/f915e3.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/literal/subgroupOr/f915e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupOr/f915e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/030422.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/030422.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/030422.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/030422.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/1f664c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/1f664c.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/1f664c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/1f664c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/21f083.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/21f083.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/21f083.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/21f083.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/2ee993.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/2ee993.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/2ee993.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/2ee993.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/323416.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/323416.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/323416.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/323416.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/4752bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/4752bd.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/4752bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/4752bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/4cbb69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/4cbb69.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/4cbb69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/4cbb69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/4f5711.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/4f5711.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/4f5711.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/4f5711.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/54f328.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/54f328.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/54f328.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/54f328.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/5dfeab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/5dfeab.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/5dfeab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/5dfeab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/5ef5a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/5ef5a2.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/5ef5a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/5ef5a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/647034.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/647034.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/647034.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/647034.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/7ba2d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/7ba2d5.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/7ba2d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/7ba2d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/7c5d64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/7c5d64.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/7c5d64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/7c5d64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/7d7b1e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/7d7b1e.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/7d7b1e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/7d7b1e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/821df9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/821df9.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/821df9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/821df9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/824702.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/824702.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/824702.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/824702.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/84f261.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/84f261.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/84f261.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/84f261.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/85587b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/85587b.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/85587b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/85587b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/8890a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/8890a5.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/8890a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/8890a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/8bfbcd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/8bfbcd.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/8bfbcd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/8bfbcd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/8c3fd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/8c3fd2.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/8c3fd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/8c3fd2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/aa1d5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/aa1d5c.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/aa1d5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/aa1d5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/b0f28d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/b0f28d.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/b0f28d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/b0f28d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/b4bbb7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/b4bbb7.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/b4bbb7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/b4bbb7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/bbb06c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/bbb06c.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/bbb06c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/bbb06c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/d4a772.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/d4a772.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/d4a772.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/d4a772.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/d9ff67.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/d9ff67.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/d9ff67.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/d9ff67.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/e13c81.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/e13c81.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/e13c81.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/e13c81.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/e854d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/e854d5.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/e854d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/e854d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/f194f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/f194f5.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/f194f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/f194f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffle/fb4ab9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffle/fb4ab9.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffle/fb4ab9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffle/fb4ab9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/10eb45.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/10eb45.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/10eb45.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/10eb45.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/1b530f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/1b530f.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/1b530f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/1b530f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/257ff0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/257ff0.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/257ff0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/257ff0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/313d9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/313d9b.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/313d9b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/313d9b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/57b1e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/57b1e8.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/57b1e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/57b1e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/5d8b9f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/5d8b9f.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/5d8b9f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/5d8b9f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/63fdb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/63fdb0.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/63fdb0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/63fdb0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/642789.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/642789.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/642789.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/642789.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/7a0cf5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/7a0cf5.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/7a0cf5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/7a0cf5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/7f8886.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/7f8886.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/7f8886.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/7f8886.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/9c6714.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/9c6714.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/9c6714.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/9c6714.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/b41899.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/b41899.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/b41899.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/b41899.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/c9f1c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/c9f1c4.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/c9f1c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/c9f1c4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/d269eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/d269eb.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/d269eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/d269eb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/d46304.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/d46304.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/d46304.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/d46304.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleDown/d90c2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleDown/d90c2f.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleDown/d90c2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleDown/d90c2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/0990cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/0990cd.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/0990cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/0990cd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/1bb93f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/1bb93f.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/1bb93f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/1bb93f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/23c7ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/23c7ca.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/23c7ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/23c7ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/3242a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/3242a6.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/3242a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/3242a6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/33d495.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/33d495.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/33d495.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/33d495.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/3e609f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/3e609f.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/3e609f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/3e609f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/58de69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/58de69.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/58de69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/58de69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/868e52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/868e52.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/868e52.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/868e52.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/87c9d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/87c9d6.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/87c9d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/87c9d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/88eb07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/88eb07.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/88eb07.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/88eb07.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/8a63f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/8a63f3.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/8a63f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/8a63f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/a2075a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/a2075a.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/a2075a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/a2075a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/abaea0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/abaea0.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/abaea0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/abaea0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/b58804.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/b58804.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/b58804.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/b58804.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/bbf7f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/bbf7f4.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/bbf7f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/bbf7f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleUp/db5bcb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleUp/db5bcb.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleUp/db5bcb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleUp/db5bcb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/071aa0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/071aa0.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/071aa0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/071aa0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/08f588.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/08f588.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/08f588.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/08f588.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/1d36b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/1d36b6.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/1d36b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/1d36b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/1e247f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/1e247f.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/1e247f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/1e247f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/1f2590.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/1f2590.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/1f2590.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/1f2590.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/2e033d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/2e033d.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/2e033d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/2e033d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/445e83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/445e83.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/445e83.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/445e83.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/7435fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/7435fe.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/7435fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/7435fe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/80b6e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/80b6e9.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/80b6e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/80b6e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/9f945a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/9f945a.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/9f945a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/9f945a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/bdddba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/bdddba.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/bdddba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/bdddba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/c88290.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/c88290.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/c88290.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/c88290.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/caa816.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/caa816.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/caa816.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/caa816.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/d224ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/d224ab.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/d224ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/d224ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/e3c10b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/e3c10b.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/e3c10b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/e3c10b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupShuffleXor/f7b453.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupShuffleXor/f7b453.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/literal/subgroupShuffleXor/f7b453.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupShuffleXor/f7b453.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupXor/468721.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupXor/468721.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/literal/subgroupXor/468721.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupXor/468721.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupXor/473de8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupXor/473de8.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/literal/subgroupXor/473de8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupXor/473de8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupXor/694b17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupXor/694b17.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/literal/subgroupXor/694b17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupXor/694b17.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupXor/7750d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupXor/7750d6.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/literal/subgroupXor/7750d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupXor/7750d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupXor/7f6672.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupXor/7f6672.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/literal/subgroupXor/7f6672.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupXor/7f6672.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupXor/83b1f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupXor/83b1f3.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/literal/subgroupXor/83b1f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupXor/83b1f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupXor/9c6e73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupXor/9c6e73.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/literal/subgroupXor/9c6e73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupXor/9c6e73.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/subgroupXor/9d77e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/subgroupXor/9d77e4.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/literal/subgroupXor/9d77e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/subgroupXor/9d77e4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.ir.glsl
index 72ca17c..b9426ff 100644
--- a/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/244e2a.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tan_244e2a() {
+  vec4 res = vec4(1.55740773677825927734f);
+  return res;
+}
+void main() {
+  prevent_dce = tan_244e2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_244e2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_244e2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tan_244e2a() {
+  vec4 res = vec4(1.55740773677825927734f);
+  return res;
+}
+void main() {
+  prevent_dce = tan_244e2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_244e2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_244e2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tan_244e2a() {
+  vec4 res = vec4(1.55740773677825927734f);
+  return res;
+}
+void main() {
+  prevent_dce = tan_244e2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_244e2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_244e2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.ir.glsl
index 72ca17c..e7fdde5 100644
--- a/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/2f030e.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tan_2f030e() {
+  float res = 1.55740773677825927734f;
+  return res;
+}
+void main() {
+  prevent_dce = tan_2f030e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_2f030e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_2f030e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tan_2f030e() {
+  float res = 1.55740773677825927734f;
+  return res;
+}
+void main() {
+  prevent_dce = tan_2f030e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_2f030e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_2f030e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tan_2f030e() {
+  float res = 1.55740773677825927734f;
+  return res;
+}
+void main() {
+  prevent_dce = tan_2f030e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_2f030e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_2f030e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.ir.glsl
index d4bb1c9..47eb319 100644
--- a/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/311400.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_311400() {
+  float res = 1.55740773677825927734f;
+}
+void main() {
+  tan_311400();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_311400();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_311400();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_311400() {
+  float res = 1.55740773677825927734f;
+}
+void main() {
+  tan_311400();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_311400();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_311400();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_311400() {
+  float res = 1.55740773677825927734f;
+}
+void main() {
+  tan_311400();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_311400();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_311400();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.ir.glsl
index 72ca17c..df3a8a6 100644
--- a/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/539e54.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tan_539e54() {
+  f16vec4 res = f16vec4(1.556640625hf);
+  return res;
+}
+void main() {
+  prevent_dce = tan_539e54();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_539e54();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_539e54();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tan_539e54() {
+  f16vec4 res = f16vec4(1.556640625hf);
+  return res;
+}
+void main() {
+  prevent_dce = tan_539e54();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_539e54();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_539e54();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tan_539e54() {
+  f16vec4 res = f16vec4(1.556640625hf);
+  return res;
+}
+void main() {
+  prevent_dce = tan_539e54();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_539e54();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_539e54();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.ir.glsl
index d4bb1c9..5bb5992 100644
--- a/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/7be368.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_7be368() {
+  vec2 res = vec2(1.55740773677825927734f);
+}
+void main() {
+  tan_7be368();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_7be368();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_7be368();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_7be368() {
+  vec2 res = vec2(1.55740773677825927734f);
+}
+void main() {
+  tan_7be368();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_7be368();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_7be368();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_7be368() {
+  vec2 res = vec2(1.55740773677825927734f);
+}
+void main() {
+  tan_7be368();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_7be368();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_7be368();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.ir.glsl
index 72ca17c..5be718a 100644
--- a/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/7ea104.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tan_7ea104() {
+  vec3 res = vec3(1.55740773677825927734f);
+  return res;
+}
+void main() {
+  prevent_dce = tan_7ea104();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_7ea104();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_7ea104();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tan_7ea104() {
+  vec3 res = vec3(1.55740773677825927734f);
+  return res;
+}
+void main() {
+  prevent_dce = tan_7ea104();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_7ea104();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_7ea104();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tan_7ea104() {
+  vec3 res = vec3(1.55740773677825927734f);
+  return res;
+}
+void main() {
+  prevent_dce = tan_7ea104();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_7ea104();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_7ea104();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.ir.glsl
index 72ca17c..a50a682 100644
--- a/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/8ce3e9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tan_8ce3e9() {
+  vec2 res = vec2(1.55740773677825927734f);
+  return res;
+}
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_8ce3e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tan_8ce3e9() {
+  vec2 res = vec2(1.55740773677825927734f);
+  return res;
+}
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_8ce3e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tan_8ce3e9() {
+  vec2 res = vec2(1.55740773677825927734f);
+  return res;
+}
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_8ce3e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.ir.glsl
index 72ca17c..7d72729 100644
--- a/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/9f7c9c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tan_9f7c9c() {
+  f16vec2 res = f16vec2(1.556640625hf);
+  return res;
+}
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_9f7c9c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tan_9f7c9c() {
+  f16vec2 res = f16vec2(1.556640625hf);
+  return res;
+}
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_9f7c9c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tan_9f7c9c() {
+  f16vec2 res = f16vec2(1.556640625hf);
+  return res;
+}
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_9f7c9c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.ir.glsl
index d4bb1c9..30f1985 100644
--- a/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/a0966f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_a0966f() {
+  vec4 res = vec4(1.55740773677825927734f);
+}
+void main() {
+  tan_a0966f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_a0966f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_a0966f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_a0966f() {
+  vec4 res = vec4(1.55740773677825927734f);
+}
+void main() {
+  tan_a0966f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_a0966f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_a0966f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_a0966f() {
+  vec4 res = vec4(1.55740773677825927734f);
+}
+void main() {
+  tan_a0966f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_a0966f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_a0966f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.ir.glsl
index d4bb1c9..453e57f 100644
--- a/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/ae26ae.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_ae26ae() {
+  vec3 res = vec3(1.55740773677825927734f);
+}
+void main() {
+  tan_ae26ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_ae26ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_ae26ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_ae26ae() {
+  vec3 res = vec3(1.55740773677825927734f);
+}
+void main() {
+  tan_ae26ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_ae26ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_ae26ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_ae26ae() {
+  vec3 res = vec3(1.55740773677825927734f);
+}
+void main() {
+  tan_ae26ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_ae26ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_ae26ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.ir.glsl
index 72ca17c..b71525c 100644
--- a/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/d4d491.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tan_d4d491() {
+  float16_t res = 1.556640625hf;
+  return res;
+}
+void main() {
+  prevent_dce = tan_d4d491();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_d4d491();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_d4d491();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tan_d4d491() {
+  float16_t res = 1.556640625hf;
+  return res;
+}
+void main() {
+  prevent_dce = tan_d4d491();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_d4d491();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_d4d491();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tan_d4d491() {
+  float16_t res = 1.556640625hf;
+  return res;
+}
+void main() {
+  prevent_dce = tan_d4d491();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_d4d491();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_d4d491();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.ir.glsl
index 72ca17c..1797423 100644
--- a/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tan/db0456.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tan_db0456() {
+  f16vec3 res = f16vec3(1.556640625hf);
+  return res;
+}
+void main() {
+  prevent_dce = tan_db0456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_db0456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_db0456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tan_db0456() {
+  f16vec3 res = f16vec3(1.556640625hf);
+  return res;
+}
+void main() {
+  prevent_dce = tan_db0456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_db0456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_db0456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tan_db0456() {
+  f16vec3 res = f16vec3(1.556640625hf);
+  return res;
+}
+void main() {
+  prevent_dce = tan_db0456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_db0456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_db0456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.ir.glsl
index 72ca17c..1ebf661 100644
--- a/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/06a4fe.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tanh_06a4fe() {
+  f16vec3 res = f16vec3(0.76123046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_06a4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tanh_06a4fe() {
+  f16vec3 res = f16vec3(0.76123046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_06a4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tanh_06a4fe() {
+  f16vec3 res = f16vec3(0.76123046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_06a4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.ir.glsl
index d4bb1c9..63d9b15 100644
--- a/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/313aa1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_313aa1() {
+  float res = 0.76159417629241943359f;
+}
+void main() {
+  tanh_313aa1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_313aa1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_313aa1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_313aa1() {
+  float res = 0.76159417629241943359f;
+}
+void main() {
+  tanh_313aa1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_313aa1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_313aa1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_313aa1() {
+  float res = 0.76159417629241943359f;
+}
+void main() {
+  tanh_313aa1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_313aa1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_313aa1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.ir.glsl
index 72ca17c..4c02b84 100644
--- a/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/5663c5.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tanh_5663c5() {
+  vec4 res = vec4(0.76159417629241943359f);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5663c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tanh_5663c5() {
+  vec4 res = vec4(0.76159417629241943359f);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5663c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tanh_5663c5() {
+  vec4 res = vec4(0.76159417629241943359f);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5663c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.ir.glsl
index 72ca17c..359703a 100644
--- a/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/5724b3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tanh_5724b3() {
+  vec2 res = vec2(0.76159417629241943359f);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5724b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tanh_5724b3() {
+  vec2 res = vec2(0.76159417629241943359f);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5724b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tanh_5724b3() {
+  vec2 res = vec2(0.76159417629241943359f);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5724b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.ir.glsl
index 72ca17c..8eb0781 100644
--- a/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/5b19af.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tanh_5b19af() {
+  float16_t res = 0.76123046875hf;
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5b19af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tanh_5b19af() {
+  float16_t res = 0.76123046875hf;
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5b19af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tanh_5b19af() {
+  float16_t res = 0.76123046875hf;
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5b19af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.ir.glsl
index d4bb1c9..1467d1c 100644
--- a/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/6289fd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_6289fd() {
+  vec3 res = vec3(0.76159417629241943359f);
+}
+void main() {
+  tanh_6289fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_6289fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_6289fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_6289fd() {
+  vec3 res = vec3(0.76159417629241943359f);
+}
+void main() {
+  tanh_6289fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_6289fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_6289fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_6289fd() {
+  vec3 res = vec3(0.76159417629241943359f);
+}
+void main() {
+  tanh_6289fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_6289fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_6289fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.ir.glsl
index 72ca17c..54a61ee 100644
--- a/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/6d105a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tanh_6d105a() {
+  f16vec2 res = f16vec2(0.76123046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_6d105a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tanh_6d105a() {
+  f16vec2 res = f16vec2(0.76123046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_6d105a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tanh_6d105a() {
+  f16vec2 res = f16vec2(0.76123046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_6d105a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.ir.glsl
index 72ca17c..eb37016 100644
--- a/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/9f9fb9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tanh_9f9fb9() {
+  vec3 res = vec3(0.76159417629241943359f);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_9f9fb9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tanh_9f9fb9() {
+  vec3 res = vec3(0.76159417629241943359f);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_9f9fb9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tanh_9f9fb9() {
+  vec3 res = vec3(0.76159417629241943359f);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_9f9fb9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.ir.glsl
index d4bb1c9..0c4670b 100644
--- a/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/ac5d33.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_ac5d33() {
+  vec4 res = vec4(0.76159417629241943359f);
+}
+void main() {
+  tanh_ac5d33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_ac5d33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_ac5d33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_ac5d33() {
+  vec4 res = vec4(0.76159417629241943359f);
+}
+void main() {
+  tanh_ac5d33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_ac5d33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_ac5d33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_ac5d33() {
+  vec4 res = vec4(0.76159417629241943359f);
+}
+void main() {
+  tanh_ac5d33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_ac5d33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_ac5d33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.ir.glsl
index 72ca17c..71c25ba 100644
--- a/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/c15fdb.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tanh_c15fdb() {
+  float res = 0.76159417629241943359f;
+  return res;
+}
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_c15fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tanh_c15fdb() {
+  float res = 0.76159417629241943359f;
+  return res;
+}
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_c15fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tanh_c15fdb() {
+  float res = 0.76159417629241943359f;
+  return res;
+}
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_c15fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.ir.glsl
index d4bb1c9..ee7de12 100644
--- a/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/c48aa6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_c48aa6() {
+  vec2 res = vec2(0.76159417629241943359f);
+}
+void main() {
+  tanh_c48aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_c48aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_c48aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_c48aa6() {
+  vec2 res = vec2(0.76159417629241943359f);
+}
+void main() {
+  tanh_c48aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_c48aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_c48aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_c48aa6() {
+  vec2 res = vec2(0.76159417629241943359f);
+}
+void main() {
+  tanh_c48aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_c48aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_c48aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.ir.glsl
index 72ca17c..beb4d1d 100644
--- a/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/tanh/e8efb3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tanh_e8efb3() {
+  f16vec4 res = f16vec4(0.76123046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_e8efb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tanh_e8efb3() {
+  f16vec4 res = f16vec4(0.76123046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_e8efb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tanh_e8efb3() {
+  f16vec4 res = f16vec4(0.76123046875hf);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_e8efb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/textureBarrier/3d0f7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureBarrier/3d0f7e.wgsl.expected.ir.glsl
index 6c6485e..2280075 100644
--- a/test/tint/builtins/gen/literal/textureBarrier/3d0f7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureBarrier/3d0f7e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/00229f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/00229f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/00229f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/00229f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.ir.glsl
index 107f0e3..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/00348c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/01e21e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/01edb1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/022903.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0276ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/029589.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0329b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/033195.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/033ea7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/038847.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/03f81e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/07f1ba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/088918.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0890c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/08e371.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/09140b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0973c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0baa0d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0c0b0c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0d4a7c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0de70c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/0ff9a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/135176.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/13f8db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1417dd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/15aa17.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/15b577.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/18160d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/18160d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/18160d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/18160d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/18f19f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/18f19f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/18f19f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/18f19f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1a2be7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1b720f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1bc428.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1bd78c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/1e4024.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/20eaad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/20ecef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/212362.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/224113.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/22b5b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/24db07.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/25d284.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/25d284.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/25d284.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/25d284.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2674d8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/268ddb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/26d6bf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/282978.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/282978.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/282978.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/282978.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/283b58.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/284c27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2a58b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2bafdf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2dc5c5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2e443d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2fd2a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/2ff32a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/305dd5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/31799c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/31d00d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/325338.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/346fee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/35a7e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/35ee69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/36eeb7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/378a65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/382b16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3834f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/38c9ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3963d0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/397dab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3a5bb1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3a7b69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3af3e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3b38f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3baab5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3bf12a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3c66f0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.ir.glsl
index 107f0e3..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3f3474.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3fc3dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/3ff0a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/40c671.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/40da20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/40da20.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/40da20.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/40da20.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/40ecf4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/41545f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/423519.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/427f92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/439651.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/445376.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/44b358.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/452fc1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/46f0fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4716a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/475c10.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/49a067.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4acec7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4b26ef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4be71b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4d1f71.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4d27b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4df14c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/4e540a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/528c0e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/52cf60.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/534ef8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/542c62.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/542c62.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/542c62.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/542c62.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/55fdeb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/5703b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/578e75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/578e75.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/578e75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/578e75.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/579eee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/58a82d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/591981.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/599ab5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/5b4b10.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/5df042.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/607979.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/609d34.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/617dc8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/62cb5a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/62e7ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/64dc74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/674058.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6dae40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6dbef4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6e6c7a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6e72c5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/6f1b5d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/709357.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/70dd33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/715917.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7228de.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7327fa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/740e7c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/756031.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/756304.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/790e57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/795fbb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/797c30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/79d168.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7a3890.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7a9e30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7c753b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7c7c64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7d8439.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7ea4b5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/7edb05.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8057cb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8243a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/835f90.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/841ebe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/84f363.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/867ead.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/879b73.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/87b42d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/881dd4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8a2b17.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8a35f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8af728.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8af728.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8af728.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8af728.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8b9906.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8bd369.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8e15f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8e5de6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/8efd47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/902179.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/904b0f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/90dd74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/91e3b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/920006.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/92552e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9573f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/965645.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/98b2d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/991ea9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9944d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9b10a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9b223b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9baf27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9c7a00.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9cd4ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9cd8ad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9d0bac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9d68b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9dc27a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9e0794.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/9fcc3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a105a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a14386.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a1598a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a20ba2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a20ba2.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a20ba2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a20ba2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a25d9b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a2ba5e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a3ea91.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a48049.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a4cd56.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a65776.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/a7ae4c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/aa4353.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/aac604.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ad7d3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ae4595.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ae75a7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/af46ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b16352.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b284b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b3ab5e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b46d97.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b51345.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b56112.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b5ba03.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b5d68e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b6bbf4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b8287f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/b9e7ef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bb95d9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bbe285.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bc96f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bd94c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bec716.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/bf9170.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c1189e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c1dbf6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c27466.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.ir.glsl
index 5e1cda8..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c2cdd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c44fc1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c5a36e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c6b44c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c6b985.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c6b985.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c6b985.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c6b985.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c7ea63.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c82420.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/c871f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ca10cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cad3b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cc947b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cd3033.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.ir.glsl
index 8fef837..6df2b75 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cdc6c9.wgsl.expected.ir.glsl
@@ -1,11 +1,202 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct tint_GammaTransferParams {
+  float G;
+  float A;
+  float B;
+  float C;
+  float D;
+  float E;
+  float F;
+  uint padding;
+};
+
+struct tint_ExternalTextureParams {
+  uint numPlanes;
+  uint doYuvToRgbConversionOnly;
+  mat3x4 yuvToRgbConversionMatrix;
+  tint_GammaTransferParams gammaDecodeParams;
+  tint_GammaTransferParams gammaEncodeParams;
+  mat3 gamutConversionMatrix;
+  mat3x2 sampleTransform;
+  mat3x2 loadTransform;
+  vec2 samplePlane0RectMin;
+  vec2 samplePlane0RectMax;
+  vec2 samplePlane1RectMin;
+  vec2 samplePlane1RectMax;
+  uvec2 visibleSize;
+  vec2 plane1CoordFactor;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uniform highp sampler2D arg_0_plane0;
+uniform highp sampler2D arg_0_plane1;
+uniform tint_ExternalTextureParams arg_0_params;
+uvec2 textureDimensions_cdc6c9() {
+  uvec2 res = (arg_0_params.visibleSize + uvec2(1u));
+  return res;
+}
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureDimensions_cdc6c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct tint_GammaTransferParams {
+  float G;
+  float A;
+  float B;
+  float C;
+  float D;
+  float E;
+  float F;
+  uint padding;
+};
+
+struct tint_ExternalTextureParams {
+  uint numPlanes;
+  uint doYuvToRgbConversionOnly;
+  mat3x4 yuvToRgbConversionMatrix;
+  tint_GammaTransferParams gammaDecodeParams;
+  tint_GammaTransferParams gammaEncodeParams;
+  mat3 gamutConversionMatrix;
+  mat3x2 sampleTransform;
+  mat3x2 loadTransform;
+  vec2 samplePlane0RectMin;
+  vec2 samplePlane0RectMax;
+  vec2 samplePlane1RectMin;
+  vec2 samplePlane1RectMax;
+  uvec2 visibleSize;
+  vec2 plane1CoordFactor;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uniform highp sampler2D arg_0_plane0;
+uniform highp sampler2D arg_0_plane1;
+uniform tint_ExternalTextureParams arg_0_params;
+uvec2 textureDimensions_cdc6c9() {
+  uvec2 res = (arg_0_params.visibleSize + uvec2(1u));
+  return res;
+}
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureDimensions_cdc6c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:51: 'main' : function already has a body 
+ERROR: 0:51: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct tint_GammaTransferParams {
+  float G;
+  float A;
+  float B;
+  float C;
+  float D;
+  float E;
+  float F;
+  uint padding;
+};
+
+struct tint_ExternalTextureParams {
+  uint numPlanes;
+  uint doYuvToRgbConversionOnly;
+  mat3x4 yuvToRgbConversionMatrix;
+  tint_GammaTransferParams gammaDecodeParams;
+  tint_GammaTransferParams gammaEncodeParams;
+  mat3 gamutConversionMatrix;
+  mat3x2 sampleTransform;
+  mat3x2 loadTransform;
+  vec2 samplePlane0RectMin;
+  vec2 samplePlane0RectMax;
+  vec2 samplePlane1RectMin;
+  vec2 samplePlane1RectMax;
+  uvec2 visibleSize;
+  vec2 plane1CoordFactor;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uniform highp sampler2D arg_0_plane0;
+uniform highp sampler2D arg_0_plane1;
+uniform tint_ExternalTextureParams arg_0_params;
+uvec2 textureDimensions_cdc6c9() {
+  uvec2 res = (arg_0_params.visibleSize + uvec2(1u));
+  return res;
+}
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureDimensions_cdc6c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:50: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:50: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cedabd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/cf2b50.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d0778e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d08a94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d1b882.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d3accd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d44ac3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d44dd1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d63c28.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d6f3cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d8ba68.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/d8f887.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/da30d2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/daf0fe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/db7131.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/dc83ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/de03c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/deb3c0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/dee461.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/dfdc32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e122fe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e18a8b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.ir.glsl
index 107f0e3..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e4bfd2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e4e310.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e4f021.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e50eb8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e5a203.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e738f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e824b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/e99308.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ea066c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ea25bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eafe19.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb03b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb10d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb1249.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/eb9f4d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ed1030.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/ef2e58.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f17acd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f264a3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f3a2ac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f406ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f4321c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f48886.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f4e469.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f55a94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f626b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f7bac5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f8522e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f93ece.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/f94e55.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/fbb15a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/fdbae8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/fdbae8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/fdbae8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/fdbae8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureDimensions/fdf6e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/0166ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/04fa78.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/10c554.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/11b2db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/17baac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/1bf0ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/1f7f6b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/22e930.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/238ec4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/24b0bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/269250.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/2a4f40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/2cc066.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/2e0ed5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/32c4e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/3b32cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/43025d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/445793.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/49b07f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/4b8103.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/4e8ac5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/5266da.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/59372a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/5ba85f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/5bd491.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/6b7b74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/751f8a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/788010.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/7c3828.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/7dd226.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/829357.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/831549.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/8578bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/89680f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/8b754c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/8fae00.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/92ea47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/986700.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/9a6358.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/9ab41e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/a0372b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/a68027.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/aaf6bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/af55b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/bb3ac5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/bd33b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/be276f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/c0640c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/ccadde.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/ce5578.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/cf9112.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/d1f187.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/d4b5c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/d6507c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/d8e958.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/d90605.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/d98d59.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/dc6661.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/e2acac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/e3165f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/e9d390.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/ea8eb4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGather/f2c6e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/144a9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/182fd4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/2e409c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/313add.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/60d2d1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/6d9352.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/783e65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/b5bc43.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureGatherCompare/f585cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/012e11.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/019da0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/01cd01.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/026217.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/02c48d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/02ef1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/03e03e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/045ec9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/04b911.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/050c33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/054350.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/0674b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/06ac37.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/072e26.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/078bc4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/0b515a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/0cb698.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/10db82.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/126466.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/127e12.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1373dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/13d539.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/13e90c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/143d84.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1471b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/14cc4c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1561a7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/15e675.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1619bf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/168dc8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/170593.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/17095b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/18ac11.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/19cf87.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/19d6be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/19e5ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/19e5ca.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/19e5ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/19e5ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1a062f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1a8452.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1aa950.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1b051f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1b4332.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1b8588.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1bc5ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1bfdfb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1c562a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1d43ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1e6baa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1eb93f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1f2016.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/1fde63.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/1fde63.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/1fde63.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/1fde63.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/206a08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/20fa2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/216c37.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/21d1c4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/223246.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/22e963.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/23007a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2363be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/23ff89.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/25b67f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/26b8f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/26c4f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/26d7f1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/272e7a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/276643.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/276643.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/276643.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/276643.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/276a2c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2887d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2a82d9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2ae485.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2c72ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2cee30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2d479c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2d6cf7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2dbfc2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2e09aa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2e3552.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/2eaf31.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/313c73.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/31db4b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/321210.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/32a7b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/33d3aa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/348827.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/34d97c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/35a5e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/35a5e2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/35a5e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/35a5e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/35d464.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/35d464.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/35d464.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/35d464.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/374351.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/388688.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/38f8ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/39016c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/395447.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/39ef40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3a2350.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3aea13.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3bbc2b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3c0d9e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3c9587.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3c96e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3cfb9c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3d001b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3d3fd1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3d9c90.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3da3ed.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/3e16a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3e16a8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3e16a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3e16a8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/3e5f6a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/40ee8b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4212a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/424afd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/42a631.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/43484a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/439e2a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/43cd86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/44c826.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4542ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/454347.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4638a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/469912.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/46a93f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/46dbf5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/473d3e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/47e818.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/482627.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/484344.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4951bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4951bb.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4951bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4951bb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/49f76f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4a5c55.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4acb64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c15b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c1a1e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c423f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4c67be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4ccf9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4cdca5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4db25c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4e2c5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4f5496.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4f90bb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4fa6ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/4fd803.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/505aa2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/50915c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5154e1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/519ab5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/53378a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/53941c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/53e142.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/54a59b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/54e0ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/54fb38.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/55e745.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/560573.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/56a000.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/582015.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/589eaa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5a2f9d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5abbf2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5b0f5b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5b4947.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5bb7fb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5c69f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5cd3fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5cee3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5d0a2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5d4042.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5dd4c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5dd4c7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5dd4c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5dd4c7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5e17a7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5e1843.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5e8d3f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5ed6ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5ed6ad.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5ed6ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5ed6ad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5f4473.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/5feb4d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6154d4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/61e2e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/620caa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/622278.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6273b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/62d125.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/62d1de.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/639962.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/63be18.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/64c372.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/656d76.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/65a4d0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/666010.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6678b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/66be47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/67d826.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/67edca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/68d273.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6925bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/69fee5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6a6871.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6b77d4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6b8ba6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6ba9ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6bf3e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6bf4b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6d1fb4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6d376a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6d7bb5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6e903f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f0370.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6f0370.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f0370.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f0370.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f0ea8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f1750.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/6f8927.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/714471.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/72bb3c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/72c9c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/72c9c3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/72c9c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/72c9c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/742f1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/749704.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/74a387.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/773c46.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/789045.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/79e697.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7ab4df.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7b63e0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7bee94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7c90e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7dab57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/7dd3d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/7dd3d5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7dd3d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7dd3d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7e5cbc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/7fd822.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/80dae1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/81c381.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/83162f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/83cea4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/83d6e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/848d85.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/84a438.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/84c728.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/84dee1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8527b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/862833.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/878e24.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/87be85.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/87f0a6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/881349.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/89620b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/897cf3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8a291b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8a9988.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8acf41.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8b62fb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8bf8c2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8c6176.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8ccbe3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8d64c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8db0ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8e5032.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8e68c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8fc29b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/8ff033.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/91ede5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9242e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/92dd61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/92dd61.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/92dd61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/92dd61.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/92eb1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/936952.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/93f23e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/947107.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/947107.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/947107.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/947107.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/96efd5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/970308.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9885b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/99d8fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/99d8fa.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/99d8fa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/99d8fa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9a7c90.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9a8c1e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9aa733.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9b2667.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9b5343.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9c2376.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9c2a14.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9cf7df.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9d70e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9de6f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9ed19e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9fa9fd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9fbfd9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/9fd7be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a03af1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a24be1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a2b3f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a3733f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a3f122.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a548a8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a54e11.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a583c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a5c4e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a5e0a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a64b1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a6a85a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a6b61d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7444c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7a3c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7bcb4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a7c171.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a8549b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a92b18.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/a9a9f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aa2579.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aa6130.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aa8a0d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aae7f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aae9c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ac64f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/acf22f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ad551e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aeae73.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/aebc09.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/af0507.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b1bf79.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b1ca35.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b24d27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b25644.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b27c33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b29f71.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b4d6c4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b58c6d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b60a86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b60db7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b6ba5d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b6c458.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b73f6b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b75c8f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b75d4a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b7f74f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b80e7e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/b94d15.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ba023a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ba74b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/babdf3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bba04a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bbb762.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bc3201.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/bc882d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/bc882d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bc882d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bc882d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bcbb3c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bd990a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bdc67a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/bfd154.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c02b74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c07013.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c16e00.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c21b33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c2a480.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c2d09a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c378ee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c40dcb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c456bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c5791b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c5c86d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c66b20.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c7cbed.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c7e313.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c80691.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c8ed19.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c98bf4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c9b083.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c9cc40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/c9f310.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cac876.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cad5f2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cb57c2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cdbcf6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cdccd2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cdd343.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cddf6b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cec477.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/cece6c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/cece6c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/cece6c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/cece6c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d02afc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d0e351.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d357bb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d37a08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d3d8fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d41c72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d4df19.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d5c48d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d72de9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d7996a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d79c5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d80ff3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d81c57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d85d61.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d8617f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d8be5a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/d91f37.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dab04f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dbd554.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dd5859.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dd8776.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ddeed3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/de5a0e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dee8e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/defd9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/dfdf3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e1c3cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e2292f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e2b3a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e2d7da.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e33285.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e35f72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e3b08b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e3d2cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e4051a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e4051a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e4051a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e4051a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e57e92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e59fdf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e65916.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e893d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e92dd0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/e9eb65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ea2abd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/eb573b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ebfb92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ecc823.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ed55a8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ee33c5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/eecf7d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ef2ec3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ef5405.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/efa787.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f0514a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f06b69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f0abad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f1c549.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f2a7ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f2bdd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f2bdd4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f2bdd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f2bdd4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f2c311.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f348d9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f35ac7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f379e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f56e6f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f5aee2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f5aee2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f5aee2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f5aee2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f5fbc6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f74bd8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f7f3bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f7f936.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f81792.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f82eb2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f85291.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f8a2e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f92c2d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/f9eaaf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fc47ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fc6d36.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fcd23d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fd6442.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fd9606.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fdebd0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fe0565.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fe222a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/fe2c1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/feab99.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureLoad/ff1119.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/014a3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/071ebc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/0856ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/0ec222.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/0fe8dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/17ccad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/1f858a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/24d572.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/26c9f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/2a48dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/2d95ea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/327d70.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/32ca10.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3465ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/34cefa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3580ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/379cc5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/37bc8a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/380a60.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3ad143.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/3eff89.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/485774.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.ir.glsl
index ba913ae..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/48ef47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/4adaad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/4c4333.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/520086.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/52dfc5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/54a654.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/555f67.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/59cc27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/59cc27.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/59cc27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/59cc27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/59eb57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/5ee8f2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/5f20d1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/61bd23.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/622aa2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/6b4321.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/6da0eb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/77be7b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/7895f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/7f28cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8356f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/8356f7.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8356f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8356f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/878dea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/87faad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8ac32a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8bd987.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8dbf23.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/8e1bd0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/90b8cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/9695c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/98a9cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/9c60e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/a54655.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.ir.glsl
index ba913ae..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/a9d3f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/aac630.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/aac630.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/aac630.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/aac630.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/bf2f76.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/c1eca9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/d3e21f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/d3f655.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/d75a0b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/de8087.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/e47aac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLayers/f1783f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/181090.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/1a3fa9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/1a7fc3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/2267d8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/24b2c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.ir.glsl
index ba913ae..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/2bea6c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/2df1ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/46dbd8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/60d9b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/903920.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/9a1a65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/adc783.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.ir.glsl
index ba913ae..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/ae911c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/c386c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/c399f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.ir.glsl
index ba913ae..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/c8c25c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.ir.glsl
index ba913ae..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/d63126.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/d8f73b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/ef7944.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/efd6df.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/f742c0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumLevels/fe2171.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.ir.glsl
index 107f0e3..3adf1b1 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/50f399.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.ir.glsl
index 107f0e3..3adf1b1 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/c1a777.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.ir.glsl
index 107f0e3..3adf1b1 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/dbb799.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.ir.glsl
index 5e1cda8..3adf1b1 100644
--- a/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureNumSamples/ecd321.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/0dff6c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/0dff6c.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/0dff6c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/0dff6c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/17e988.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/17e988.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/17e988.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/17e988.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/193203.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/193203.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/193203.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/193203.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/1a4e1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/1a4e1b.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/1a4e1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/1a4e1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/2149ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/2149ec.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/2149ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/2149ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/38bbb9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/38bbb9.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/38bbb9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/38bbb9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/3b50bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/3b50bd.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/3b50bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/3b50bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/4703d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/4703d0.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/4703d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/4703d0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/4dd1bf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/51b514.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/51b514.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/51b514.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/51b514.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/60bf45.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/6717ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/6e64fb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/6e64fb.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/6e64fb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/6e64fb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/7e9ffd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/7fd8cb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/7fd8cb.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/7fd8cb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/7fd8cb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/85c4ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/85c4ba.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/85c4ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/85c4ba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/bc7477.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/bc7477.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/bc7477.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/bc7477.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/c2f4e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/d6b281.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/d6b281.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/d6b281.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/d6b281.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/e53267.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/e53267.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/e53267.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/e53267.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSample/ea7030.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSample/ea7030.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSample/ea7030.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSample/ea7030.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/1c707e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/53b9f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/594824.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/594824.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/594824.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/594824.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/6a9113.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/80e579.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/87915c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/87915c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/87915c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/87915c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/9dbb51.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/a161cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/a161cf.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/a161cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/a161cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/c6953d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/d3fa1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleBias/eed7c4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/1912e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/1912e5.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompare/1912e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompare/1912e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/3a5923.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/3a5923.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompare/3a5923.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompare/3a5923.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/63fb83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/63fb83.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompare/63fb83.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompare/63fb83.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/7b5025.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/7b5025.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompare/7b5025.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompare/7b5025.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/90ae56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/90ae56.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompare/90ae56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompare/90ae56.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompare/a3ca7e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompare/af1051.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompare/dd431d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompare/dec064.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompare/dec064.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompare/dec064.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompare/dec064.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1116ed.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/1568e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/2ad2b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/4cf3a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7dc3c0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/7f2b9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/958c87.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/b6e47c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleCompareLevel/bcb3dd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/21402b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/2ecd8f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/521263.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/5312f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/5884dd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/7cd6de.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/a09131.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/bbb58f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/d4e3c5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/d65515.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleGrad/e383db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/02be59.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/0b0a1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/0bdd9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/265cc7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/302be4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36780e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/615583.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/73e892.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/749baf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/941a53.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/a12142.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/aab3b9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/abfcc0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae5e39.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/b7c55c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/c32df7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/c6aca6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/dcbecb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/f3b2c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/faa6d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureSampleLevel/ff11bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/00ca64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/0148bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/031506.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/036d0e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/03e7a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/042b06.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/052a4e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/053664.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/05ce15.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/064c7f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/068641.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/06e49c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/07548b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/09e4d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/0a1a79.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/0ad124.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/0ad124.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/0ad124.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/0ad124.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/0ade9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/0af6b5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/0c3dff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/0cc825.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/0ff97a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/101325.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/102722.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/145061.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/158cf0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/178e69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1839f2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/195d1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/197637.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/1a264d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1a264d.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1a264d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1a264d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1a6c0b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1a7d35.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1af236.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1bbd08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1c02e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1dc954.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1e20f2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1e79f0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1e79f0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1e79f0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1e79f0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1e9fbd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1efc36.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1f1ef8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/1fef04.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2046db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/207fdd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2173fd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/22d955.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/22f045.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2383fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/24e6b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/258ab0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/26a26d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/26bf70.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/27063a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/272f5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/272f5a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/272f5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/272f5a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2796b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/285218.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/28a7ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/28e109.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2a60c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2ac6c7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2addd6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2c76db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2d2835.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2e4245.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/2e512f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2e512f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/2e512f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2e512f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2e6102.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2eb2a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2ed2a3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/2f29ea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/30b0b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/312f27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/31745b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/319029.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/32d3d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/32f368.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/330b7c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3310d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/331aee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/33cec0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/345332.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/37eeef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/37eeef.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/37eeef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/37eeef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/37ffd4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/38e8d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3a52ac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3bb7a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3bec15.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3c1937.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3d1ebe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3d6f01.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3d96a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3e0dc4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3f61ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/3fb31f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/40c455.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4288fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/43d1df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/43d1df.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/43d1df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/43d1df.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/441222.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/441ba8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4483e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/44b372.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/44daa7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/473ead.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/47bd70.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/486500.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/48cb56.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/48eae1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/48eae1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/48eae1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/48eae1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4bf1fd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4c454f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4c76b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4cce74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4d359d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4ddf52.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4e2b3a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/4fc057.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5030f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/506a71.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/51ec82.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5246b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/52f503.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/53a68b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5425ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/544f06.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/55f9dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/574a31.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/579b93.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5841f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/58fc35.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/59a0ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5a2f8f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5a8b41.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5b17eb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5b4522.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5bc4f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5ddc61.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5ec6b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5ee194.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/5f9a49.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/602b5a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/60975f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/614b58.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/635584.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/63f34a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/646dbc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/658a74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/65b6aa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/65ba8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/65ba8b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/65ba8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/65ba8b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/682fd6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/699a1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6b75c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6b80d2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6be9e0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6c4a70.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6cff2e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6d1809.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6d259f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6da692.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6e6cc0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/6f0c92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6f0c92.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/6f0c92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6f0c92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6f3542.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6f8642.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6fb99b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/6fd2b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/6fd2b1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/6fd2b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/6fd2b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/704e1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/706236.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/706560.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/726472.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/726d6d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/72fa64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/731349.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/73a735.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/73bbbc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/74886f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/74886f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/74886f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/74886f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/751256.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/752da6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/75bbd5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/76affd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/7792fa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/779d14.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/77c0ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/7b8f86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/7bb211.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/7cec8d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/7cf6e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/7d10e0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/7dd042.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/7e787a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/7f7fae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/803a10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/803a10.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/803a10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/803a10.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/804942.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/805dae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/80bf1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/818df6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/81ae31.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/820272.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/83bcc1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/84d435.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/84f4f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8676c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/86f713.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/872747.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/877c92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8815b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/885921.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/88ce7e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a16b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a46ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a85b9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8a8681.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ae0bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8b9310.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8bb287.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8c76e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8cd611.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8cd611.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8cd611.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8cd611.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8cd841.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8dc54f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8e0479.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ebdc9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ed9f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8f71a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/8ff674.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/90960e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/90a553.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/958353.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/959d94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/95e452.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/969534.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/976636.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9938b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9a3ecc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9aedd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9ba5c1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9cea9e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9d7c62.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9d8668.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9d9cd5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9e3ec5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/9e5bc2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9e5bc2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/9e5bc2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9e5bc2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9f5318.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/9f7cea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a0022f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a0f96e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a1352c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a14041.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a165b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a19a12.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a24491.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a4c338.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a5b88e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a5c925.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a5e80d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a66ca4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a6a986.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a6e78f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a702b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/a7fc47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a7fc47.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/a7fc47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a7fc47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a9298c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/a9426c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ab03b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ab788e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/abdd21.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ac0a55.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ac67aa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/ae6a2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ae6a2a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/ae6a2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ae6a2a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/aeb38a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/aedea3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b16110.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b286b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b36bc1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b42fd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b4389e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b706b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b70ded.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b71c13.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b7232c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b76ff3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b77161.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b89ffb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/b91b86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b91b86.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/b91b86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b91b86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b9c81a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/b9d863.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/bbcb7f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/bc1423.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/bcc97a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/bd6602.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/be6e30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/bedbfc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/bf775c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c06463.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c1c664.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c1f29e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c1f760.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c2ca46.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c32905.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c33478.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c35268.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c5af1e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c63f05.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c79451.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c863be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/c9d780.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/cb3b0b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ccac20.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/cd6755.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ceb832.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d0d62c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d0fadc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d19db4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d1ab82.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d26166.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d2b565.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d3a22b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d4aa95.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d55e65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d73b5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d82b0a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/d86d33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/da530c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/db5128.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/db92a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/dce0e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/dd7d81.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/dd8b29.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/dde364.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/de38e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/de4b94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/df0c51.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/df2ca4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/dfa9a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/dffb13.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e077e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e0b666.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e1784d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e38281.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e46fd8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e72bdc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e7c6d8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e87f6e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e885e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/e8cbf7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ea30d2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/eb702f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/eb78b9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/ed6198.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ed6198.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/ed6198.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ed6198.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ee6acc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ef9f2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/f05928.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/f1e6d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/f64d69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/f6f392.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/f7b0ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/f7b0ab.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/f7b0ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/f7b0ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/f8aaf9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/f8dead.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/f975a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/f9be83.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/fb9a8f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/fbf53f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/fc916e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/fcbe66.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/fd350c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/textureStore/ff23b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/literal/transpose/06794e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/06794e.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/06794e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/06794e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/2585cd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/31d679.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/31e37e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.ir.glsl
index d4bb1c9..0709d10 100644
--- a/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/32dd64.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_32dd64() {
+  mat4x3 res = mat4x3(vec3(1.0f), vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_32dd64();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_32dd64();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_32dd64();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_32dd64() {
+  mat4x3 res = mat4x3(vec3(1.0f), vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_32dd64();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_32dd64();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_32dd64();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_32dd64() {
+  mat4x3 res = mat4x3(vec3(1.0f), vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_32dd64();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_32dd64();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_32dd64();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/4ce359.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/4dc9a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.ir.glsl
index d4bb1c9..0780c52 100644
--- a/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/553e90.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_553e90() {
+  mat2x4 res = mat2x4(vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_553e90();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_553e90();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_553e90();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_553e90() {
+  mat2x4 res = mat2x4(vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_553e90();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_553e90();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_553e90();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_553e90() {
+  mat2x4 res = mat2x4(vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_553e90();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_553e90();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_553e90();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.ir.glsl
index d4bb1c9..e7f0b44 100644
--- a/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/5c133c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_5c133c() {
+  mat3x4 res = mat3x4(vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_5c133c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_5c133c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_5c133c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_5c133c() {
+  mat3x4 res = mat3x4(vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_5c133c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_5c133c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_5c133c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_5c133c() {
+  mat3x4 res = mat3x4(vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_5c133c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_5c133c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_5c133c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/transpose/5edd96.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/5edd96.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/5edd96.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/5edd96.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/5f36bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/5f36bf.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/5f36bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/5f36bf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.ir.glsl
index d4bb1c9..8fb501e 100644
--- a/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/66fce8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_66fce8() {
+  mat3 res = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_66fce8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_66fce8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_66fce8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_66fce8() {
+  mat3 res = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_66fce8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_66fce8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_66fce8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_66fce8() {
+  mat3 res = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_66fce8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_66fce8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_66fce8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.ir.glsl
index d4bb1c9..8041e2f 100644
--- a/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/70ca11.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_70ca11() {
+  mat3x2 res = mat3x2(vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_70ca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_70ca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_70ca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_70ca11() {
+  mat3x2 res = mat3x2(vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_70ca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_70ca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_70ca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_70ca11() {
+  mat3x2 res = mat3x2(vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_70ca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_70ca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_70ca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/transpose/7be8b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/7be8b2.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/7be8b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/7be8b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.ir.glsl
index d4bb1c9..9cb49f1 100644
--- a/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/7eb2c5.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_7eb2c5() {
+  mat2 res = mat2(vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_7eb2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_7eb2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_7eb2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_7eb2c5() {
+  mat2 res = mat2(vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_7eb2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_7eb2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_7eb2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_7eb2c5() {
+  mat2 res = mat2(vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_7eb2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_7eb2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_7eb2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/transpose/844869.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/844869.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/844869.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/844869.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.ir.glsl
index d4bb1c9..a5b39fb 100644
--- a/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/84a763.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_84a763() {
+  mat4x2 res = mat4x2(vec2(1.0f), vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_84a763();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_84a763();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_84a763();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_84a763() {
+  mat4x2 res = mat4x2(vec2(1.0f), vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_84a763();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_84a763();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_84a763();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_84a763() {
+  mat4x2 res = mat4x2(vec2(1.0f), vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_84a763();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_84a763();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_84a763();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/854336.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/8c06ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/8c06ce.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/8c06ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/8c06ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.ir.glsl
index d4bb1c9..d8d864c 100644
--- a/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/ace596.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_ace596() {
+  mat2x3 res = mat2x3(vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_ace596();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_ace596();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_ace596();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_ace596() {
+  mat2x3 res = mat2x3(vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_ace596();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_ace596();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_ace596();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_ace596() {
+  mat2x3 res = mat2x3(vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_ace596();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_ace596();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_ace596();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/transpose/b9ad1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/b9ad1f.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/b9ad1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/b9ad1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/c1b600.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/d6faec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/d6faec.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/d6faec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/d6faec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/d8f8ba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.ir.glsl
index d4bb1c9..b92b502 100644
--- a/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/dc671a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_dc671a() {
+  mat4 res = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_dc671a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_dc671a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_dc671a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_dc671a() {
+  mat4 res = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_dc671a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_dc671a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_dc671a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_dc671a() {
+  mat4 res = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_dc671a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_dc671a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_dc671a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/ed4bdc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/transpose/faeb05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/transpose/faeb05.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/literal/transpose/faeb05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/transpose/faeb05.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.ir.glsl
index 72ca17c..b83a13c 100644
--- a/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/103ab8.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 trunc_103ab8() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_103ab8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 trunc_103ab8() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_103ab8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 trunc_103ab8() {
+  f16vec3 res = f16vec3(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_103ab8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.ir.glsl
index d4bb1c9..e7bb6f0 100644
--- a/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_117396() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  trunc_117396();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_117396();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_117396();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_117396() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  trunc_117396();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_117396();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_117396();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_117396() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  trunc_117396();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_117396();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_117396();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.ir.glsl
index 72ca17c..f19bb8e 100644
--- a/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/562d05.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 trunc_562d05() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_562d05();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_562d05();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_562d05();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 trunc_562d05() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_562d05();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_562d05();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_562d05();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 trunc_562d05() {
+  vec3 res = vec3(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_562d05();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_562d05();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_562d05();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.ir.glsl
index d4bb1c9..c42cc92 100644
--- a/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/7d6ded.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_7d6ded() {
+  float res = 1.0f;
+}
+void main() {
+  trunc_7d6ded();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_7d6ded();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_7d6ded();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_7d6ded() {
+  float res = 1.0f;
+}
+void main() {
+  trunc_7d6ded();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_7d6ded();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_7d6ded();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_7d6ded() {
+  float res = 1.0f;
+}
+void main() {
+  trunc_7d6ded();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_7d6ded();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_7d6ded();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.ir.glsl
index 72ca17c..82f7da8 100644
--- a/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/a56109.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 trunc_a56109() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_a56109();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_a56109();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_a56109();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 trunc_a56109() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_a56109();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_a56109();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_a56109();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 trunc_a56109() {
+  f16vec2 res = f16vec2(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_a56109();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_a56109();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_a56109();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.ir.glsl
index d4bb1c9..39f30c0 100644
--- a/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/c12555.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_c12555() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  trunc_c12555();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_c12555();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_c12555();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_c12555() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  trunc_c12555();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_c12555();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_c12555();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_c12555() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  trunc_c12555();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_c12555();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_c12555();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.ir.glsl
index 72ca17c..f4b7ff8 100644
--- a/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/cc2b0d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t trunc_cc2b0d() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_cc2b0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t trunc_cc2b0d() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_cc2b0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t trunc_cc2b0d() {
+  float16_t res = 1.0hf;
+  return res;
+}
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_cc2b0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.ir.glsl
index 72ca17c..e523e9c 100644
--- a/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/ce7c17.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 trunc_ce7c17() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_ce7c17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 trunc_ce7c17() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_ce7c17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 trunc_ce7c17() {
+  f16vec4 res = f16vec4(1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_ce7c17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.ir.glsl
index 72ca17c..a8dc79b 100644
--- a/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/e183aa.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 trunc_e183aa() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_e183aa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 trunc_e183aa() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_e183aa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 trunc_e183aa() {
+  vec4 res = vec4(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_e183aa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.ir.glsl
index 72ca17c..4165eb4 100644
--- a/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/eb83df.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float trunc_eb83df() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_eb83df();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float trunc_eb83df() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_eb83df();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float trunc_eb83df() {
+  float res = 1.0f;
+  return res;
+}
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_eb83df();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.ir.glsl
index d4bb1c9..d8868b1 100644
--- a/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/f0f1a1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_f0f1a1() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  trunc_f0f1a1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_f0f1a1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_f0f1a1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_f0f1a1() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  trunc_f0f1a1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_f0f1a1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_f0f1a1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_f0f1a1() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  trunc_f0f1a1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_f0f1a1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_f0f1a1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.ir.glsl
index 72ca17c..c0ad471 100644
--- a/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/trunc/f370d3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 trunc_f370d3() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_f370d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 trunc_f370d3() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_f370d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 trunc_f370d3() {
+  vec2 res = vec2(1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_f370d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.ir.glsl
index 72ca17c..ce9d3de 100644
--- a/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/unpack2x16float/32a5cf.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16float_32a5cf() {
+  vec2 res = vec2(0.00000005960464477539f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16float_32a5cf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16float_32a5cf() {
+  vec2 res = vec2(0.00000005960464477539f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16float_32a5cf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16float_32a5cf() {
+  vec2 res = vec2(0.00000005960464477539f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16float_32a5cf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl
index 72ca17c..2a39582 100644
--- a/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16snorm_b4aea6() {
+  vec2 res = vec2(0.00003051850944757462f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16snorm_b4aea6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16snorm_b4aea6() {
+  vec2 res = vec2(0.00003051850944757462f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16snorm_b4aea6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16snorm_b4aea6() {
+  vec2 res = vec2(0.00003051850944757462f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16snorm_b4aea6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl
index 72ca17c..da57d2b 100644
--- a/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16unorm_7699c0() {
+  vec2 res = vec2(0.00001525902189314365f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16unorm_7699c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16unorm_7699c0() {
+  vec2 res = vec2(0.00001525902189314365f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16unorm_7699c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16unorm_7699c0() {
+  vec2 res = vec2(0.00001525902189314365f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16unorm_7699c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl
index 72ca17c..7ac4bd0 100644
--- a/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8snorm_523fb3() {
+  vec4 res = vec4(0.00787401571869850159f, 0.0f, 0.0f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8snorm_523fb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8snorm_523fb3() {
+  vec4 res = vec4(0.00787401571869850159f, 0.0f, 0.0f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8snorm_523fb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8snorm_523fb3() {
+  vec4 res = vec4(0.00787401571869850159f, 0.0f, 0.0f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8snorm_523fb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.ir.glsl
index 72ca17c..c726de7 100644
--- a/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/unpack4x8unorm/750c74.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8unorm_750c74() {
+  vec4 res = vec4(0.0039215688593685627f, 0.0f, 0.0f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8unorm_750c74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8unorm_750c74() {
+  vec4 res = vec4(0.0039215688593685627f, 0.0f, 0.0f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8unorm_750c74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8unorm_750c74() {
+  vec4 res = vec4(0.0039215688593685627f, 0.0f, 0.0f, 0.0f);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8unorm_750c74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.ir.glsl
index 72ca17c..3c86fde 100644
--- a/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/unpack4xI8/830900.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 unpack4xI8_830900() {
+  ivec4 res = ivec4(1, 0, 0, 0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4xI8_830900();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4xI8_830900();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4xI8_830900();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 unpack4xI8_830900() {
+  ivec4 res = ivec4(1, 0, 0, 0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4xI8_830900();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4xI8_830900();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4xI8_830900();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 unpack4xI8_830900() {
+  ivec4 res = ivec4(1, 0, 0, 0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4xI8_830900();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4xI8_830900();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4xI8_830900();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.ir.glsl
index 72ca17c..c689821 100644
--- a/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/unpack4xU8/a5ea55.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 unpack4xU8_a5ea55() {
+  uvec4 res = uvec4(1u, 0u, 0u, 0u);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4xU8_a5ea55();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 unpack4xU8_a5ea55() {
+  uvec4 res = uvec4(1u, 0u, 0u, 0u);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4xU8_a5ea55();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 unpack4xU8_a5ea55() {
+  uvec4 res = uvec4(1u, 0u, 0u, 0u);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4xU8_a5ea55();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/literal/workgroupBarrier/a17f7f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/workgroupBarrier/a17f7f.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/literal/workgroupBarrier/a17f7f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/workgroupBarrier/a17f7f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/37307c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/7a857c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/9d33de.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/literal/workgroupUniformLoad/e07d08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/literal/workgroupUniformLoad/e07d08.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/literal/workgroupUniformLoad/e07d08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/literal/workgroupUniformLoad/e07d08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/abs/002533.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/002533.wgsl.expected.ir.glsl
index 6c6485e..e5aa533 100644
--- a/test/tint/builtins/gen/var/abs/002533.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/002533.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 abs_002533() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_002533();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_002533();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_002533();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 abs_002533() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_002533();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_002533();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_002533();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 abs_002533() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_002533();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_002533();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_002533();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/005174.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/005174.wgsl.expected.ir.glsl
index 6c6485e..5a29e96 100644
--- a/test/tint/builtins/gen/var/abs/005174.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/005174.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 abs_005174() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_005174();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_005174();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_005174();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 abs_005174() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_005174();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_005174();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_005174();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 abs_005174() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_005174();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_005174();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_005174();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.ir.glsl
index 6c6485e..b605124 100644
--- a/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/1ce782.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 abs_1ce782() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1ce782();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1ce782();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1ce782();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 abs_1ce782() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1ce782();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1ce782();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1ce782();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 abs_1ce782() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1ce782();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1ce782();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1ce782();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.ir.glsl
index 6c6485e..bc5e836 100644
--- a/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/1e9d53.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 abs_1e9d53() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1e9d53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 abs_1e9d53() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1e9d53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 abs_1e9d53() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_1e9d53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_1e9d53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.ir.glsl
index d4bb1c9..4a88d83 100644
--- a/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/2f861b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_2f861b() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  abs_2f861b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_2f861b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_2f861b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_2f861b() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  abs_2f861b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_2f861b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_2f861b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_2f861b() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  abs_2f861b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_2f861b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_2f861b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.ir.glsl
index 6c6485e..5c0e9d3 100644
--- a/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/421ca3.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 abs_421ca3() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_421ca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_421ca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_421ca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 abs_421ca3() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_421ca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_421ca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_421ca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 abs_421ca3() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_421ca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_421ca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_421ca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.ir.glsl
index 6c6485e..24cf208 100644
--- a/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/467cd1.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint abs_467cd1() {
+  uint arg_0 = 1u;
+  uint res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_467cd1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_467cd1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_467cd1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint abs_467cd1() {
+  uint arg_0 = 1u;
+  uint res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_467cd1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_467cd1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_467cd1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint abs_467cd1() {
+  uint arg_0 = 1u;
+  uint res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_467cd1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_467cd1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_467cd1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.ir.glsl
index 6c6485e..064f546 100644
--- a/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/4ad288.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int abs_4ad288() {
+  int arg_0 = 1;
+  int res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_4ad288();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_4ad288();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_4ad288();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int abs_4ad288() {
+  int arg_0 = 1;
+  int res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_4ad288();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_4ad288();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_4ad288();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int abs_4ad288() {
+  int arg_0 = 1;
+  int res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_4ad288();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_4ad288();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_4ad288();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.ir.glsl
index 6c6485e..81c7de6 100644
--- a/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/538d29.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 abs_538d29() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_538d29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_538d29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_538d29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 abs_538d29() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_538d29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_538d29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_538d29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 abs_538d29() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_538d29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_538d29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_538d29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.ir.glsl
index d4bb1c9..ede5bb8 100644
--- a/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/577d6e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_577d6e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  abs_577d6e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_577d6e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_577d6e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_577d6e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  abs_577d6e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_577d6e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_577d6e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_577d6e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  abs_577d6e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_577d6e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_577d6e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.ir.glsl
index d4bb1c9..5bc7884 100644
--- a/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/5a8af1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_5a8af1() {
+  int res = 1;
+}
+void main() {
+  abs_5a8af1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_5a8af1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_5a8af1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_5a8af1() {
+  int res = 1;
+}
+void main() {
+  abs_5a8af1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_5a8af1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_5a8af1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_5a8af1() {
+  int res = 1;
+}
+void main() {
+  abs_5a8af1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_5a8af1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_5a8af1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.ir.glsl
index 6c6485e..908192f 100644
--- a/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/5ad50a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 abs_5ad50a() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ad50a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 abs_5ad50a() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ad50a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 abs_5ad50a() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ad50a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ad50a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.ir.glsl
index 6c6485e..bca4b3b 100644
--- a/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/5ae4fe.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 abs_5ae4fe() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ae4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 abs_5ae4fe() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ae4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 abs_5ae4fe() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_5ae4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_5ae4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.ir.glsl
index 6c6485e..1e696c0 100644
--- a/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/7326de.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 abs_7326de() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7326de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7326de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7326de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 abs_7326de() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7326de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7326de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7326de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 abs_7326de() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7326de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7326de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7326de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.ir.glsl
index 6c6485e..9f8d753 100644
--- a/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/7f28e6.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 abs_7f28e6() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7f28e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 abs_7f28e6() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7f28e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 abs_7f28e6() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7f28e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7f28e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'abs' : no matching overloaded function found 
+ERROR: 0:14: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.ir.glsl
index 6c6485e..ea98cfb 100644
--- a/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/7faa9e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 abs_7faa9e() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7faa9e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 abs_7faa9e() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7faa9e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 abs_7faa9e() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_7faa9e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_7faa9e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.ir.glsl
index d4bb1c9..03804f4 100644
--- a/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/82ff9d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_82ff9d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  abs_82ff9d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_82ff9d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_82ff9d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_82ff9d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  abs_82ff9d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_82ff9d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_82ff9d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_82ff9d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  abs_82ff9d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_82ff9d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_82ff9d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.ir.glsl
index d4bb1c9..6dc976b 100644
--- a/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/8ca9b1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_8ca9b1() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  abs_8ca9b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_8ca9b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_8ca9b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_8ca9b1() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  abs_8ca9b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_8ca9b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_8ca9b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_8ca9b1() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  abs_8ca9b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_8ca9b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_8ca9b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.ir.glsl
index 6c6485e..365c3c1 100644
--- a/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/9c80a6.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 abs_9c80a6() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_9c80a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 abs_9c80a6() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_9c80a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 abs_9c80a6() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_9c80a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_9c80a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.ir.glsl
index d4bb1c9..abca85c 100644
--- a/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/aedb6d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_aedb6d() {
+  float res = 1.0f;
+}
+void main() {
+  abs_aedb6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_aedb6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_aedb6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_aedb6d() {
+  float res = 1.0f;
+}
+void main() {
+  abs_aedb6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_aedb6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_aedb6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_aedb6d() {
+  float res = 1.0f;
+}
+void main() {
+  abs_aedb6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_aedb6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_aedb6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.ir.glsl
index 6c6485e..7b1cfe7 100644
--- a/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/b96037.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float abs_b96037() {
+  float arg_0 = 1.0f;
+  float res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_b96037();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_b96037();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_b96037();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float abs_b96037() {
+  float arg_0 = 1.0f;
+  float res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_b96037();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_b96037();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_b96037();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float abs_b96037() {
+  float arg_0 = 1.0f;
+  float res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_b96037();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_b96037();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_b96037();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.ir.glsl
index d4bb1c9..974e81d 100644
--- a/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/c3321c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_c3321c() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  abs_c3321c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_c3321c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_c3321c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_c3321c() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  abs_c3321c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_c3321c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_c3321c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_c3321c() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  abs_c3321c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_c3321c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_c3321c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.ir.glsl
index d4bb1c9..3d8d9e4 100644
--- a/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/e28785.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_e28785() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  abs_e28785();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_e28785();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_e28785();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_e28785() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  abs_e28785();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_e28785();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_e28785();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void abs_e28785() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  abs_e28785();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  abs_e28785();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  abs_e28785();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.ir.glsl
index 6c6485e..87669ef 100644
--- a/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/abs/fd247f.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t abs_fd247f() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_fd247f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_fd247f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_fd247f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t abs_fd247f() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_fd247f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_fd247f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_fd247f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t abs_fd247f() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = abs(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = abs_fd247f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = abs_fd247f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = abs_fd247f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.ir.glsl
index 6c6485e..6608715 100644
--- a/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/004aff.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acos_004aff() {
+  f16vec2 arg_0 = f16vec2(0.96875hf);
+  f16vec2 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_004aff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_004aff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_004aff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acos_004aff() {
+  f16vec2 arg_0 = f16vec2(0.96875hf);
+  f16vec2 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_004aff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_004aff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_004aff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acos_004aff() {
+  f16vec2 arg_0 = f16vec2(0.96875hf);
+  f16vec2 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_004aff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_004aff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_004aff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/069188.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/069188.wgsl.expected.ir.glsl
index d4bb1c9..0ae4906 100644
--- a/test/tint/builtins/gen/var/acos/069188.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/069188.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_069188() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  acos_069188();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_069188();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_069188();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_069188() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  acos_069188();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_069188();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_069188();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_069188() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  acos_069188();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_069188();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_069188();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.ir.glsl
index d4bb1c9..a5b141e 100644
--- a/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/15d35b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_15d35b() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  acos_15d35b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_15d35b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_15d35b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_15d35b() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  acos_15d35b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_15d35b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_15d35b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_15d35b() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  acos_15d35b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_15d35b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_15d35b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/203628.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/203628.wgsl.expected.ir.glsl
index 6c6485e..006320a 100644
--- a/test/tint/builtins/gen/var/acos/203628.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/203628.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acos_203628() {
+  f16vec4 arg_0 = f16vec4(0.96875hf);
+  f16vec4 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_203628();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_203628();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_203628();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acos_203628() {
+  f16vec4 arg_0 = f16vec4(0.96875hf);
+  f16vec4 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_203628();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_203628();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_203628();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acos_203628() {
+  f16vec4 arg_0 = f16vec4(0.96875hf);
+  f16vec4 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_203628();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_203628();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_203628();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.ir.glsl
index 6c6485e..e2c973b 100644
--- a/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/303e3d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acos_303e3d() {
+  float16_t arg_0 = 0.96875hf;
+  float16_t res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_303e3d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_303e3d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_303e3d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acos_303e3d() {
+  float16_t arg_0 = 0.96875hf;
+  float16_t res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_303e3d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_303e3d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_303e3d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acos_303e3d() {
+  float16_t arg_0 = 0.96875hf;
+  float16_t res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_303e3d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_303e3d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_303e3d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/489247.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/489247.wgsl.expected.ir.glsl
index 6c6485e..a318e5b 100644
--- a/test/tint/builtins/gen/var/acos/489247.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/489247.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acos_489247() {
+  float arg_0 = 0.96891242265701293945f;
+  float res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_489247();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_489247();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_489247();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acos_489247() {
+  float arg_0 = 0.96891242265701293945f;
+  float res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_489247();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_489247();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_489247();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acos_489247() {
+  float arg_0 = 0.96891242265701293945f;
+  float res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_489247();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_489247();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_489247();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.ir.glsl
index d4bb1c9..377e0a3 100644
--- a/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/4dac75.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_4dac75() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  acos_4dac75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_4dac75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_4dac75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_4dac75() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  acos_4dac75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_4dac75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_4dac75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_4dac75() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  acos_4dac75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_4dac75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_4dac75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.ir.glsl
index d4bb1c9..4df6e06 100644
--- a/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/5e9ad2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_5e9ad2() {
+  float res = 0.25f;
+}
+void main() {
+  acos_5e9ad2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_5e9ad2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_5e9ad2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_5e9ad2() {
+  float res = 0.25f;
+}
+void main() {
+  acos_5e9ad2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_5e9ad2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_5e9ad2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acos_5e9ad2() {
+  float res = 0.25f;
+}
+void main() {
+  acos_5e9ad2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acos_5e9ad2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acos_5e9ad2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.ir.glsl
index 6c6485e..3cc375c 100644
--- a/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/8e2acf.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acos_8e2acf() {
+  vec4 arg_0 = vec4(0.96891242265701293945f);
+  vec4 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_8e2acf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acos_8e2acf() {
+  vec4 arg_0 = vec4(0.96891242265701293945f);
+  vec4 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_8e2acf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acos_8e2acf() {
+  vec4 arg_0 = vec4(0.96891242265701293945f);
+  vec4 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_8e2acf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_8e2acf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.ir.glsl
index 6c6485e..f7d54a2 100644
--- a/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/a610c4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acos_a610c4() {
+  vec3 arg_0 = vec3(0.96891242265701293945f);
+  vec3 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_a610c4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_a610c4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_a610c4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acos_a610c4() {
+  vec3 arg_0 = vec3(0.96891242265701293945f);
+  vec3 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_a610c4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_a610c4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_a610c4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acos_a610c4() {
+  vec3 arg_0 = vec3(0.96891242265701293945f);
+  vec3 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_a610c4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_a610c4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_a610c4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.ir.glsl
index 6c6485e..76f28cd 100644
--- a/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/dfc915.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acos_dfc915() {
+  vec2 arg_0 = vec2(0.96891242265701293945f);
+  vec2 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_dfc915();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_dfc915();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_dfc915();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acos_dfc915() {
+  vec2 arg_0 = vec2(0.96891242265701293945f);
+  vec2 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_dfc915();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_dfc915();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_dfc915();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acos_dfc915() {
+  vec2 arg_0 = vec2(0.96891242265701293945f);
+  vec2 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_dfc915();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_dfc915();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_dfc915();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.ir.glsl
index 6c6485e..08424e0 100644
--- a/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acos/f47057.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acos_f47057() {
+  f16vec3 arg_0 = f16vec3(0.96875hf);
+  f16vec3 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_f47057();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_f47057();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_f47057();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acos_f47057() {
+  f16vec3 arg_0 = f16vec3(0.96875hf);
+  f16vec3 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_f47057();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_f47057();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_f47057();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acos_f47057() {
+  f16vec3 arg_0 = f16vec3(0.96875hf);
+  f16vec3 res = acos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acos_f47057();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acos_f47057();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acos_f47057();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.ir.glsl
index d4bb1c9..298b06b 100644
--- a/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/17260e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_17260e() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  acosh_17260e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_17260e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_17260e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_17260e() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  acosh_17260e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_17260e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_17260e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_17260e() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  acosh_17260e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_17260e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_17260e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.ir.glsl
index d4bb1c9..31eb23e 100644
--- a/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/3433e8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_3433e8() {
+  float res = 1.0f;
+}
+void main() {
+  acosh_3433e8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_3433e8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_3433e8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_3433e8() {
+  float res = 1.0f;
+}
+void main() {
+  acosh_3433e8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_3433e8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_3433e8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_3433e8() {
+  float res = 1.0f;
+}
+void main() {
+  acosh_3433e8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_3433e8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_3433e8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.ir.glsl
index d4bb1c9..49604ab 100644
--- a/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/490aae.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_490aae() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  acosh_490aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_490aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_490aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_490aae() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  acosh_490aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_490aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_490aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_490aae() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  acosh_490aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_490aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_490aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.ir.glsl
index 6c6485e..635337e 100644
--- a/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/5f49d8.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acosh_5f49d8() {
+  f16vec2 arg_0 = f16vec2(1.54296875hf);
+  f16vec2 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_5f49d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acosh_5f49d8() {
+  f16vec2 arg_0 = f16vec2(1.54296875hf);
+  f16vec2 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_5f49d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 acosh_5f49d8() {
+  f16vec2 arg_0 = f16vec2(1.54296875hf);
+  f16vec2 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_5f49d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_5f49d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.ir.glsl
index 6c6485e..2827e93 100644
--- a/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/640883.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acosh_640883() {
+  vec2 arg_0 = vec2(1.54308068752288818359f);
+  vec2 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_640883();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_640883();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_640883();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acosh_640883() {
+  vec2 arg_0 = vec2(1.54308068752288818359f);
+  vec2 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_640883();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_640883();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_640883();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 acosh_640883() {
+  vec2 arg_0 = vec2(1.54308068752288818359f);
+  vec2 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_640883();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_640883();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_640883();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.ir.glsl
index d4bb1c9..e9dc64a 100644
--- a/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/9f213e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_9f213e() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  acosh_9f213e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_9f213e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_9f213e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_9f213e() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  acosh_9f213e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_9f213e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_9f213e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void acosh_9f213e() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  acosh_9f213e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  acosh_9f213e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  acosh_9f213e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.ir.glsl
index 6c6485e..e919f14 100644
--- a/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/a37dfe.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acosh_a37dfe() {
+  float16_t arg_0 = 1.54296875hf;
+  float16_t res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_a37dfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acosh_a37dfe() {
+  float16_t arg_0 = 1.54296875hf;
+  float16_t res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_a37dfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t acosh_a37dfe() {
+  float16_t arg_0 = 1.54296875hf;
+  float16_t res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_a37dfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_a37dfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.ir.glsl
index 6c6485e..fe0b00d 100644
--- a/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/d51ccb.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acosh_d51ccb() {
+  vec4 arg_0 = vec4(1.54308068752288818359f);
+  vec4 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_d51ccb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acosh_d51ccb() {
+  vec4 arg_0 = vec4(1.54308068752288818359f);
+  vec4 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_d51ccb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 acosh_d51ccb() {
+  vec4 arg_0 = vec4(1.54308068752288818359f);
+  vec4 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_d51ccb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_d51ccb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.ir.glsl
index 6c6485e..0a92042 100644
--- a/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/de60d8.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acosh_de60d8() {
+  f16vec4 arg_0 = f16vec4(1.54296875hf);
+  f16vec4 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_de60d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acosh_de60d8() {
+  f16vec4 arg_0 = f16vec4(1.54296875hf);
+  f16vec4 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_de60d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 acosh_de60d8() {
+  f16vec4 arg_0 = f16vec4(1.54296875hf);
+  f16vec4 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_de60d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_de60d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.ir.glsl
index 6c6485e..0bcacfe 100644
--- a/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/e38f5c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acosh_e38f5c() {
+  vec3 arg_0 = vec3(1.54308068752288818359f);
+  vec3 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_e38f5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acosh_e38f5c() {
+  vec3 arg_0 = vec3(1.54308068752288818359f);
+  vec3 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_e38f5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 acosh_e38f5c() {
+  vec3 arg_0 = vec3(1.54308068752288818359f);
+  vec3 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_e38f5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_e38f5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.ir.glsl
index 6c6485e..6eeb05c 100644
--- a/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/ecf2d1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acosh_ecf2d1() {
+  float arg_0 = 1.54308068752288818359f;
+  float res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_ecf2d1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acosh_ecf2d1() {
+  float arg_0 = 1.54308068752288818359f;
+  float res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_ecf2d1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float acosh_ecf2d1() {
+  float arg_0 = 1.54308068752288818359f;
+  float res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_ecf2d1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_ecf2d1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.ir.glsl
index 6c6485e..aa87473 100644
--- a/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/acosh/f56574.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acosh_f56574() {
+  f16vec3 arg_0 = f16vec3(1.54296875hf);
+  f16vec3 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_f56574();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_f56574();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_f56574();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acosh_f56574() {
+  f16vec3 arg_0 = f16vec3(1.54296875hf);
+  f16vec3 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_f56574();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_f56574();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_f56574();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 acosh_f56574() {
+  f16vec3 arg_0 = f16vec3(1.54296875hf);
+  f16vec3 res = acosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = acosh_f56574();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = acosh_f56574();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = acosh_f56574();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/all/353d6a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/all/986c7b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/all/bd2dba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/all/f46790.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/all/f46790.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/all/f46790.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/all/f46790.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/any/083428.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/any/083428.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/any/083428.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/any/083428.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/any/0e3e58.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/any/2ab91a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/any/e755c1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.ir.glsl
index 71d5985..697d463 100644
--- a/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/arrayLength/1588cd.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1760774==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x563d866154d3 bp 0x7ffe520d9ec0 sp 0x7ffe520d9ce0 T0)
-==1760774==The signal is caused by a READ memory access.
-==1760774==Hint: address points to the zero page.
-    #0 0x563d866154d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x563d8662817c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x563d86627fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x563d8662772f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x563d86612704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x563d86611a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x563d8660f93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x563d8660eb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x563d8660e02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x563d8615aebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x563d85976455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x563d8595ed35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x563d85946861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f6fce243b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f6fce243c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x563d8586b000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1760774==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.ir.glsl
index 084275f..697d463 100644
--- a/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/arrayLength/61b1c7.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1760775==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5621f22e04d3 bp 0x7ffcc6e5dae0 sp 0x7ffcc6e5d900 T0)
-==1760775==The signal is caused by a READ memory access.
-==1760775==Hint: address points to the zero page.
-    #0 0x5621f22e04d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5621f22f317c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5621f22f2fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5621f22f272f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5621f22dd704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5621f22dca63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5621f22da93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5621f22d9b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5621f22d902b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5621f1e25ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5621f1641455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5621f1629d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5621f1611861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f2db5e43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f2db5e43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5621f1536000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1760775==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.ir.glsl
index 8808219..697d463 100644
--- a/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/arrayLength/8421b9.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1760776==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x563f5f3d74d3 bp 0x7ffc9b2ee940 sp 0x7ffc9b2ee760 T0)
-==1760776==The signal is caused by a READ memory access.
-==1760776==Hint: address points to the zero page.
-    #0 0x563f5f3d74d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x563f5f3ea17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x563f5f3e9fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x563f5f3e972f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x563f5f3d4704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x563f5f3d3a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x563f5f3d193a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x563f5f3d0b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x563f5f3d002b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x563f5ef1cebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x563f5e738455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x563f5e720d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x563f5e708861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7ff96c016b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7ff96c016c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x563f5e62d000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1760776==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.ir.glsl
index b31d356..697d463 100644
--- a/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/arrayLength/a0f5ca.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1760777==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x565235d414d3 bp 0x7fff085d00a0 sp 0x7fff085cfec0 T0)
-==1760777==The signal is caused by a READ memory access.
-==1760777==Hint: address points to the zero page.
-    #0 0x565235d414d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x565235d5417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x565235d53fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x565235d5372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x565235d3e704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x565235d3da63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x565235d3b93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x565235d3ab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x565235d3a02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x565235886ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5652350a2455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x56523508ad35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x565235072861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f05e7f64b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f05e7f64c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x565234f97000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1760777==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.ir.glsl
index d292db1..697d463 100644
--- a/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/arrayLength/cbd6b5.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1760778==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a2de6fb4d3 bp 0x7ffdb8cdf2a0 sp 0x7ffdb8cdf0c0 T0)
-==1760778==The signal is caused by a READ memory access.
-==1760778==Hint: address points to the zero page.
-    #0 0x55a2de6fb4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55a2de70e17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55a2de70dfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55a2de70d72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55a2de6f8704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55a2de6f7a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55a2de6f593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55a2de6f4b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55a2de6f402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55a2de240ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55a2dda5c455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55a2dda44d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55a2dda2c861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f532aa43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f532aa43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55a2dd951000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1760778==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.ir.glsl
index b27f8d7..697d463 100644
--- a/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/arrayLength/cdd123.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1760779==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5652bcd664d3 bp 0x7ffd9ea2aa00 sp 0x7ffd9ea2a820 T0)
-==1760779==The signal is caused by a READ memory access.
-==1760779==Hint: address points to the zero page.
-    #0 0x5652bcd664d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5652bcd7917c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5652bcd78fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5652bcd7872f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5652bcd63704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5652bcd62a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5652bcd6093a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5652bcd5fb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5652bcd5f02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5652bc8abebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5652bc0c7455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5652bc0afd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5652bc097861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f9403537b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f9403537c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5652bbfbc000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1760779==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.ir.glsl
index 3b53a5e..697d463 100644
--- a/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/arrayLength/cfca0a.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1760780==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5640b80744d3 bp 0x7ffdb1ca9a80 sp 0x7ffdb1ca98a0 T0)
-==1760780==The signal is caused by a READ memory access.
-==1760780==Hint: address points to the zero page.
-    #0 0x5640b80744d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5640b808717c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5640b8086fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5640b808672f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5640b8071704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5640b8070a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5640b806e93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5640b806db21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5640b806d02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5640b7bb9ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5640b73d5455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5640b73bdd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5640b73a5861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fbc29137b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fbc29137c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5640b72ca000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1760780==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.ir.glsl
index 5f51d59..697d463 100644
--- a/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/arrayLength/eb510f.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1760782==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55fb415784d3 bp 0x7fff451cb280 sp 0x7fff451cb0a0 T0)
-==1760782==The signal is caused by a READ memory access.
-==1760782==Hint: address points to the zero page.
-    #0 0x55fb415784d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55fb4158b17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55fb4158afd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55fb4158a72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55fb41575704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55fb41574a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55fb4157293a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55fb41571b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55fb4157102b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55fb410bdebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55fb408d9455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55fb408c1d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55fb408a9861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f31f5a43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f31f5a43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55fb407ce000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1760782==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/asin/064953.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/064953.wgsl.expected.ir.glsl
index 6c6485e..40c2af1 100644
--- a/test/tint/builtins/gen/var/asin/064953.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/064953.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asin_064953() {
+  vec4 arg_0 = vec4(0.47942554950714111328f);
+  vec4 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_064953();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_064953();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_064953();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asin_064953() {
+  vec4 arg_0 = vec4(0.47942554950714111328f);
+  vec4 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_064953();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_064953();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_064953();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asin_064953() {
+  vec4 arg_0 = vec4(0.47942554950714111328f);
+  vec4 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_064953();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_064953();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_064953();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.ir.glsl
index d4bb1c9..5c0c217 100644
--- a/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/0bac07.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_0bac07() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  asin_0bac07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_0bac07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_0bac07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_0bac07() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  asin_0bac07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_0bac07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_0bac07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_0bac07() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  asin_0bac07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_0bac07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_0bac07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.ir.glsl
index 6c6485e..c52eaa0 100644
--- a/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/11dfda.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asin_11dfda() {
+  float16_t arg_0 = 0.479248046875hf;
+  float16_t res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_11dfda();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_11dfda();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_11dfda();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asin_11dfda() {
+  float16_t arg_0 = 0.479248046875hf;
+  float16_t res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_11dfda();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_11dfda();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_11dfda();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asin_11dfda() {
+  float16_t arg_0 = 0.479248046875hf;
+  float16_t res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_11dfda();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_11dfda();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_11dfda();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.ir.glsl
index 6c6485e..1740f1a 100644
--- a/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/2d8e29.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asin_2d8e29() {
+  f16vec3 arg_0 = f16vec3(0.479248046875hf);
+  f16vec3 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_2d8e29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asin_2d8e29() {
+  f16vec3 arg_0 = f16vec3(0.479248046875hf);
+  f16vec3 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_2d8e29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asin_2d8e29() {
+  f16vec3 arg_0 = f16vec3(0.479248046875hf);
+  f16vec3 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_2d8e29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_2d8e29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.ir.glsl
index 6c6485e..04c9b1b 100644
--- a/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/3cfbd4.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asin_3cfbd4() {
+  f16vec4 arg_0 = f16vec4(0.479248046875hf);
+  f16vec4 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_3cfbd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asin_3cfbd4() {
+  f16vec4 arg_0 = f16vec4(0.479248046875hf);
+  f16vec4 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_3cfbd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asin_3cfbd4() {
+  f16vec4 arg_0 = f16vec4(0.479248046875hf);
+  f16vec4 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_3cfbd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_3cfbd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.ir.glsl
index d4bb1c9..55d1161 100644
--- a/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/64bb1f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_64bb1f() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  asin_64bb1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_64bb1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_64bb1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_64bb1f() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  asin_64bb1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_64bb1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_64bb1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_64bb1f() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  asin_64bb1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_64bb1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_64bb1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.ir.glsl
index 6c6485e..ad004c1 100644
--- a/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/7b6a44.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asin_7b6a44() {
+  vec2 arg_0 = vec2(0.47942554950714111328f);
+  vec2 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_7b6a44();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asin_7b6a44() {
+  vec2 arg_0 = vec2(0.47942554950714111328f);
+  vec2 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_7b6a44();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asin_7b6a44() {
+  vec2 arg_0 = vec2(0.47942554950714111328f);
+  vec2 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_7b6a44();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_7b6a44();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.ir.glsl
index 6c6485e..57a7ba6 100644
--- a/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/8cd9c9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asin_8cd9c9() {
+  vec3 arg_0 = vec3(0.47942554950714111328f);
+  vec3 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_8cd9c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asin_8cd9c9() {
+  vec3 arg_0 = vec3(0.47942554950714111328f);
+  vec3 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_8cd9c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asin_8cd9c9() {
+  vec3 arg_0 = vec3(0.47942554950714111328f);
+  vec3 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_8cd9c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_8cd9c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.ir.glsl
index d4bb1c9..88b526d 100644
--- a/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/a5dd88.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a5dd88() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  asin_a5dd88();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a5dd88();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a5dd88();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a5dd88() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  asin_a5dd88();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a5dd88();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a5dd88();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a5dd88() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  asin_a5dd88();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a5dd88();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a5dd88();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.ir.glsl
index d4bb1c9..0de4fc2 100644
--- a/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/a6d73a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a6d73a() {
+  float res = 0.5f;
+}
+void main() {
+  asin_a6d73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a6d73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a6d73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a6d73a() {
+  float res = 0.5f;
+}
+void main() {
+  asin_a6d73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a6d73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a6d73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asin_a6d73a() {
+  float res = 0.5f;
+}
+void main() {
+  asin_a6d73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asin_a6d73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asin_a6d73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.ir.glsl
index 6c6485e..ea2d76e 100644
--- a/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/b4aced.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asin_b4aced() {
+  f16vec2 arg_0 = f16vec2(0.479248046875hf);
+  f16vec2 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_b4aced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_b4aced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_b4aced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asin_b4aced() {
+  f16vec2 arg_0 = f16vec2(0.479248046875hf);
+  f16vec2 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_b4aced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_b4aced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_b4aced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asin_b4aced() {
+  f16vec2 arg_0 = f16vec2(0.479248046875hf);
+  f16vec2 res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_b4aced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_b4aced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_b4aced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.ir.glsl
index 6c6485e..e0a5a40 100644
--- a/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asin/c0c272.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asin_c0c272() {
+  float arg_0 = 0.47942554950714111328f;
+  float res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_c0c272();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_c0c272();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_c0c272();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asin_c0c272() {
+  float arg_0 = 0.47942554950714111328f;
+  float res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_c0c272();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_c0c272();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_c0c272();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asin_c0c272() {
+  float arg_0 = 0.47942554950714111328f;
+  float res = asin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asin_c0c272();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asin_c0c272();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asin_c0c272();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.ir.glsl
index 6c6485e..4fb85e1 100644
--- a/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/157447.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asinh_157447() {
+  float arg_0 = 1.0f;
+  float res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_157447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_157447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_157447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asinh_157447() {
+  float arg_0 = 1.0f;
+  float res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_157447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_157447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_157447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float asinh_157447() {
+  float arg_0 = 1.0f;
+  float res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_157447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_157447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_157447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.ir.glsl
index d4bb1c9..eca502c 100644
--- a/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/16b543.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_16b543() {
+  vec2 res = vec2(0.88137358427047729492f);
+}
+void main() {
+  asinh_16b543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_16b543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_16b543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_16b543() {
+  vec2 res = vec2(0.88137358427047729492f);
+}
+void main() {
+  asinh_16b543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_16b543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_16b543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_16b543() {
+  vec2 res = vec2(0.88137358427047729492f);
+}
+void main() {
+  asinh_16b543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_16b543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_16b543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.ir.glsl
index d4bb1c9..0abd766 100644
--- a/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/180015.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_180015() {
+  float res = 0.88137358427047729492f;
+}
+void main() {
+  asinh_180015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_180015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_180015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_180015() {
+  float res = 0.88137358427047729492f;
+}
+void main() {
+  asinh_180015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_180015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_180015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_180015() {
+  float res = 0.88137358427047729492f;
+}
+void main() {
+  asinh_180015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_180015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_180015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.ir.glsl
index 6c6485e..76edb4f 100644
--- a/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/2265ee.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asinh_2265ee() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_2265ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asinh_2265ee() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_2265ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 asinh_2265ee() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_2265ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_2265ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.ir.glsl
index 6c6485e..ff94fa9 100644
--- a/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/468a48.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asinh_468a48() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_468a48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_468a48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_468a48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asinh_468a48() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_468a48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_468a48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_468a48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t asinh_468a48() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_468a48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_468a48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_468a48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.ir.glsl
index 6c6485e..ed7906d 100644
--- a/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/4a2226.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asinh_4a2226() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_4a2226();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asinh_4a2226() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_4a2226();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 asinh_4a2226() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_4a2226();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_4a2226();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.ir.glsl
index d4bb1c9..5b40511 100644
--- a/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/51079e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_51079e() {
+  vec3 res = vec3(0.88137358427047729492f);
+}
+void main() {
+  asinh_51079e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_51079e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_51079e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_51079e() {
+  vec3 res = vec3(0.88137358427047729492f);
+}
+void main() {
+  asinh_51079e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_51079e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_51079e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_51079e() {
+  vec3 res = vec3(0.88137358427047729492f);
+}
+void main() {
+  asinh_51079e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_51079e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_51079e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.ir.glsl
index 6c6485e..1a3f61a 100644
--- a/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/8d2e51.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asinh_8d2e51() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_8d2e51();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asinh_8d2e51() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_8d2e51();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 asinh_8d2e51() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_8d2e51();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_8d2e51();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.ir.glsl
index 6c6485e..73aa4b5 100644
--- a/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/95ab2b.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asinh_95ab2b() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_95ab2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asinh_95ab2b() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_95ab2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 asinh_95ab2b() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_95ab2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_95ab2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.ir.glsl
index 6c6485e..5cd8cbc 100644
--- a/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/ad8f8b.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asinh_ad8f8b() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_ad8f8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asinh_ad8f8b() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_ad8f8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 asinh_ad8f8b() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_ad8f8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_ad8f8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.ir.glsl
index d4bb1c9..7cd71de 100644
--- a/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/cf8603.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_cf8603() {
+  vec4 res = vec4(0.88137358427047729492f);
+}
+void main() {
+  asinh_cf8603();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_cf8603();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_cf8603();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_cf8603() {
+  vec4 res = vec4(0.88137358427047729492f);
+}
+void main() {
+  asinh_cf8603();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_cf8603();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_cf8603();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void asinh_cf8603() {
+  vec4 res = vec4(0.88137358427047729492f);
+}
+void main() {
+  asinh_cf8603();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  asinh_cf8603();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  asinh_cf8603();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.ir.glsl
index 6c6485e..82bfa8f 100644
--- a/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/asinh/fb5e8c.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asinh_fb5e8c() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_fb5e8c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asinh_fb5e8c() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_fb5e8c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 asinh_fb5e8c() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = asinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = asinh_fb5e8c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = asinh_fb5e8c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.ir.glsl
index 6c6485e..d138741 100644
--- a/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/02979a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan_02979a() {
+  float arg_0 = 1.0f;
+  float res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_02979a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_02979a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_02979a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan_02979a() {
+  float arg_0 = 1.0f;
+  float res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_02979a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_02979a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_02979a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan_02979a() {
+  float arg_0 = 1.0f;
+  float res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_02979a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_02979a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_02979a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.ir.glsl
index 6c6485e..0c0c6aa 100644
--- a/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/19faea.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan_19faea() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_19faea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_19faea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_19faea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan_19faea() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_19faea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_19faea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_19faea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan_19faea() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_19faea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_19faea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_19faea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.ir.glsl
index 6c6485e..fd6bcdc 100644
--- a/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/1e1764.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan_1e1764() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_1e1764();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_1e1764();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_1e1764();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan_1e1764() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_1e1764();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_1e1764();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_1e1764();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan_1e1764() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_1e1764();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_1e1764();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_1e1764();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.ir.glsl
index 6c6485e..5ed7c77 100644
--- a/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/331e6d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan_331e6d() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_331e6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_331e6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_331e6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan_331e6d() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_331e6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_331e6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_331e6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan_331e6d() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_331e6d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_331e6d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_331e6d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.ir.glsl
index d4bb1c9..cc25868 100644
--- a/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/5ca7b8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_5ca7b8() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan_5ca7b8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_5ca7b8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_5ca7b8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_5ca7b8() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan_5ca7b8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_5ca7b8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_5ca7b8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_5ca7b8() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan_5ca7b8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_5ca7b8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_5ca7b8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.ir.glsl
index d4bb1c9..914b192 100644
--- a/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/749e1b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_749e1b() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan_749e1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_749e1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_749e1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_749e1b() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan_749e1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_749e1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_749e1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_749e1b() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan_749e1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_749e1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_749e1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.ir.glsl
index d4bb1c9..04c59c4 100644
--- a/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/7a2a75.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_7a2a75() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan_7a2a75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_7a2a75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_7a2a75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_7a2a75() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan_7a2a75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_7a2a75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_7a2a75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_7a2a75() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan_7a2a75();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_7a2a75();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_7a2a75();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.ir.glsl
index 6c6485e..5946275 100644
--- a/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/a5f421.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan_a5f421() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a5f421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a5f421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a5f421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan_a5f421() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a5f421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a5f421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a5f421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan_a5f421() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a5f421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a5f421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a5f421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.ir.glsl
index 6c6485e..f971fb6 100644
--- a/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/a7ba61.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan_a7ba61() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a7ba61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan_a7ba61() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a7ba61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan_a7ba61() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a7ba61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a7ba61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.ir.glsl
index 6c6485e..9056e43 100644
--- a/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/a8b696.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan_a8b696() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a8b696();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a8b696();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a8b696();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan_a8b696() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a8b696();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a8b696();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a8b696();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan_a8b696() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_a8b696();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_a8b696();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_a8b696();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.ir.glsl
index 6c6485e..5c51f93 100644
--- a/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/ad96e4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan_ad96e4() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_ad96e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan_ad96e4() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_ad96e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan_ad96e4() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = atan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan_ad96e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan_ad96e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.ir.glsl
index d4bb1c9..4308d79 100644
--- a/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan/d17fb2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_d17fb2() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan_d17fb2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_d17fb2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_d17fb2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_d17fb2() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan_d17fb2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_d17fb2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_d17fb2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan_d17fb2() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan_d17fb2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan_d17fb2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan_d17fb2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.ir.glsl
index d4bb1c9..d73b9c5 100644
--- a/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/034ace.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_034ace() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan2_034ace();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_034ace();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_034ace();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_034ace() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan2_034ace();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_034ace();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_034ace();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_034ace() {
+  float res = 0.78539818525314331055f;
+}
+void main() {
+  atan2_034ace();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_034ace();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_034ace();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.ir.glsl
index 6c6485e..4a6e036 100644
--- a/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/21dfea.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan2_21dfea() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_21dfea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan2_21dfea() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_21dfea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atan2_21dfea() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_21dfea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_21dfea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.ir.glsl
index d4bb1c9..1c8489b 100644
--- a/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/3c2865.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_3c2865() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan2_3c2865();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_3c2865();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_3c2865();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_3c2865() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan2_3c2865();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_3c2865();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_3c2865();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_3c2865() {
+  vec3 res = vec3(0.78539818525314331055f);
+}
+void main() {
+  atan2_3c2865();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_3c2865();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_3c2865();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.ir.glsl
index 6c6485e..ca10649 100644
--- a/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/57fb13.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan2_57fb13() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_57fb13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan2_57fb13() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_57fb13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atan2_57fb13() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_57fb13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_57fb13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.ir.glsl
index 6c6485e..c64cdf1 100644
--- a/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/93febc.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan2_93febc() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_93febc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_93febc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_93febc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan2_93febc() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_93febc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_93febc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_93febc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atan2_93febc() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_93febc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_93febc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_93febc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.ir.glsl
index 6c6485e..cf82550 100644
--- a/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/96057c.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan2_96057c() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_96057c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_96057c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_96057c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan2_96057c() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_96057c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_96057c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_96057c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atan2_96057c() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_96057c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_96057c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_96057c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.ir.glsl
index 6c6485e..fc79a8b 100644
--- a/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/a70d0d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan2_a70d0d() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_a70d0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan2_a70d0d() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_a70d0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atan2_a70d0d() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_a70d0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_a70d0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.ir.glsl
index 6c6485e..adda368 100644
--- a/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/ae713e.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan2_ae713e() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ae713e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan2_ae713e() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ae713e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atan2_ae713e() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ae713e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ae713e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.ir.glsl
index d4bb1c9..e341891 100644
--- a/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/c19683.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c19683() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan2_c19683();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c19683();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c19683();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c19683() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan2_c19683();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c19683();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c19683();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c19683() {
+  vec2 res = vec2(0.78539818525314331055f);
+}
+void main() {
+  atan2_c19683();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c19683();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c19683();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.ir.glsl
index d4bb1c9..e8f9d40 100644
--- a/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/c4be45.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c4be45() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan2_c4be45();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c4be45();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c4be45();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c4be45() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan2_c4be45();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c4be45();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c4be45();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atan2_c4be45() {
+  vec4 res = vec4(0.78539818525314331055f);
+}
+void main() {
+  atan2_c4be45();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atan2_c4be45();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atan2_c4be45();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.ir.glsl
index 6c6485e..b4aa5c6 100644
--- a/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/ca698e.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan2_ca698e() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ca698e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan2_ca698e() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ca698e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atan2_ca698e() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_ca698e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_ca698e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.ir.glsl
index 6c6485e..fd716d3 100644
--- a/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atan2/d983ab.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan2_d983ab() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_d983ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan2_d983ab() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_d983ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atan2_d983ab() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = atan(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atan2_d983ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atan2_d983ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.ir.glsl
index 6c6485e..185caa5 100644
--- a/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/440cca.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atanh_440cca() {
+  vec3 arg_0 = vec3(0.5f);
+  vec3 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_440cca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_440cca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_440cca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atanh_440cca() {
+  vec3 arg_0 = vec3(0.5f);
+  vec3 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_440cca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_440cca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_440cca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 atanh_440cca() {
+  vec3 arg_0 = vec3(0.5f);
+  vec3 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_440cca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_440cca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_440cca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.ir.glsl
index 6c6485e..18d8eda 100644
--- a/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/5bf88d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atanh_5bf88d() {
+  f16vec2 arg_0 = f16vec2(0.5hf);
+  f16vec2 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_5bf88d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atanh_5bf88d() {
+  f16vec2 arg_0 = f16vec2(0.5hf);
+  f16vec2 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_5bf88d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 atanh_5bf88d() {
+  f16vec2 arg_0 = f16vec2(0.5hf);
+  f16vec2 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_5bf88d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_5bf88d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.ir.glsl
index d4bb1c9..74280c6 100644
--- a/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/70d5bd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_70d5bd() {
+  vec2 res = vec2(0.54930615425109863281f);
+}
+void main() {
+  atanh_70d5bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_70d5bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_70d5bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_70d5bd() {
+  vec2 res = vec2(0.54930615425109863281f);
+}
+void main() {
+  atanh_70d5bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_70d5bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_70d5bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_70d5bd() {
+  vec2 res = vec2(0.54930615425109863281f);
+}
+void main() {
+  atanh_70d5bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_70d5bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_70d5bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.ir.glsl
index 6c6485e..89431bb 100644
--- a/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/7997d8.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atanh_7997d8() {
+  float arg_0 = 0.5f;
+  float res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_7997d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atanh_7997d8() {
+  float arg_0 = 0.5f;
+  float res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_7997d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float atanh_7997d8() {
+  float arg_0 = 0.5f;
+  float res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_7997d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_7997d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.ir.glsl
index d4bb1c9..91a66c9 100644
--- a/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/7f2874.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_7f2874() {
+  vec3 res = vec3(0.54930615425109863281f);
+}
+void main() {
+  atanh_7f2874();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_7f2874();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_7f2874();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_7f2874() {
+  vec3 res = vec3(0.54930615425109863281f);
+}
+void main() {
+  atanh_7f2874();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_7f2874();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_7f2874();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_7f2874() {
+  vec3 res = vec3(0.54930615425109863281f);
+}
+void main() {
+  atanh_7f2874();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_7f2874();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_7f2874();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.ir.glsl
index 6c6485e..e55c854 100644
--- a/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/c0e634.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atanh_c0e634() {
+  vec2 arg_0 = vec2(0.5f);
+  vec2 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_c0e634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atanh_c0e634() {
+  vec2 arg_0 = vec2(0.5f);
+  vec2 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_c0e634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 atanh_c0e634() {
+  vec2 arg_0 = vec2(0.5f);
+  vec2 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_c0e634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_c0e634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.ir.glsl
index d4bb1c9..50143f0 100644
--- a/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/c5dc32.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_c5dc32() {
+  float res = 0.54930615425109863281f;
+}
+void main() {
+  atanh_c5dc32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_c5dc32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_c5dc32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_c5dc32() {
+  float res = 0.54930615425109863281f;
+}
+void main() {
+  atanh_c5dc32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_c5dc32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_c5dc32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_c5dc32() {
+  float res = 0.54930615425109863281f;
+}
+void main() {
+  atanh_c5dc32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_c5dc32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_c5dc32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.ir.glsl
index 6c6485e..18f9ef9 100644
--- a/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/d2d8cd.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atanh_d2d8cd() {
+  float16_t arg_0 = 0.5hf;
+  float16_t res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_d2d8cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atanh_d2d8cd() {
+  float16_t arg_0 = 0.5hf;
+  float16_t res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_d2d8cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t atanh_d2d8cd() {
+  float16_t arg_0 = 0.5hf;
+  float16_t res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_d2d8cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_d2d8cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.ir.glsl
index 6c6485e..4063add 100644
--- a/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/e3b450.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atanh_e3b450() {
+  f16vec4 arg_0 = f16vec4(0.5hf);
+  f16vec4 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_e3b450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atanh_e3b450() {
+  f16vec4 arg_0 = f16vec4(0.5hf);
+  f16vec4 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_e3b450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 atanh_e3b450() {
+  f16vec4 arg_0 = f16vec4(0.5hf);
+  f16vec4 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_e3b450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_e3b450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.ir.glsl
index d4bb1c9..1e223c9 100644
--- a/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/e431bb.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_e431bb() {
+  vec4 res = vec4(0.54930615425109863281f);
+}
+void main() {
+  atanh_e431bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_e431bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_e431bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_e431bb() {
+  vec4 res = vec4(0.54930615425109863281f);
+}
+void main() {
+  atanh_e431bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_e431bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_e431bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void atanh_e431bb() {
+  vec4 res = vec4(0.54930615425109863281f);
+}
+void main() {
+  atanh_e431bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  atanh_e431bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  atanh_e431bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.ir.glsl
index 6c6485e..b5e91c4 100644
--- a/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/ec4b06.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atanh_ec4b06() {
+  f16vec3 arg_0 = f16vec3(0.5hf);
+  f16vec3 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_ec4b06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atanh_ec4b06() {
+  f16vec3 arg_0 = f16vec3(0.5hf);
+  f16vec3 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_ec4b06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 atanh_ec4b06() {
+  f16vec3 arg_0 = f16vec3(0.5hf);
+  f16vec3 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_ec4b06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_ec4b06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.ir.glsl
index 6c6485e..ee3834b 100644
--- a/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atanh/f3e01b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atanh_f3e01b() {
+  vec4 arg_0 = vec4(0.5f);
+  vec4 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_f3e01b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atanh_f3e01b() {
+  vec4 arg_0 = vec4(0.5f);
+  vec4 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_f3e01b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 atanh_f3e01b() {
+  vec4 arg_0 = vec4(0.5f);
+  vec4 res = atanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = atanh_f3e01b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = atanh_f3e01b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAdd/794055.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicAdd/8a199a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAdd/8a199a.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicAdd/8a199a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAdd/8a199a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAdd/d32fe4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicAdd/d5db1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAdd/d5db1d.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicAdd/d5db1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAdd/d5db1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAnd/152966.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicAnd/34edd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAnd/34edd3.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicAnd/34edd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAnd/34edd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAnd/45a819.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicAnd/85a8d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicAnd/85a8d9.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicAnd/85a8d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicAnd/85a8d9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/1bd40a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/63d8e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/63d8e6.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/63d8e6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/63d8e6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/83580d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/83580d.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/83580d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/83580d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicCompareExchangeWeak/e88938.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicExchange/0a5dca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicExchange/0a5dca.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicExchange/0a5dca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicExchange/0a5dca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicExchange/d59712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicExchange/d59712.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicExchange/d59712.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicExchange/d59712.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicExchange/e114ba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicExchange/f2e22f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicLoad/0806ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicLoad/0806ad.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicLoad/0806ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicLoad/0806ad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicLoad/361bf1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicLoad/361bf1.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicLoad/361bf1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicLoad/361bf1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicLoad/afcc03.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicLoad/afcc03.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicLoad/afcc03.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicLoad/afcc03.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicLoad/fe6cc3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicLoad/fe6cc3.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicLoad/fe6cc3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicLoad/fe6cc3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicMax/51b9be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMax/51b9be.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicMax/51b9be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMax/51b9be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMax/92aa72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMax/a89cc3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicMax/beccfc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMax/beccfc.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicMax/beccfc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMax/beccfc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMin/278235.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicMin/69d383.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMin/69d383.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicMin/69d383.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMin/69d383.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMin/8e38dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicMin/c67a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicMin/c67a74.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicMin/c67a74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicMin/c67a74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicOr/5e3d61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicOr/5e3d61.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicOr/5e3d61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicOr/5e3d61.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicOr/5e95d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicOr/5e95d4.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicOr/5e95d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicOr/5e95d4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicOr/8d96a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicOr/d09248.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicStore/726882.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicStore/726882.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicStore/726882.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicStore/726882.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicStore/8bea94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicStore/cdc29e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicStore/cdc29e.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicStore/cdc29e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicStore/cdc29e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicStore/d1e9a6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicSub/051100.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicSub/051100.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicSub/051100.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicSub/051100.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicSub/0d26c2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicSub/0d26c2.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicSub/0d26c2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicSub/0d26c2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicSub/15bfc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicSub/15bfc9.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicSub/15bfc9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicSub/15bfc9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicSub/77883a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicSub/77883a.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicSub/77883a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicSub/77883a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicXor/54510e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicXor/54510e.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicXor/54510e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicXor/54510e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicXor/75dc95.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicXor/c1b78c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/atomicXor/c8e6be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/atomicXor/c8e6be.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/builtins/gen/var/atomicXor/c8e6be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/atomicXor/c8e6be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/0fe0c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/0fe0c9.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/0fe0c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/0fe0c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/160c09.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/160c09.wgsl.expected.ir.glsl
index 72ca17c..4643a17 100644
--- a/test/tint/builtins/gen/var/bitcast/160c09.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/160c09.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_160c09() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_160c09();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_160c09() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_160c09();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 bitcast_160c09() {
+  uvec4 res = uvec4(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_160c09();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_160c09();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/bitcast/16cba4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/16cba4.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/16cba4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/16cba4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/1c3b31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/1c3b31.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/1c3b31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/1c3b31.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/1df11f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/1df11f.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/1df11f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/1df11f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/214f23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/214f23.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/214f23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/214f23.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/23c8bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/23c8bd.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/23c8bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/23c8bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/2421c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/2421c8.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/2421c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/2421c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/287bdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/287bdf.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/287bdf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/287bdf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/2a6e58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/2a6e58.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/2a6e58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/2a6e58.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/2b05b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/2b05b3.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/2b05b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/2b05b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/2b2738.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/2b2738.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/2b2738.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/2b2738.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/31c080.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/31c080.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/31c080.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/31c080.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/332f78.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/332f78.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/332f78.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/332f78.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/3e7b47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/3e7b47.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/3e7b47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/3e7b47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/3f7437.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/3f7437.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/3f7437.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/3f7437.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/3fdacd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/3fdacd.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/3fdacd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/3fdacd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/429d64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/429d64.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/429d64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/429d64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/436211.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/436211.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/436211.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/436211.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/5081ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/5081ed.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/5081ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/5081ed.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/56266e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/56266e.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/56266e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/56266e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/66e93d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/66e93d.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/66e93d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/66e93d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/674557.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/674557.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/674557.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/674557.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/6ac6f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/6ac6f9.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/6ac6f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/6ac6f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/6de2bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/6de2bd.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/6de2bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/6de2bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/70b121.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/70b121.wgsl.expected.ir.glsl
index 72ca17c..8f7979c 100644
--- a/test/tint/builtins/gen/var/bitcast/70b121.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/70b121.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_70b121() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_70b121();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_70b121() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_70b121();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 bitcast_70b121() {
+  uvec2 res = uvec2(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_70b121();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_70b121();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/bitcast/71c92a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/71c92a.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/71c92a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/71c92a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/745b27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/745b27.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/745b27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/745b27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/7e67cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/7e67cc.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/7e67cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/7e67cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/7ffa9c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/7ffa9c.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/7ffa9c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/7ffa9c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/81c5f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/81c5f5.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/81c5f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/81c5f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/8318a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/8318a8.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/8318a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/8318a8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/879dc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/879dc9.wgsl.expected.ir.glsl
index 72ca17c..737a284 100644
--- a/test/tint/builtins/gen/var/bitcast/879dc9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/879dc9.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_879dc9() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_879dc9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_879dc9() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_879dc9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint bitcast_879dc9() {
+  uint res = 1u;
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_879dc9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_879dc9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/bitcast/899e50.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/899e50.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/899e50.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/899e50.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/8d184c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/8d184c.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/8d184c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/8d184c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/9bcf71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/9bcf71.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/9bcf71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/9bcf71.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/9ca42c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/9ca42c.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/9ca42c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/9ca42c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/9eee21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/9eee21.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/9eee21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/9eee21.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/a4b290.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/a4b290.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/a4b290.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/a4b290.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/a58b50.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/a58b50.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/a58b50.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/a58b50.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/a5c539.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/a5c539.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/a5c539.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/a5c539.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/a8c93f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/a8c93f.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/a8c93f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/a8c93f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/a8ea1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/a8ea1b.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/a8ea1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/a8ea1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/ac09d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/ac09d0.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/ac09d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/ac09d0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/ad4b05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/ad4b05.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/ad4b05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/ad4b05.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/b28cbd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/b28cbd.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/b28cbd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/b28cbd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/b77573.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/b77573.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/b77573.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/b77573.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/bc3994.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/bc3994.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/bc3994.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/bc3994.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/c69aaf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/c69aaf.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/c69aaf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/c69aaf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/ca5c3f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/ca5c3f.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/ca5c3f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/ca5c3f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/cc7aa7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/cc7aa7.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/cc7aa7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/cc7aa7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/d29765.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/d29765.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/d29765.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/d29765.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/dce842.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/dce842.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/dce842.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/dce842.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/e61c57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/e61c57.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/e61c57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/e61c57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/e6c18f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/e6c18f.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/bitcast/e6c18f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/e6c18f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/bitcast/f756cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/bitcast/f756cd.wgsl.expected.ir.glsl
index 72ca17c..a00140c 100644
--- a/test/tint/builtins/gen/var/bitcast/f756cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/bitcast/f756cd.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_f756cd() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_f756cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_f756cd() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_f756cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 bitcast_f756cd() {
+  uvec3 res = uvec3(1u);
+  return res;
+}
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = bitcast_f756cd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = bitcast_f756cd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.ir.glsl
index 6c6485e..d1d1432 100644
--- a/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/09bf52.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ceil_09bf52() {
+  f16vec3 arg_0 = f16vec3(1.5hf);
+  f16vec3 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_09bf52();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ceil_09bf52() {
+  f16vec3 arg_0 = f16vec3(1.5hf);
+  f16vec3 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_09bf52();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ceil_09bf52() {
+  f16vec3 arg_0 = f16vec3(1.5hf);
+  f16vec3 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_09bf52();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_09bf52();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.ir.glsl
index d4bb1c9..8c8bbfb 100644
--- a/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/11b1dc.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_11b1dc() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ceil_11b1dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_11b1dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_11b1dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_11b1dc() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ceil_11b1dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_11b1dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_11b1dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_11b1dc() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ceil_11b1dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_11b1dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_11b1dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.ir.glsl
index 6c6485e..e9656cf 100644
--- a/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/18c240.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ceil_18c240() {
+  f16vec2 arg_0 = f16vec2(1.5hf);
+  f16vec2 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_18c240();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_18c240();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_18c240();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ceil_18c240() {
+  f16vec2 arg_0 = f16vec2(1.5hf);
+  f16vec2 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_18c240();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_18c240();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_18c240();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ceil_18c240() {
+  f16vec2 arg_0 = f16vec2(1.5hf);
+  f16vec2 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_18c240();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_18c240();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_18c240();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.ir.glsl
index d4bb1c9..0564c87 100644
--- a/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/32c946.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_32c946() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ceil_32c946();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_32c946();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_32c946();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_32c946() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ceil_32c946();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_32c946();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_32c946();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_32c946() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ceil_32c946();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_32c946();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_32c946();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.ir.glsl
index 6c6485e..3ad5796 100644
--- a/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/34064b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ceil_34064b() {
+  vec3 arg_0 = vec3(1.5f);
+  vec3 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_34064b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_34064b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_34064b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ceil_34064b() {
+  vec3 arg_0 = vec3(1.5f);
+  vec3 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_34064b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_34064b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_34064b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ceil_34064b() {
+  vec3 arg_0 = vec3(1.5f);
+  vec3 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_34064b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_34064b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_34064b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.ir.glsl
index 6c6485e..bb79990 100644
--- a/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/4bca2a.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ceil_4bca2a() {
+  f16vec4 arg_0 = f16vec4(1.5hf);
+  f16vec4 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_4bca2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ceil_4bca2a() {
+  f16vec4 arg_0 = f16vec4(1.5hf);
+  f16vec4 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_4bca2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ceil_4bca2a() {
+  f16vec4 arg_0 = f16vec4(1.5hf);
+  f16vec4 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_4bca2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_4bca2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.ir.glsl
index 6c6485e..79a0415 100644
--- a/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/678655.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ceil_678655() {
+  float arg_0 = 1.5f;
+  float res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_678655();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_678655();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_678655();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ceil_678655() {
+  float arg_0 = 1.5f;
+  float res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_678655();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_678655();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_678655();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ceil_678655() {
+  float arg_0 = 1.5f;
+  float res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_678655();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_678655();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_678655();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.ir.glsl
index 6c6485e..3fbdb47 100644
--- a/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/96f597.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ceil_96f597() {
+  vec2 arg_0 = vec2(1.5f);
+  vec2 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_96f597();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_96f597();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_96f597();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ceil_96f597() {
+  vec2 arg_0 = vec2(1.5f);
+  vec2 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_96f597();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_96f597();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_96f597();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ceil_96f597() {
+  vec2 arg_0 = vec2(1.5f);
+  vec2 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_96f597();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_96f597();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_96f597();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.ir.glsl
index 6c6485e..8fdc761 100644
--- a/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/b74c16.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ceil_b74c16() {
+  vec4 arg_0 = vec4(1.5f);
+  vec4 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_b74c16();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ceil_b74c16() {
+  vec4 arg_0 = vec4(1.5f);
+  vec4 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_b74c16();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ceil_b74c16() {
+  vec4 arg_0 = vec4(1.5f);
+  vec4 res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_b74c16();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_b74c16();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.ir.glsl
index d4bb1c9..eeb9c34 100644
--- a/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/bb2ca2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_bb2ca2() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ceil_bb2ca2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_bb2ca2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_bb2ca2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_bb2ca2() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ceil_bb2ca2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_bb2ca2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_bb2ca2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_bb2ca2() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ceil_bb2ca2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_bb2ca2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_bb2ca2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.ir.glsl
index d4bb1c9..bb8ea8e 100644
--- a/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/e0b70a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_e0b70a() {
+  float res = 2.0f;
+}
+void main() {
+  ceil_e0b70a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_e0b70a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_e0b70a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_e0b70a() {
+  float res = 2.0f;
+}
+void main() {
+  ceil_e0b70a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_e0b70a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_e0b70a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ceil_e0b70a() {
+  float res = 2.0f;
+}
+void main() {
+  ceil_e0b70a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ceil_e0b70a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ceil_e0b70a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.ir.glsl
index 6c6485e..4ca8d4b 100644
--- a/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ceil/f3f889.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ceil_f3f889() {
+  float16_t arg_0 = 1.5hf;
+  float16_t res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_f3f889();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ceil_f3f889() {
+  float16_t arg_0 = 1.5hf;
+  float16_t res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_f3f889();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ceil_f3f889() {
+  float16_t arg_0 = 1.5hf;
+  float16_t res = ceil(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ceil_f3f889();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ceil_f3f889();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.ir.glsl
index 6c6485e..76a3429 100644
--- a/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/0acf8f.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 clamp_0acf8f() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_0acf8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 clamp_0acf8f() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_0acf8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 clamp_0acf8f() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_0acf8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_0acf8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.ir.glsl
index d4bb1c9..9dd57ef 100644
--- a/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/177548.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_177548() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  clamp_177548();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_177548();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_177548();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_177548() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  clamp_177548();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_177548();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_177548();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_177548() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  clamp_177548();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_177548();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_177548();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.ir.glsl
index 72ca17c..be8c185 100644
--- a/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/1a32e3.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 clamp_1a32e3() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  ivec4 arg_2 = ivec4(1);
+  ivec4 v = arg_2;
+  ivec4 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_1a32e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 clamp_1a32e3() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  ivec4 arg_2 = ivec4(1);
+  ivec4 v = arg_2;
+  ivec4 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_1a32e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 clamp_1a32e3() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  ivec4 arg_2 = ivec4(1);
+  ivec4 v = arg_2;
+  ivec4 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_1a32e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_1a32e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.ir.glsl
index 6c6485e..cc28a91 100644
--- a/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/235b29.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 clamp_235b29() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_235b29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_235b29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_235b29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 clamp_235b29() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_235b29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_235b29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_235b29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 clamp_235b29() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_235b29();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_235b29();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_235b29();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.ir.glsl
index d4bb1c9..fa40ad9 100644
--- a/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/23aa4f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_23aa4f() {
+  float res = 1.0f;
+}
+void main() {
+  clamp_23aa4f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_23aa4f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_23aa4f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_23aa4f() {
+  float res = 1.0f;
+}
+void main() {
+  clamp_23aa4f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_23aa4f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_23aa4f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_23aa4f() {
+  float res = 1.0f;
+}
+void main() {
+  clamp_23aa4f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_23aa4f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_23aa4f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.ir.glsl
index 6c6485e..33bb58a 100644
--- a/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/2bd567.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float clamp_2bd567() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float arg_2 = 1.0f;
+  float res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bd567();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float clamp_2bd567() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float arg_2 = 1.0f;
+  float res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bd567();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float clamp_2bd567() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float arg_2 = 1.0f;
+  float res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bd567();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bd567();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.ir.glsl
index 6c6485e..10802be 100644
--- a/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/2bde41.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 clamp_2bde41() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bde41();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 clamp_2bde41() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bde41();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 clamp_2bde41() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2bde41();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2bde41();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.ir.glsl
index 6c6485e..5bf16cb 100644
--- a/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/2c251b.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 clamp_2c251b() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2c251b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 clamp_2c251b() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2c251b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 clamp_2c251b() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_2c251b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_2c251b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.ir.glsl
index 72ca17c..c03683c 100644
--- a/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/548fc7.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 clamp_548fc7() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uvec3 arg_2 = uvec3(1u);
+  uvec3 v = arg_2;
+  uvec3 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_548fc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 clamp_548fc7() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uvec3 arg_2 = uvec3(1u);
+  uvec3 v = arg_2;
+  uvec3 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_548fc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 clamp_548fc7() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uvec3 arg_2 = uvec3(1u);
+  uvec3 v = arg_2;
+  uvec3 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_548fc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_548fc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.ir.glsl
index 6c6485e..ab2fdcd 100644
--- a/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/553ffb.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t clamp_553ffb() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t arg_2 = 1.0hf;
+  float16_t res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_553ffb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t clamp_553ffb() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t arg_2 = 1.0hf;
+  float16_t res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_553ffb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t clamp_553ffb() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t arg_2 = 1.0hf;
+  float16_t res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_553ffb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_553ffb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.ir.glsl
index d4bb1c9..6261458 100644
--- a/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/5cf700.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_5cf700() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  clamp_5cf700();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_5cf700();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_5cf700();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_5cf700() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  clamp_5cf700();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_5cf700();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_5cf700();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_5cf700() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  clamp_5cf700();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_5cf700();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_5cf700();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.ir.glsl
index 72ca17c..07ebf35 100644
--- a/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/5f0819.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 clamp_5f0819() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  ivec3 arg_2 = ivec3(1);
+  ivec3 v = arg_2;
+  ivec3 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_5f0819();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 clamp_5f0819() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  ivec3 arg_2 = ivec3(1);
+  ivec3 v = arg_2;
+  ivec3 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_5f0819();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 clamp_5f0819() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  ivec3 arg_2 = ivec3(1);
+  ivec3 v = arg_2;
+  ivec3 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_5f0819();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_5f0819();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.ir.glsl
index 72ca17c..8952226 100644
--- a/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/6c1749.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 clamp_6c1749() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  ivec2 arg_2 = ivec2(1);
+  ivec2 v = arg_2;
+  ivec2 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_6c1749();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 clamp_6c1749() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  ivec2 arg_2 = ivec2(1);
+  ivec2 v = arg_2;
+  ivec2 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_6c1749();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 clamp_6c1749() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  ivec2 arg_2 = ivec2(1);
+  ivec2 v = arg_2;
+  ivec2 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_6c1749();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_6c1749();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.ir.glsl
index 72ca17c..cf22d49 100644
--- a/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/7706d7.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 clamp_7706d7() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uvec2 arg_2 = uvec2(1u);
+  uvec2 v = arg_2;
+  uvec2 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_7706d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 clamp_7706d7() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uvec2 arg_2 = uvec2(1u);
+  uvec2 v = arg_2;
+  uvec2 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_7706d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 clamp_7706d7() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uvec2 arg_2 = uvec2(1u);
+  uvec2 v = arg_2;
+  uvec2 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_7706d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_7706d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.ir.glsl
index 6c6485e..1c9e0e3 100644
--- a/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/867397.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 clamp_867397() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_867397();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_867397();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_867397();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 clamp_867397() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_867397();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_867397();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_867397();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 clamp_867397() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_867397();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_867397();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_867397();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.ir.glsl
index d4bb1c9..c4f5f9d 100644
--- a/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/87df46.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_87df46() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  clamp_87df46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_87df46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_87df46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_87df46() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  clamp_87df46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_87df46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_87df46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_87df46() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  clamp_87df46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_87df46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_87df46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.ir.glsl
index d4bb1c9..82e8452 100644
--- a/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/8b1eaa.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_8b1eaa() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  clamp_8b1eaa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_8b1eaa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_8b1eaa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_8b1eaa() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  clamp_8b1eaa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_8b1eaa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_8b1eaa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_8b1eaa() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  clamp_8b1eaa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_8b1eaa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_8b1eaa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.ir.glsl
index d4bb1c9..a14a9ab 100644
--- a/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/96e56a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_96e56a() {
+  int res = 1;
+}
+void main() {
+  clamp_96e56a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_96e56a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_96e56a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_96e56a() {
+  int res = 1;
+}
+void main() {
+  clamp_96e56a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_96e56a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_96e56a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_96e56a() {
+  int res = 1;
+}
+void main() {
+  clamp_96e56a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_96e56a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_96e56a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.ir.glsl
index d4bb1c9..f15e975 100644
--- a/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/9d731c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_9d731c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  clamp_9d731c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_9d731c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_9d731c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_9d731c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  clamp_9d731c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_9d731c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_9d731c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_9d731c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  clamp_9d731c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_9d731c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_9d731c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.ir.glsl
index 72ca17c..b5c6c13 100644
--- a/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/a2de25.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint clamp_a2de25() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v = arg_2;
+  uint res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_a2de25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint clamp_a2de25() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v = arg_2;
+  uint res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_a2de25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint clamp_a2de25() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint arg_2 = 1u;
+  uint v = arg_2;
+  uint res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_a2de25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_a2de25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.ir.glsl
index 72ca17c..08b865b1 100644
--- a/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/b07c65.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int clamp_b07c65() {
+  int arg_0 = 1;
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v = arg_2;
+  int res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b07c65();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int clamp_b07c65() {
+  int arg_0 = 1;
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v = arg_2;
+  int res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b07c65();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int clamp_b07c65() {
+  int arg_0 = 1;
+  int arg_1 = 1;
+  int arg_2 = 1;
+  int v = arg_2;
+  int res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b07c65();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b07c65();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.ir.glsl
index 6c6485e..4ff0da2 100644
--- a/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/b195eb.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 clamp_b195eb() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b195eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 clamp_b195eb() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b195eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 clamp_b195eb() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = clamp(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_b195eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_b195eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.ir.glsl
index 72ca17c..212fac1 100644
--- a/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/bd43ce.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 clamp_bd43ce() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uvec4 arg_2 = uvec4(1u);
+  uvec4 v = arg_2;
+  uvec4 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_bd43ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 clamp_bd43ce() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uvec4 arg_2 = uvec4(1u);
+  uvec4 v = arg_2;
+  uvec4 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_bd43ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 clamp_bd43ce() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uvec4 arg_2 = uvec4(1u);
+  uvec4 v = arg_2;
+  uvec4 res = min(max(arg_0, arg_1), v);
+  return res;
+}
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = clamp_bd43ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = clamp_bd43ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.ir.glsl
index d4bb1c9..3719724 100644
--- a/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/clamp/d396af.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_d396af() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  clamp_d396af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_d396af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_d396af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_d396af() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  clamp_d396af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_d396af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_d396af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void clamp_d396af() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  clamp_d396af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  clamp_d396af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  clamp_d396af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.ir.glsl
index 6c6485e..6999790 100644
--- a/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/0835a8.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cos_0835a8() {
+  f16vec3 arg_0 = f16vec3(0.0hf);
+  f16vec3 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0835a8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0835a8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0835a8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cos_0835a8() {
+  f16vec3 arg_0 = f16vec3(0.0hf);
+  f16vec3 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0835a8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0835a8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0835a8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cos_0835a8() {
+  f16vec3 arg_0 = f16vec3(0.0hf);
+  f16vec3 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0835a8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0835a8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0835a8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.ir.glsl
index 6c6485e..ec349d5 100644
--- a/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/0a89f7.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cos_0a89f7() {
+  f16vec4 arg_0 = f16vec4(0.0hf);
+  f16vec4 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0a89f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cos_0a89f7() {
+  f16vec4 arg_0 = f16vec4(0.0hf);
+  f16vec4 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0a89f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cos_0a89f7() {
+  f16vec4 arg_0 = f16vec4(0.0hf);
+  f16vec4 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_0a89f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_0a89f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.ir.glsl
index 6c6485e..dc0f6d4 100644
--- a/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/16dc15.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cos_16dc15() {
+  vec3 arg_0 = vec3(0.0f);
+  vec3 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_16dc15();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_16dc15();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_16dc15();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cos_16dc15() {
+  vec3 arg_0 = vec3(0.0f);
+  vec3 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_16dc15();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_16dc15();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_16dc15();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cos_16dc15() {
+  vec3 arg_0 = vec3(0.0f);
+  vec3 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_16dc15();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_16dc15();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_16dc15();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.ir.glsl
index 6c6485e..975c0e3 100644
--- a/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/29d66d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cos_29d66d() {
+  vec4 arg_0 = vec4(0.0f);
+  vec4 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_29d66d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_29d66d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_29d66d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cos_29d66d() {
+  vec4 arg_0 = vec4(0.0f);
+  vec4 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_29d66d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_29d66d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_29d66d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cos_29d66d() {
+  vec4 arg_0 = vec4(0.0f);
+  vec4 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_29d66d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_29d66d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_29d66d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.ir.glsl
index d4bb1c9..d144a55 100644
--- a/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/47d768.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_47d768() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cos_47d768();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_47d768();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_47d768();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_47d768() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cos_47d768();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_47d768();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_47d768();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_47d768() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cos_47d768();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_47d768();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_47d768();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.ir.glsl
index 6c6485e..b7d7f79 100644
--- a/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/5bc2c6.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cos_5bc2c6() {
+  f16vec2 arg_0 = f16vec2(0.0hf);
+  f16vec2 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_5bc2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cos_5bc2c6() {
+  f16vec2 arg_0 = f16vec2(0.0hf);
+  f16vec2 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_5bc2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cos_5bc2c6() {
+  f16vec2 arg_0 = f16vec2(0.0hf);
+  f16vec2 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_5bc2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_5bc2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.ir.glsl
index d4bb1c9..5060e8e 100644
--- a/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/6b1fdf.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_6b1fdf() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cos_6b1fdf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_6b1fdf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_6b1fdf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_6b1fdf() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cos_6b1fdf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_6b1fdf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_6b1fdf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_6b1fdf() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cos_6b1fdf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_6b1fdf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_6b1fdf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.ir.glsl
index d4bb1c9..9ad0502 100644
--- a/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/a297d4.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_a297d4() {
+  float res = 1.0f;
+}
+void main() {
+  cos_a297d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_a297d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_a297d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_a297d4() {
+  float res = 1.0f;
+}
+void main() {
+  cos_a297d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_a297d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_a297d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_a297d4() {
+  float res = 1.0f;
+}
+void main() {
+  cos_a297d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_a297d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_a297d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.ir.glsl
index d4bb1c9..bad4bc0 100644
--- a/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/af7447.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_af7447() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cos_af7447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_af7447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_af7447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_af7447() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cos_af7447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_af7447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_af7447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cos_af7447() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cos_af7447();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cos_af7447();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cos_af7447();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.ir.glsl
index 6c6485e..3507101 100644
--- a/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/c3b486.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cos_c3b486() {
+  vec2 arg_0 = vec2(0.0f);
+  vec2 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_c3b486();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c3b486();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c3b486();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cos_c3b486() {
+  vec2 arg_0 = vec2(0.0f);
+  vec2 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_c3b486();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c3b486();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c3b486();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cos_c3b486() {
+  vec2 arg_0 = vec2(0.0f);
+  vec2 res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_c3b486();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c3b486();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c3b486();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.ir.glsl
index 6c6485e..1af3f37 100644
--- a/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/c5c28e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cos_c5c28e() {
+  float arg_0 = 0.0f;
+  float res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c5c28e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cos_c5c28e() {
+  float arg_0 = 0.0f;
+  float res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c5c28e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cos_c5c28e() {
+  float arg_0 = 0.0f;
+  float res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_c5c28e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_c5c28e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.ir.glsl
index 6c6485e..503fb0a 100644
--- a/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cos/fc047d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cos_fc047d() {
+  float16_t arg_0 = 0.0hf;
+  float16_t res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_fc047d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_fc047d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_fc047d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cos_fc047d() {
+  float16_t arg_0 = 0.0hf;
+  float16_t res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_fc047d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_fc047d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_fc047d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cos_fc047d() {
+  float16_t arg_0 = 0.0hf;
+  float16_t res = cos(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cos_fc047d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cos_fc047d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cos_fc047d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.ir.glsl
index 6c6485e..b8b67e3 100644
--- a/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/2ed778.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cosh_2ed778() {
+  float16_t arg_0 = 0.0hf;
+  float16_t res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_2ed778();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cosh_2ed778() {
+  float16_t arg_0 = 0.0hf;
+  float16_t res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_2ed778();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t cosh_2ed778() {
+  float16_t arg_0 = 0.0hf;
+  float16_t res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_2ed778();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_2ed778();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.ir.glsl
index 6c6485e..d3f9263 100644
--- a/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/377652.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cosh_377652() {
+  vec3 arg_0 = vec3(0.0f);
+  vec3 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_377652();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_377652();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_377652();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cosh_377652() {
+  vec3 arg_0 = vec3(0.0f);
+  vec3 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_377652();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_377652();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_377652();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cosh_377652() {
+  vec3 arg_0 = vec3(0.0f);
+  vec3 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_377652();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_377652();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_377652();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.ir.glsl
index 6c6485e..c1d61c9 100644
--- a/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/3b7bbf.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cosh_3b7bbf() {
+  f16vec4 arg_0 = f16vec4(0.0hf);
+  f16vec4 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_3b7bbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cosh_3b7bbf() {
+  f16vec4 arg_0 = f16vec4(0.0hf);
+  f16vec4 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_3b7bbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 cosh_3b7bbf() {
+  f16vec4 arg_0 = f16vec4(0.0hf);
+  f16vec4 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_3b7bbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_3b7bbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.ir.glsl
index d4bb1c9..9729501 100644
--- a/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/432645.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_432645() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cosh_432645();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_432645();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_432645();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_432645() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cosh_432645();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_432645();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_432645();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_432645() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  cosh_432645();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_432645();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_432645();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.ir.glsl
index 6c6485e..8327631 100644
--- a/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/43b672.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cosh_43b672() {
+  f16vec2 arg_0 = f16vec2(0.0hf);
+  f16vec2 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_43b672();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_43b672();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_43b672();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cosh_43b672() {
+  f16vec2 arg_0 = f16vec2(0.0hf);
+  f16vec2 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_43b672();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_43b672();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_43b672();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 cosh_43b672() {
+  f16vec2 arg_0 = f16vec2(0.0hf);
+  f16vec2 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_43b672();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_43b672();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_43b672();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.ir.glsl
index 6c6485e..dd864f1 100644
--- a/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/b1b8a0.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cosh_b1b8a0() {
+  f16vec3 arg_0 = f16vec3(0.0hf);
+  f16vec3 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_b1b8a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cosh_b1b8a0() {
+  f16vec3 arg_0 = f16vec3(0.0hf);
+  f16vec3 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_b1b8a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cosh_b1b8a0() {
+  f16vec3 arg_0 = f16vec3(0.0hf);
+  f16vec3 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_b1b8a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_b1b8a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.ir.glsl
index 6c6485e..2071fa1 100644
--- a/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/c13756.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cosh_c13756() {
+  vec2 arg_0 = vec2(0.0f);
+  vec2 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_c13756();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_c13756();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_c13756();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cosh_c13756() {
+  vec2 arg_0 = vec2(0.0f);
+  vec2 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_c13756();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_c13756();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_c13756();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 cosh_c13756() {
+  vec2 arg_0 = vec2(0.0f);
+  vec2 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_c13756();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_c13756();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_c13756();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.ir.glsl
index d4bb1c9..f1206eb 100644
--- a/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/c892bb.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_c892bb() {
+  float res = 1.0f;
+}
+void main() {
+  cosh_c892bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_c892bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_c892bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_c892bb() {
+  float res = 1.0f;
+}
+void main() {
+  cosh_c892bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_c892bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_c892bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_c892bb() {
+  float res = 1.0f;
+}
+void main() {
+  cosh_c892bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_c892bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_c892bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.ir.glsl
index d4bb1c9..40d9f9c 100644
--- a/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/d8dee7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_d8dee7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cosh_d8dee7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_d8dee7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_d8dee7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_d8dee7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cosh_d8dee7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_d8dee7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_d8dee7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_d8dee7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  cosh_d8dee7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_d8dee7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_d8dee7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.ir.glsl
index 6c6485e..32364f9 100644
--- a/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/da92dd.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cosh_da92dd() {
+  float arg_0 = 0.0f;
+  float res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_da92dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cosh_da92dd() {
+  float arg_0 = 0.0f;
+  float res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_da92dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float cosh_da92dd() {
+  float arg_0 = 0.0f;
+  float res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_da92dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_da92dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.ir.glsl
index 6c6485e..e485b8c 100644
--- a/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/e0c1de.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cosh_e0c1de() {
+  vec4 arg_0 = vec4(0.0f);
+  vec4 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_e0c1de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cosh_e0c1de() {
+  vec4 arg_0 = vec4(0.0f);
+  vec4 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_e0c1de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 cosh_e0c1de() {
+  vec4 arg_0 = vec4(0.0f);
+  vec4 res = cosh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cosh_e0c1de();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cosh_e0c1de();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.ir.glsl
index d4bb1c9..d89ed06 100644
--- a/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cosh/f67ff1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_f67ff1() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cosh_f67ff1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_f67ff1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_f67ff1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_f67ff1() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cosh_f67ff1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_f67ff1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_f67ff1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cosh_f67ff1() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  cosh_f67ff1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cosh_f67ff1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cosh_f67ff1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/208d46.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/6d4656.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/70783f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/7c38a6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/858d40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/ab6345.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/eab32b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countLeadingZeros/f70103.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.ir.glsl
index 6c6485e..dc45796 100644
--- a/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countOneBits/0d0e46.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countOneBits_0d0e46() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0d0e46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp 4-component vector of int' to ' temp highp 4-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countOneBits_0d0e46() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0d0e46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp 4-component vector of int' to ' temp highp 4-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 countOneBits_0d0e46() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0d0e46();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0d0e46();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp 4-component vector of int' to ' temp highp 4-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.ir.glsl
index 6c6485e..7005552 100644
--- a/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countOneBits/0f7980.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countOneBits_0f7980() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0f7980();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countOneBits_0f7980() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0f7980();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 countOneBits_0f7980() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_0f7980();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_0f7980();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.ir.glsl
index 6c6485e..da13bb4 100644
--- a/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countOneBits/65d2ae.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countOneBits_65d2ae() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_65d2ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countOneBits_65d2ae() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_65d2ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 countOneBits_65d2ae() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_65d2ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_65d2ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.ir.glsl
index 6c6485e..80e9609 100644
--- a/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countOneBits/690cfc.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countOneBits_690cfc() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_690cfc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp 3-component vector of int' to ' temp highp 3-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countOneBits_690cfc() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_690cfc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp 3-component vector of int' to ' temp highp 3-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 countOneBits_690cfc() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_690cfc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_690cfc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp 3-component vector of int' to ' temp highp 3-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.ir.glsl
index 6c6485e..2ac2fdc 100644
--- a/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countOneBits/94fd81.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countOneBits_94fd81() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_94fd81();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp 2-component vector of int' to ' temp highp 2-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countOneBits_94fd81() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_94fd81();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp 2-component vector of int' to ' temp highp 2-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 countOneBits_94fd81() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_94fd81();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_94fd81();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp 2-component vector of int' to ' temp highp 2-component vector of uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.ir.glsl
index 6c6485e..eef034b 100644
--- a/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countOneBits/ae44f9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countOneBits_ae44f9() {
+  uint arg_0 = 1u;
+  uint res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_ae44f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp int' to ' temp highp uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countOneBits_ae44f9() {
+  uint arg_0 = 1u;
+  uint res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_ae44f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp int' to ' temp highp uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint countOneBits_ae44f9() {
+  uint arg_0 = 1u;
+  uint res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_ae44f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_ae44f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: '=' :  cannot convert from ' global lowp int' to ' temp highp uint'
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.ir.glsl
index 6c6485e..5402a20 100644
--- a/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countOneBits/af90e2.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countOneBits_af90e2() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_af90e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countOneBits_af90e2() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_af90e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 countOneBits_af90e2() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_af90e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_af90e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.ir.glsl
index 6c6485e..3476013 100644
--- a/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countOneBits/fd88b2.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countOneBits_fd88b2() {
+  int arg_0 = 1;
+  int res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_fd88b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countOneBits_fd88b2() {
+  int arg_0 = 1;
+  int res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_fd88b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int countOneBits_fd88b2() {
+  int arg_0 = 1;
+  int res = bitCount(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = countOneBits_fd88b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = countOneBits_fd88b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/1ad138.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/1dc84a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/21e394.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/327c37.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/42fed6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/8ed26f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/acfacb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/countTrailingZeros/d2b4a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.ir.glsl
index 6c6485e..49a3ea4 100644
--- a/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cross/041cb0.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cross_041cb0() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = cross(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = cross_041cb0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_041cb0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_041cb0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cross_041cb0() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = cross(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = cross_041cb0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_041cb0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_041cb0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 cross_041cb0() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = cross(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = cross_041cb0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_041cb0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_041cb0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.ir.glsl
index d4bb1c9..eff3ab4 100644
--- a/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cross/1d7933.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cross_1d7933() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  cross_1d7933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cross_1d7933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cross_1d7933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cross_1d7933() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  cross_1d7933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cross_1d7933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cross_1d7933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void cross_1d7933() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  cross_1d7933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  cross_1d7933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  cross_1d7933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.ir.glsl
index 6c6485e..c2868fa 100644
--- a/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/cross/9857cb.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cross_9857cb() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = cross(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = cross_9857cb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_9857cb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_9857cb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cross_9857cb() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = cross(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = cross_9857cb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_9857cb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_9857cb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 cross_9857cb() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = cross(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = cross_9857cb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = cross_9857cb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = cross_9857cb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.ir.glsl
index 6c6485e..87886fe 100644
--- a/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/0d170c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.ir.glsl
index 6c6485e..87886fe 100644
--- a/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/1ad5df.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.ir.glsl
index 6c6485e..87886fe 100644
--- a/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/2af623.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/degrees/3055d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/3055d3.wgsl.expected.ir.glsl
index 6c6485e..87886fe 100644
--- a/test/tint/builtins/gen/var/degrees/3055d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/3055d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.ir.glsl
index 6c6485e..87886fe 100644
--- a/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/51f705.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/degrees/5e9805.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/5e9805.wgsl.expected.ir.glsl
index 6c6485e..87886fe 100644
--- a/test/tint/builtins/gen/var/degrees/5e9805.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/5e9805.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.ir.glsl
index d4bb1c9..46b4385 100644
--- a/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/810467.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_810467() {
+  vec2 res = vec2(57.295780181884765625f);
+}
+void main() {
+  degrees_810467();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_810467();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_810467();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_810467() {
+  vec2 res = vec2(57.295780181884765625f);
+}
+void main() {
+  degrees_810467();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_810467();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_810467();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_810467() {
+  vec2 res = vec2(57.295780181884765625f);
+}
+void main() {
+  degrees_810467();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_810467();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_810467();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.ir.glsl
index d4bb1c9..f9d9eb0 100644
--- a/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/c0880c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_c0880c() {
+  vec3 res = vec3(57.295780181884765625f);
+}
+void main() {
+  degrees_c0880c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_c0880c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_c0880c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_c0880c() {
+  vec3 res = vec3(57.295780181884765625f);
+}
+void main() {
+  degrees_c0880c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_c0880c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_c0880c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_c0880c() {
+  vec3 res = vec3(57.295780181884765625f);
+}
+void main() {
+  degrees_c0880c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_c0880c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_c0880c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.ir.glsl
index d4bb1c9..e81ceb4 100644
--- a/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/d43a49.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_d43a49() {
+  vec4 res = vec4(57.295780181884765625f);
+}
+void main() {
+  degrees_d43a49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_d43a49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_d43a49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_d43a49() {
+  vec4 res = vec4(57.295780181884765625f);
+}
+void main() {
+  degrees_d43a49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_d43a49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_d43a49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_d43a49() {
+  vec4 res = vec4(57.295780181884765625f);
+}
+void main() {
+  degrees_d43a49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_d43a49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_d43a49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/degrees/dfe8f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/dfe8f4.wgsl.expected.ir.glsl
index 6c6485e..87886fe 100644
--- a/test/tint/builtins/gen/var/degrees/dfe8f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/dfe8f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/degrees/f59715.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/f59715.wgsl.expected.ir.glsl
index 6c6485e..87886fe 100644
--- a/test/tint/builtins/gen/var/degrees/f59715.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/f59715.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.ir.glsl
index d4bb1c9..67eac30 100644
--- a/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/degrees/fafa7e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_fafa7e() {
+  float res = 57.295780181884765625f;
+}
+void main() {
+  degrees_fafa7e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_fafa7e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_fafa7e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_fafa7e() {
+  float res = 57.295780181884765625f;
+}
+void main() {
+  degrees_fafa7e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_fafa7e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_fafa7e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void degrees_fafa7e() {
+  float res = 57.295780181884765625f;
+}
+void main() {
+  degrees_fafa7e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  degrees_fafa7e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  degrees_fafa7e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.ir.glsl
index d4bb1c9..48848f5 100644
--- a/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/determinant/1bf6e7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_1bf6e7() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_1bf6e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_1bf6e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_1bf6e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_1bf6e7() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_1bf6e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_1bf6e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_1bf6e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_1bf6e7() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_1bf6e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_1bf6e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_1bf6e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.ir.glsl
index 6c6485e..3521eea 100644
--- a/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/determinant/2b62ba.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_2b62ba() {
+  mat3 arg_0 = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f));
+  float res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_2b62ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_2b62ba() {
+  mat3 arg_0 = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f));
+  float res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_2b62ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_2b62ba() {
+  mat3 arg_0 = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f));
+  float res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_2b62ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_2b62ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.ir.glsl
index 6c6485e..2f92672 100644
--- a/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/determinant/32bfde.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_32bfde() {
+  f16mat4 arg_0 = f16mat4(f16vec4(1.0hf), f16vec4(1.0hf), f16vec4(1.0hf), f16vec4(1.0hf));
+  float16_t res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_32bfde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_32bfde() {
+  f16mat4 arg_0 = f16mat4(f16vec4(1.0hf), f16vec4(1.0hf), f16vec4(1.0hf), f16vec4(1.0hf));
+  float16_t res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_32bfde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_32bfde() {
+  f16mat4 arg_0 = f16mat4(f16vec4(1.0hf), f16vec4(1.0hf), f16vec4(1.0hf), f16vec4(1.0hf));
+  float16_t res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_32bfde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_32bfde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.ir.glsl
index 6c6485e..3c60a5c 100644
--- a/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/determinant/a0a87c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_a0a87c() {
+  mat4 arg_0 = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f));
+  float res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_a0a87c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_a0a87c() {
+  mat4 arg_0 = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f));
+  float res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_a0a87c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_a0a87c() {
+  mat4 arg_0 = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f));
+  float res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_a0a87c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_a0a87c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.ir.glsl
index d4bb1c9..ce134ab 100644
--- a/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/determinant/c8251d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_c8251d() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_c8251d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_c8251d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_c8251d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_c8251d() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_c8251d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_c8251d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_c8251d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_c8251d() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_c8251d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_c8251d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_c8251d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.ir.glsl
index d4bb1c9..b1c4084 100644
--- a/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/determinant/cefdf3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_cefdf3() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_cefdf3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_cefdf3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_cefdf3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_cefdf3() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_cefdf3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_cefdf3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_cefdf3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void determinant_cefdf3() {
+  float res = 0.0f;
+}
+void main() {
+  determinant_cefdf3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  determinant_cefdf3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  determinant_cefdf3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.ir.glsl
index 6c6485e..da6a02d 100644
--- a/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/determinant/d7c86f.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_d7c86f() {
+  f16mat3 arg_0 = f16mat3(f16vec3(1.0hf), f16vec3(1.0hf), f16vec3(1.0hf));
+  float16_t res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_d7c86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_d7c86f() {
+  f16mat3 arg_0 = f16mat3(f16vec3(1.0hf), f16vec3(1.0hf), f16vec3(1.0hf));
+  float16_t res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_d7c86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_d7c86f() {
+  f16mat3 arg_0 = f16mat3(f16vec3(1.0hf), f16vec3(1.0hf), f16vec3(1.0hf));
+  float16_t res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_d7c86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_d7c86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.ir.glsl
index 6c6485e..4fde4cd 100644
--- a/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/determinant/e19305.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_e19305() {
+  mat2 arg_0 = mat2(vec2(1.0f), vec2(1.0f));
+  float res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_e19305();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_e19305();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_e19305();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_e19305() {
+  mat2 arg_0 = mat2(vec2(1.0f), vec2(1.0f));
+  float res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_e19305();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_e19305();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_e19305();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float determinant_e19305() {
+  mat2 arg_0 = mat2(vec2(1.0f), vec2(1.0f));
+  float res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_e19305();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_e19305();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_e19305();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.ir.glsl
index 6c6485e..ef6453a 100644
--- a/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/determinant/fc12a5.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_fc12a5() {
+  f16mat2 arg_0 = f16mat2(f16vec2(1.0hf), f16vec2(1.0hf));
+  float16_t res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_fc12a5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_fc12a5() {
+  f16mat2 arg_0 = f16mat2(f16vec2(1.0hf), f16vec2(1.0hf));
+  float16_t res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_fc12a5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t determinant_fc12a5() {
+  f16mat2 arg_0 = f16mat2(f16vec2(1.0hf), f16vec2(1.0hf));
+  float16_t res = determinant(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = determinant_fc12a5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = determinant_fc12a5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.ir.glsl
index 6c6485e..6ebaaf4 100644
--- a/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/0657d4.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_0657d4() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_0657d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_0657d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_0657d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_0657d4() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_0657d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_0657d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_0657d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_0657d4() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_0657d4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_0657d4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_0657d4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.ir.glsl
index d4bb1c9..1537526 100644
--- a/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/3a175a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_3a175a() {
+  float res = 0.0f;
+}
+void main() {
+  distance_3a175a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_3a175a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_3a175a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_3a175a() {
+  float res = 0.0f;
+}
+void main() {
+  distance_3a175a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_3a175a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_3a175a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_3a175a() {
+  float res = 0.0f;
+}
+void main() {
+  distance_3a175a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_3a175a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_3a175a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.ir.glsl
index 6c6485e..9e77abd 100644
--- a/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/7272f3.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7272f3() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_7272f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7272f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7272f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7272f3() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_7272f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7272f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7272f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7272f3() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_7272f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7272f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7272f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.ir.glsl
index 6c6485e..53206a6 100644
--- a/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/7d201f.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7d201f() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_7d201f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7d201f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7d201f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7d201f() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_7d201f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7d201f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7d201f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_7d201f() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_7d201f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_7d201f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_7d201f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.ir.glsl
index d4bb1c9..56f3409 100644
--- a/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/83911f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_83911f() {
+  float res = 0.0f;
+}
+void main() {
+  distance_83911f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_83911f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_83911f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_83911f() {
+  float res = 0.0f;
+}
+void main() {
+  distance_83911f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_83911f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_83911f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_83911f() {
+  float res = 0.0f;
+}
+void main() {
+  distance_83911f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_83911f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_83911f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.ir.glsl
index 6c6485e..2a88f7d 100644
--- a/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/892a5d.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_892a5d() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_892a5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_892a5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_892a5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_892a5d() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_892a5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_892a5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_892a5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_892a5d() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_892a5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_892a5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_892a5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.ir.glsl
index 6c6485e..2b91d74 100644
--- a/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/928fa0.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_928fa0() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_928fa0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_928fa0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_928fa0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_928fa0() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_928fa0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_928fa0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_928fa0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t distance_928fa0() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_928fa0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_928fa0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_928fa0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.ir.glsl
index 6c6485e..827c504 100644
--- a/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/9646ea.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_9646ea() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_9646ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_9646ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_9646ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_9646ea() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_9646ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_9646ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_9646ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_9646ea() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_9646ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_9646ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_9646ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.ir.glsl
index 6c6485e..4139bd8 100644
--- a/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/aa4055.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_aa4055() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_aa4055();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_aa4055();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_aa4055();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_aa4055() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_aa4055();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_aa4055();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_aa4055();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_aa4055() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_aa4055();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_aa4055();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_aa4055();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.ir.glsl
index d4bb1c9..c1583f9 100644
--- a/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/ac5535.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_ac5535() {
+  float res = 0.0f;
+}
+void main() {
+  distance_ac5535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_ac5535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_ac5535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_ac5535() {
+  float res = 0.0f;
+}
+void main() {
+  distance_ac5535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_ac5535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_ac5535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_ac5535() {
+  float res = 0.0f;
+}
+void main() {
+  distance_ac5535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_ac5535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_ac5535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.ir.glsl
index 6c6485e..2864ab7 100644
--- a/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/cfed73.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_cfed73() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_cfed73();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_cfed73();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_cfed73();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_cfed73() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_cfed73();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_cfed73();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_cfed73();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float distance_cfed73() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = distance(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = distance_cfed73();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = distance_cfed73();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = distance_cfed73();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.ir.glsl
index d4bb1c9..88b2f6a 100644
--- a/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/distance/f9c9ee.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_f9c9ee() {
+  float res = 0.0f;
+}
+void main() {
+  distance_f9c9ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_f9c9ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_f9c9ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_f9c9ee() {
+  float res = 0.0f;
+}
+void main() {
+  distance_f9c9ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_f9c9ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_f9c9ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void distance_f9c9ee() {
+  float res = 0.0f;
+}
+void main() {
+  distance_f9c9ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  distance_f9c9ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  distance_f9c9ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.ir.glsl
index d4bb1c9..89d5b1e 100644
--- a/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/08eb56.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_08eb56() {
+  float res = 4.0f;
+}
+void main() {
+  dot_08eb56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_08eb56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_08eb56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_08eb56() {
+  float res = 4.0f;
+}
+void main() {
+  dot_08eb56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_08eb56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_08eb56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_08eb56() {
+  float res = 4.0f;
+}
+void main() {
+  dot_08eb56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_08eb56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_08eb56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.ir.glsl
index 6c6485e..4fecec9 100644
--- a/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/0c577b.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_0c577b() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_0c577b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_0c577b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_0c577b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_0c577b() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_0c577b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_0c577b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_0c577b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_0c577b() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_0c577b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_0c577b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_0c577b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.ir.glsl
index d4bb1c9..944e72a 100644
--- a/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/0d2c2e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_0d2c2e() {
+  float res = 2.0f;
+}
+void main() {
+  dot_0d2c2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_0d2c2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_0d2c2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_0d2c2e() {
+  float res = 2.0f;
+}
+void main() {
+  dot_0d2c2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_0d2c2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_0d2c2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_0d2c2e() {
+  float res = 2.0f;
+}
+void main() {
+  dot_0d2c2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_0d2c2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_0d2c2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.ir.glsl
index d4bb1c9..daf4ac5 100644
--- a/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/14bc63.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_14bc63() {
+  int res = 2;
+}
+void main() {
+  dot_14bc63();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_14bc63();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_14bc63();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_14bc63() {
+  int res = 2;
+}
+void main() {
+  dot_14bc63();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_14bc63();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_14bc63();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_14bc63() {
+  int res = 2;
+}
+void main() {
+  dot_14bc63();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_14bc63();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_14bc63();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.ir.glsl
index d4bb1c9..be30155 100644
--- a/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/5a4c8f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_5a4c8f() {
+  float res = 3.0f;
+}
+void main() {
+  dot_5a4c8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_5a4c8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_5a4c8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_5a4c8f() {
+  float res = 3.0f;
+}
+void main() {
+  dot_5a4c8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_5a4c8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_5a4c8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_5a4c8f() {
+  float res = 3.0f;
+}
+void main() {
+  dot_5a4c8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_5a4c8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_5a4c8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.ir.glsl
index 6c6485e..20d9d3d 100644
--- a/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/7548a0.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_7548a0() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uint res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_7548a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_7548a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_7548a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_7548a0() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uint res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_7548a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_7548a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_7548a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_7548a0() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uint res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_7548a0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_7548a0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_7548a0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.ir.glsl
index 6c6485e..770df55 100644
--- a/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/883f0e.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_883f0e() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_883f0e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_883f0e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_883f0e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_883f0e() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_883f0e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_883f0e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_883f0e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_883f0e() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_883f0e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_883f0e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_883f0e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.ir.glsl
index 6c6485e..acfb0fd 100644
--- a/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/8e40f1.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_8e40f1() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_8e40f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_8e40f1() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_8e40f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_8e40f1() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_8e40f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_8e40f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.ir.glsl
index 6c6485e..b43f970 100644
--- a/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/97c7ee.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_97c7ee() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uint res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_97c7ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_97c7ee() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uint res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_97c7ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_97c7ee() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uint res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_97c7ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_97c7ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.ir.glsl
index 6c6485e..44c2346 100644
--- a/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/ba4246.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_ba4246() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_ba4246();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ba4246();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ba4246();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_ba4246() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_ba4246();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ba4246();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ba4246();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float dot_ba4246() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_ba4246();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ba4246();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ba4246();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.ir.glsl
index d4bb1c9..51ffb9c 100644
--- a/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/c11efe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_c11efe() {
+  int res = 3;
+}
+void main() {
+  dot_c11efe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_c11efe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_c11efe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_c11efe() {
+  int res = 3;
+}
+void main() {
+  dot_c11efe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_c11efe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_c11efe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_c11efe() {
+  int res = 3;
+}
+void main() {
+  dot_c11efe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_c11efe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_c11efe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.ir.glsl
index 6c6485e..4be8218 100644
--- a/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/cd5a04.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_cd5a04() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_cd5a04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_cd5a04() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_cd5a04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_cd5a04() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_cd5a04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_cd5a04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.ir.glsl
index 6c6485e..65f2e94 100644
--- a/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/d0d179.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_d0d179() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_d0d179();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_d0d179();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_d0d179();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_d0d179() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_d0d179();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_d0d179();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_d0d179();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t dot_d0d179() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_d0d179();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_d0d179();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_d0d179();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.ir.glsl
index 6c6485e..b7a3660 100644
--- a/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/e994c7.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_e994c7() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uint res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_e994c7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_e994c7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_e994c7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_e994c7() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uint res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_e994c7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_e994c7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_e994c7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot_e994c7() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uint res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_e994c7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_e994c7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_e994c7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.ir.glsl
index d4bb1c9..4abca94 100644
--- a/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/eb9fbf.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_eb9fbf() {
+  int res = 4;
+}
+void main() {
+  dot_eb9fbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_eb9fbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_eb9fbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_eb9fbf() {
+  int res = 4;
+}
+void main() {
+  dot_eb9fbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_eb9fbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_eb9fbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void dot_eb9fbf() {
+  int res = 4;
+}
+void main() {
+  dot_eb9fbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  dot_eb9fbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  dot_eb9fbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.ir.glsl
index 6c6485e..c1e93b5 100644
--- a/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/ef6b1d.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_ef6b1d() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  int res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ef6b1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp int'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_ef6b1d() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  int res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ef6b1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp int'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_ef6b1d() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  int res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_ef6b1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_ef6b1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp int'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.ir.glsl
index 6c6485e..efe2720 100644
--- a/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/f1312c.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_f1312c() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  int res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_f1312c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_f1312c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_f1312c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp int'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_f1312c() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  int res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_f1312c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_f1312c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_f1312c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp int'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_f1312c() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  int res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_f1312c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_f1312c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_f1312c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp int'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.ir.glsl
index 6c6485e..eb5b85c 100644
--- a/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot/fc5f7c.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_fc5f7c() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  int res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_fc5f7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp int'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_fc5f7c() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  int res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_fc5f7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp int'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int dot_fc5f7c() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  int res = dot(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot_fc5f7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot_fc5f7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'dot' : no matching overloaded function found 
+ERROR: 0:15: '=' :  cannot convert from ' const float' to ' temp highp int'
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot4I8Packed/881e62.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl
index 72ca17c..6456e1e 100644
--- a/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dot4U8Packed/fbed7b.wgsl.expected.ir.glsl
@@ -1,11 +1,139 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot4U8Packed_fbed7b() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint v = arg_0;
+  uint v_1 = arg_1;
+  uvec4 v_2 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_3 = (uvec4(v) >> v_2);
+  uvec4 v_4 = (v_3 & uvec4(255u));
+  uvec4 v_5 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_6 = (uvec4(v_1) >> v_5);
+  uint res = dot(v_4, (v_6 & uvec4(255u)));
+  return res;
+}
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot4U8Packed_fbed7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'dot' : no matching overloaded function found 
+ERROR: 0:22: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot4U8Packed_fbed7b() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint v = arg_0;
+  uint v_1 = arg_1;
+  uvec4 v_2 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_3 = (uvec4(v) >> v_2);
+  uvec4 v_4 = (v_3 & uvec4(255u));
+  uvec4 v_5 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_6 = (uvec4(v_1) >> v_5);
+  uint res = dot(v_4, (v_6 & uvec4(255u)));
+  return res;
+}
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot4U8Packed_fbed7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'dot' : no matching overloaded function found 
+ERROR: 0:22: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint dot4U8Packed_fbed7b() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint v = arg_0;
+  uint v_1 = arg_1;
+  uvec4 v_2 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_3 = (uvec4(v) >> v_2);
+  uvec4 v_4 = (v_3 & uvec4(255u));
+  uvec4 v_5 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_6 = (uvec4(v_1) >> v_5);
+  uint res = dot(v_4, (v_6 & uvec4(255u)));
+  return res;
+}
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = dot4U8Packed_fbed7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = dot4U8Packed_fbed7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'dot' : no matching overloaded function found 
+ERROR: 0:22: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl
index 6c6485e..e0da2ca 100644
--- a/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxCoarse/029152.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+float prevent_dce;
+float dpdxCoarse_029152() {
+  float arg_0 = 1.0f;
+  float res = dFdxdFdxCoarse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxCoarse_029152();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
index 6c6485e..81d34c5 100644
--- a/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxCoarse/9581cf.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec2 prevent_dce;
+vec2 dpdxCoarse_9581cf() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = dFdxdFdxCoarse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxCoarse_9581cf();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl
index 6c6485e..42a9966 100644
--- a/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxCoarse/c28641.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 prevent_dce;
+vec4 dpdxCoarse_c28641() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = dFdxdFdxCoarse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxCoarse_c28641();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
index 6c6485e..4fc2502 100644
--- a/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxCoarse/f64d7b.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec3 prevent_dce;
+vec3 dpdxCoarse_f64d7b() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = dFdxdFdxCoarse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxCoarse_f64d7b();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl
index 6c6485e..286d87f 100644
--- a/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxFine/8c5069.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 prevent_dce;
+vec4 dpdxFine_8c5069() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = dFdxdFdxFine(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxFine_8c5069();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl
index 6c6485e..cd417ba 100644
--- a/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxFine/9631de.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec2 prevent_dce;
+vec2 dpdxFine_9631de() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = dFdxdFdxFine(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxFine_9631de();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl
index 6c6485e..5e9484c 100644
--- a/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxFine/f401a2.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+float prevent_dce;
+float dpdxFine_f401a2() {
+  float arg_0 = 1.0f;
+  float res = dFdxdFdxFine(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxFine_f401a2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl
index 6c6485e..ba708a2 100644
--- a/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec3 prevent_dce;
+vec3 dpdxFine_f92fb6() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = dFdxdFdxFine(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdxFine_f92fb6();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
index 6c6485e..43ea054 100644
--- a/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyCoarse/3e1ab4.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec2 prevent_dce;
+vec2 dpdyCoarse_3e1ab4() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = dFdydFdyCoarse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyCoarse_3e1ab4();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl
index 6c6485e..c64d911 100644
--- a/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyCoarse/445d24.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 prevent_dce;
+vec4 dpdyCoarse_445d24() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = dFdydFdyCoarse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyCoarse_445d24();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
index 6c6485e..a1b7c31 100644
--- a/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyCoarse/870a7e.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+float prevent_dce;
+float dpdyCoarse_870a7e() {
+  float arg_0 = 1.0f;
+  float res = dFdydFdyCoarse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyCoarse_870a7e();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
index 6c6485e..5e7759e 100644
--- a/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec3 prevent_dce;
+vec3 dpdyCoarse_ae1873() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = dFdydFdyCoarse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyCoarse_ae1873();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
index 6c6485e..4b76706 100644
--- a/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyFine/1fb7ab.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec3 prevent_dce;
+vec3 dpdyFine_1fb7ab() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = dFdydFdyFine(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyFine_1fb7ab();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl
index 6c6485e..d4db1b0 100644
--- a/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyFine/6eb673.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+float prevent_dce;
+float dpdyFine_6eb673() {
+  float arg_0 = 1.0f;
+  float res = dFdydFdyFine(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyFine_6eb673();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl
index 6c6485e..627e86c 100644
--- a/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyFine/d0a648.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 prevent_dce;
+vec4 dpdyFine_d0a648() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = dFdydFdyFine(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyFine_d0a648();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 4-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl
index 6c6485e..a75af16 100644
--- a/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/dpdyFine/df33aa.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec2 prevent_dce;
+vec2 dpdyFine_df33aa() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = dFdydFdyFine(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = dpdyFine_df33aa();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:9: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.ir.glsl
index 6c6485e..ae0d15b 100644
--- a/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/0f70eb.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp_0f70eb() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_0f70eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp_0f70eb() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_0f70eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp_0f70eb() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_0f70eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_0f70eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.ir.glsl
index 6c6485e..26dc558 100644
--- a/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/13806d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp_13806d() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_13806d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_13806d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_13806d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp_13806d() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_13806d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_13806d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_13806d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp_13806d() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_13806d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_13806d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_13806d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.ir.glsl
index 6c6485e..dbee0f5 100644
--- a/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/1951e7.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp_1951e7() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_1951e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_1951e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_1951e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp_1951e7() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_1951e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_1951e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_1951e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp_1951e7() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_1951e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_1951e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_1951e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.ir.glsl
index 6c6485e..f44ce37 100644
--- a/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/2e08e2.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp_2e08e2() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_2e08e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp_2e08e2() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_2e08e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp_2e08e2() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_2e08e2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_2e08e2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.ir.glsl
index d4bb1c9..48a4a80 100644
--- a/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/49e4c5.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_49e4c5() {
+  float res = 2.71828174591064453125f;
+}
+void main() {
+  exp_49e4c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_49e4c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_49e4c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_49e4c5() {
+  float res = 2.71828174591064453125f;
+}
+void main() {
+  exp_49e4c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_49e4c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_49e4c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_49e4c5() {
+  float res = 2.71828174591064453125f;
+}
+void main() {
+  exp_49e4c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_49e4c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_49e4c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.ir.glsl
index 6c6485e..63071b9 100644
--- a/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/611a87.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp_611a87() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_611a87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_611a87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_611a87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp_611a87() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_611a87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_611a87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_611a87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp_611a87() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_611a87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_611a87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_611a87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/699629.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/699629.wgsl.expected.ir.glsl
index d4bb1c9..3ae81c8 100644
--- a/test/tint/builtins/gen/var/exp/699629.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/699629.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_699629() {
+  vec2 res = vec2(2.71828174591064453125f);
+}
+void main() {
+  exp_699629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_699629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_699629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_699629() {
+  vec2 res = vec2(2.71828174591064453125f);
+}
+void main() {
+  exp_699629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_699629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_699629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_699629() {
+  vec2 res = vec2(2.71828174591064453125f);
+}
+void main() {
+  exp_699629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_699629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_699629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.ir.glsl
index 6c6485e..d88ccbd 100644
--- a/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/771fd2.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp_771fd2() {
+  float arg_0 = 1.0f;
+  float res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_771fd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_771fd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_771fd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp_771fd2() {
+  float arg_0 = 1.0f;
+  float res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_771fd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_771fd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_771fd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp_771fd2() {
+  float arg_0 = 1.0f;
+  float res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_771fd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_771fd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_771fd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.ir.glsl
index d4bb1c9..6f9e1c9 100644
--- a/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/bda5bb.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_bda5bb() {
+  vec3 res = vec3(2.71828174591064453125f);
+}
+void main() {
+  exp_bda5bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_bda5bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_bda5bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_bda5bb() {
+  vec3 res = vec3(2.71828174591064453125f);
+}
+void main() {
+  exp_bda5bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_bda5bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_bda5bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_bda5bb() {
+  vec3 res = vec3(2.71828174591064453125f);
+}
+void main() {
+  exp_bda5bb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_bda5bb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_bda5bb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.ir.glsl
index 6c6485e..ae1469e 100644
--- a/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/c18fe9.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp_c18fe9() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_c18fe9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp_c18fe9() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_c18fe9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp_c18fe9() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_c18fe9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_c18fe9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.ir.glsl
index 6c6485e..f0c81a3 100644
--- a/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/d98450.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp_d98450() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_d98450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_d98450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_d98450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp_d98450() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_d98450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_d98450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_d98450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp_d98450() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = exp(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp_d98450();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp_d98450();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp_d98450();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.ir.glsl
index d4bb1c9..3db102c 100644
--- a/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp/dad791.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_dad791() {
+  vec4 res = vec4(2.71828174591064453125f);
+}
+void main() {
+  exp_dad791();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_dad791();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_dad791();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_dad791() {
+  vec4 res = vec4(2.71828174591064453125f);
+}
+void main() {
+  exp_dad791();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_dad791();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_dad791();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp_dad791() {
+  vec4 res = vec4(2.71828174591064453125f);
+}
+void main() {
+  exp_dad791();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp_dad791();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp_dad791();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.ir.glsl
index 6c6485e..adfa39a 100644
--- a/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/151a4c.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp2_151a4c() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_151a4c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp2_151a4c() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_151a4c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 exp2_151a4c() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_151a4c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_151a4c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.ir.glsl
index d4bb1c9..6d43169 100644
--- a/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/18aa76.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_18aa76() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  exp2_18aa76();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_18aa76();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_18aa76();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_18aa76() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  exp2_18aa76();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_18aa76();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_18aa76();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_18aa76() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  exp2_18aa76();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_18aa76();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_18aa76();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.ir.glsl
index 6c6485e..4687813 100644
--- a/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/1f8680.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp2_1f8680() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_1f8680();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp2_1f8680() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_1f8680();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 exp2_1f8680() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_1f8680();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_1f8680();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.ir.glsl
index d4bb1c9..0339ef4 100644
--- a/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/303753.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_303753() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  exp2_303753();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_303753();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_303753();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_303753() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  exp2_303753();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_303753();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_303753();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_303753() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  exp2_303753();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_303753();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_303753();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.ir.glsl
index 6c6485e..b86ad3b 100644
--- a/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/751377.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp2_751377() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_751377();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_751377();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_751377();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp2_751377() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_751377();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_751377();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_751377();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 exp2_751377() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_751377();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_751377();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_751377();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.ir.glsl
index d4bb1c9..aefd542 100644
--- a/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/8bd72d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_8bd72d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  exp2_8bd72d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_8bd72d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_8bd72d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_8bd72d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  exp2_8bd72d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_8bd72d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_8bd72d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_8bd72d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  exp2_8bd72d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_8bd72d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_8bd72d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.ir.glsl
index 6c6485e..17495f1 100644
--- a/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/a9d0a7.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp2_a9d0a7() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_a9d0a7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp2_a9d0a7() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_a9d0a7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 exp2_a9d0a7() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_a9d0a7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_a9d0a7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.ir.glsl
index 6c6485e..648cd77 100644
--- a/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/b408e4.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp2_b408e4() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_b408e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp2_b408e4() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_b408e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t exp2_b408e4() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_b408e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_b408e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.ir.glsl
index 6c6485e..76e84f1 100644
--- a/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/d6777c.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp2_d6777c() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_d6777c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp2_d6777c() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_d6777c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 exp2_d6777c() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_d6777c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_d6777c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.ir.glsl
index 6c6485e..8f0424b 100644
--- a/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/dea523.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp2_dea523() {
+  float arg_0 = 1.0f;
+  float res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_dea523();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_dea523();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_dea523();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp2_dea523() {
+  float arg_0 = 1.0f;
+  float res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_dea523();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_dea523();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_dea523();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float exp2_dea523() {
+  float arg_0 = 1.0f;
+  float res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_dea523();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_dea523();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_dea523();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.ir.glsl
index d4bb1c9..8970162 100644
--- a/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/f4f0f1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_f4f0f1() {
+  float res = 2.0f;
+}
+void main() {
+  exp2_f4f0f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_f4f0f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_f4f0f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_f4f0f1() {
+  float res = 2.0f;
+}
+void main() {
+  exp2_f4f0f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_f4f0f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_f4f0f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void exp2_f4f0f1() {
+  float res = 2.0f;
+}
+void main() {
+  exp2_f4f0f1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  exp2_f4f0f1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  exp2_f4f0f1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.ir.glsl
index 6c6485e..1f88f66 100644
--- a/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/exp2/ffa827.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp2_ffa827() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_ffa827();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp2_ffa827() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_ffa827();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 exp2_ffa827() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = exp2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = exp2_ffa827();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = exp2_ffa827();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/extractBits/12b197.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/extractBits/249874.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/extractBits/631377.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/extractBits/a99a8d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/extractBits/ce81f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/extractBits/e04f5d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/extractBits/f28f69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.ir.glsl
index 72ca17c..abcec5f 100644
--- a/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/extractBits/fb850f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: extractBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.ir.glsl
index d4bb1c9..f78da9d 100644
--- a/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/faceForward/2c4d14.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_2c4d14() {
+  vec4 res = vec4(-1.0f);
+}
+void main() {
+  faceForward_2c4d14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_2c4d14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_2c4d14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_2c4d14() {
+  vec4 res = vec4(-1.0f);
+}
+void main() {
+  faceForward_2c4d14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_2c4d14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_2c4d14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_2c4d14() {
+  vec4 res = vec4(-1.0f);
+}
+void main() {
+  faceForward_2c4d14();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_2c4d14();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_2c4d14();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.ir.glsl
index 6c6485e..bddfec7 100644
--- a/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/faceForward/524986.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 faceForward_524986() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_524986();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_524986();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_524986();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 faceForward_524986() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_524986();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_524986();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_524986();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 faceForward_524986() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_524986();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_524986();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_524986();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.ir.glsl
index 6c6485e..36e3ef4 100644
--- a/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/faceForward/5afbd5.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 faceForward_5afbd5() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_5afbd5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 faceForward_5afbd5() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_5afbd5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 faceForward_5afbd5() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_5afbd5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_5afbd5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.ir.glsl
index 6c6485e..2a8e41e 100644
--- a/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/faceForward/b316e5.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 faceForward_b316e5() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_b316e5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 faceForward_b316e5() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_b316e5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 faceForward_b316e5() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_b316e5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_b316e5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.ir.glsl
index d4bb1c9..13f6f98 100644
--- a/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/faceForward/b42ef3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_b42ef3() {
+  vec2 res = vec2(-1.0f);
+}
+void main() {
+  faceForward_b42ef3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_b42ef3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_b42ef3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_b42ef3() {
+  vec2 res = vec2(-1.0f);
+}
+void main() {
+  faceForward_b42ef3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_b42ef3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_b42ef3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_b42ef3() {
+  vec2 res = vec2(-1.0f);
+}
+void main() {
+  faceForward_b42ef3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_b42ef3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_b42ef3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.ir.glsl
index 6c6485e..315bff6 100644
--- a/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/faceForward/cc63dc.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 faceForward_cc63dc() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_cc63dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 faceForward_cc63dc() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_cc63dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 faceForward_cc63dc() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_cc63dc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_cc63dc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.ir.glsl
index 6c6485e..93a56cf 100644
--- a/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/faceForward/e6908b.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 faceForward_e6908b() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_e6908b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 faceForward_e6908b() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_e6908b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 faceForward_e6908b() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_e6908b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_e6908b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.ir.glsl
index 6c6485e..f5392cf5 100644
--- a/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/faceForward/fb0f2e.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 faceForward_fb0f2e() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_fb0f2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 faceForward_fb0f2e() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_fb0f2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 faceForward_fb0f2e() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = faceforward(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = faceForward_fb0f2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = faceForward_fb0f2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.ir.glsl
index d4bb1c9..9fa0a75 100644
--- a/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/faceForward/fe522b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_fe522b() {
+  vec3 res = vec3(-1.0f);
+}
+void main() {
+  faceForward_fe522b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_fe522b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_fe522b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_fe522b() {
+  vec3 res = vec3(-1.0f);
+}
+void main() {
+  faceForward_fe522b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_fe522b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_fe522b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void faceForward_fe522b() {
+  vec3 res = vec3(-1.0f);
+}
+void main() {
+  faceForward_fe522b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  faceForward_fe522b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  faceForward_fe522b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/000ff3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/35053e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/3fd7d0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/57a1a3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/6fe804.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/a622c2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/c1f940.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstLeadingBit/f0779d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/110f2c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/3a2acc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/45eb10.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/47d475.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/50c072.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/7496d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/86551b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/firstTrailingBit/cb51ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/floor/218952.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/218952.wgsl.expected.ir.glsl
index d4bb1c9..34fac5a 100644
--- a/test/tint/builtins/gen/var/floor/218952.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/218952.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_218952() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  floor_218952();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_218952();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_218952();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_218952() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  floor_218952();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_218952();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_218952();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_218952() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  floor_218952();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_218952();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_218952();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.ir.glsl
index 6c6485e..bc2ffb0 100644
--- a/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/3802c0.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 floor_3802c0() {
+  f16vec3 arg_0 = f16vec3(1.5hf);
+  f16vec3 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3802c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3802c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3802c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 floor_3802c0() {
+  f16vec3 arg_0 = f16vec3(1.5hf);
+  f16vec3 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3802c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3802c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3802c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 floor_3802c0() {
+  f16vec3 arg_0 = f16vec3(1.5hf);
+  f16vec3 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3802c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3802c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3802c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.ir.glsl
index 6c6485e..1d988ed 100644
--- a/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/3bccc4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 floor_3bccc4() {
+  vec4 arg_0 = vec4(1.5f);
+  vec4 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3bccc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 floor_3bccc4() {
+  vec4 arg_0 = vec4(1.5f);
+  vec4 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3bccc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 floor_3bccc4() {
+  vec4 arg_0 = vec4(1.5f);
+  vec4 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_3bccc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_3bccc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.ir.glsl
index 6c6485e..75f386b 100644
--- a/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/5fc9ac.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 floor_5fc9ac() {
+  vec2 arg_0 = vec2(1.5f);
+  vec2 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_5fc9ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 floor_5fc9ac() {
+  vec2 arg_0 = vec2(1.5f);
+  vec2 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_5fc9ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 floor_5fc9ac() {
+  vec2 arg_0 = vec2(1.5f);
+  vec2 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_5fc9ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_5fc9ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.ir.glsl
index 6c6485e..287d21a 100644
--- a/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/60d7ea.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 floor_60d7ea() {
+  vec3 arg_0 = vec3(1.5f);
+  vec3 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_60d7ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 floor_60d7ea() {
+  vec3 arg_0 = vec3(1.5f);
+  vec3 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_60d7ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 floor_60d7ea() {
+  vec3 arg_0 = vec3(1.5f);
+  vec3 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_60d7ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_60d7ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.ir.glsl
index 6c6485e..79d4e88 100644
--- a/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/66f154.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float floor_66f154() {
+  float arg_0 = 1.5f;
+  float res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_66f154();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_66f154();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_66f154();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float floor_66f154() {
+  float arg_0 = 1.5f;
+  float res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_66f154();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_66f154();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_66f154();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float floor_66f154() {
+  float arg_0 = 1.5f;
+  float res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_66f154();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_66f154();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_66f154();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.ir.glsl
index 6c6485e..b02d329 100644
--- a/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/84658c.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 floor_84658c() {
+  f16vec2 arg_0 = f16vec2(1.5hf);
+  f16vec2 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_84658c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_84658c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_84658c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 floor_84658c() {
+  f16vec2 arg_0 = f16vec2(1.5hf);
+  f16vec2 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_84658c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_84658c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_84658c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 floor_84658c() {
+  f16vec2 arg_0 = f16vec2(1.5hf);
+  f16vec2 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_84658c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_84658c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_84658c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/953774.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/953774.wgsl.expected.ir.glsl
index d4bb1c9..4a575c5 100644
--- a/test/tint/builtins/gen/var/floor/953774.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/953774.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_953774() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  floor_953774();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_953774();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_953774();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_953774() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  floor_953774();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_953774();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_953774();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_953774() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  floor_953774();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_953774();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_953774();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.ir.glsl
index 6c6485e..82bed8a 100644
--- a/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/a2d31b.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 floor_a2d31b() {
+  f16vec4 arg_0 = f16vec4(1.5hf);
+  f16vec4 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_a2d31b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 floor_a2d31b() {
+  f16vec4 arg_0 = f16vec4(1.5hf);
+  f16vec4 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_a2d31b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 floor_a2d31b() {
+  f16vec4 arg_0 = f16vec4(1.5hf);
+  f16vec4 res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_a2d31b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_a2d31b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.ir.glsl
index 6c6485e..a89743d 100644
--- a/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/b6e09c.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t floor_b6e09c() {
+  float16_t arg_0 = 1.5hf;
+  float16_t res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_b6e09c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t floor_b6e09c() {
+  float16_t arg_0 = 1.5hf;
+  float16_t res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_b6e09c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t floor_b6e09c() {
+  float16_t arg_0 = 1.5hf;
+  float16_t res = floor(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = floor_b6e09c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = floor_b6e09c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.ir.glsl
index d4bb1c9..c408af5 100644
--- a/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/dcd5a2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_dcd5a2() {
+  float res = 1.0f;
+}
+void main() {
+  floor_dcd5a2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_dcd5a2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_dcd5a2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_dcd5a2() {
+  float res = 1.0f;
+}
+void main() {
+  floor_dcd5a2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_dcd5a2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_dcd5a2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_dcd5a2() {
+  float res = 1.0f;
+}
+void main() {
+  floor_dcd5a2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_dcd5a2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_dcd5a2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.ir.glsl
index d4bb1c9..cf6416a 100644
--- a/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/floor/e585ef.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_e585ef() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  floor_e585ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_e585ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_e585ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_e585ef() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  floor_e585ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_e585ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_e585ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void floor_e585ef() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  floor_e585ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  floor_e585ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  floor_e585ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.ir.glsl
index d4bb1c9..e2b4901 100644
--- a/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/143d5d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_143d5d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  fma_143d5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_143d5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_143d5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_143d5d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  fma_143d5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_143d5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_143d5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_143d5d() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  fma_143d5d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_143d5d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_143d5d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.ir.glsl
index d4bb1c9..78f3d2f 100644
--- a/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/1f5084.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_1f5084() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  fma_1f5084();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_1f5084();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_1f5084();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_1f5084() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  fma_1f5084();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_1f5084();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_1f5084();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_1f5084() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  fma_1f5084();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_1f5084();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_1f5084();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.ir.glsl
index 6c6485e..914e6ae 100644
--- a/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/26a7a9.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fma_26a7a9() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_26a7a9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fma_26a7a9() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_26a7a9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fma_26a7a9() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_26a7a9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_26a7a9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/466442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/466442.wgsl.expected.ir.glsl
index d4bb1c9..05c795b 100644
--- a/test/tint/builtins/gen/var/fma/466442.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/466442.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_466442() {
+  float res = 2.0f;
+}
+void main() {
+  fma_466442();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_466442();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_466442();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_466442() {
+  float res = 2.0f;
+}
+void main() {
+  fma_466442();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_466442();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_466442();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_466442() {
+  float res = 2.0f;
+}
+void main() {
+  fma_466442();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_466442();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_466442();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.ir.glsl
index 6c6485e..9aafac4 100644
--- a/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/6a3283.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fma_6a3283() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_6a3283();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_6a3283();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_6a3283();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fma_6a3283() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_6a3283();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_6a3283();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_6a3283();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fma_6a3283() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_6a3283();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_6a3283();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_6a3283();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/ab7818.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/ab7818.wgsl.expected.ir.glsl
index 6c6485e..feb3314 100644
--- a/test/tint/builtins/gen/var/fma/ab7818.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/ab7818.wgsl.expected.ir.glsl
@@ -1,11 +1,127 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fma_ab7818() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_ab7818();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_ab7818();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_ab7818();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fma_ab7818() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_ab7818();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_ab7818();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_ab7818();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fma_ab7818() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_ab7818();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_ab7818();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_ab7818();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/bf21b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/bf21b6.wgsl.expected.ir.glsl
index 6c6485e..1978cb8 100644
--- a/test/tint/builtins/gen/var/fma/bf21b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/bf21b6.wgsl.expected.ir.glsl
@@ -1,11 +1,127 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fma_bf21b6() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_bf21b6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fma_bf21b6() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_bf21b6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fma_bf21b6() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_bf21b6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_bf21b6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.ir.glsl
index 6c6485e..b1a4224 100644
--- a/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/c10ba3.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fma_c10ba3() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float arg_2 = 1.0f;
+  float res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c10ba3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fma_c10ba3() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float arg_2 = 1.0f;
+  float res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c10ba3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fma_c10ba3() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float arg_2 = 1.0f;
+  float res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c10ba3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c10ba3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/c8abb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/c8abb3.wgsl.expected.ir.glsl
index 6c6485e..35595ba 100644
--- a/test/tint/builtins/gen/var/fma/c8abb3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/c8abb3.wgsl.expected.ir.glsl
@@ -1,11 +1,127 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fma_c8abb3() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t arg_2 = 1.0hf;
+  float16_t res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c8abb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fma_c8abb3() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t arg_2 = 1.0hf;
+  float16_t res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c8abb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fma_c8abb3() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t arg_2 = 1.0hf;
+  float16_t res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_c8abb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_c8abb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.ir.glsl
index 6c6485e..0b702e2 100644
--- a/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/e17c5c.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fma_e17c5c() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e17c5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fma_e17c5c() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e17c5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fma_e17c5c() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e17c5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e17c5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/e7abdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/e7abdc.wgsl.expected.ir.glsl
index 6c6485e..de0befa 100644
--- a/test/tint/builtins/gen/var/fma/e7abdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/e7abdc.wgsl.expected.ir.glsl
@@ -1,11 +1,127 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fma_e7abdc() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e7abdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fma_e7abdc() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e7abdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fma_e7abdc() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = fma(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fma_e7abdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fma_e7abdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'fma' : required extension not requested: Possible extensions include:
+GL_EXT_gpu_shader5
+GL_OES_gpu_shader5
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.ir.glsl
index d4bb1c9..855d8e3 100644
--- a/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fma/eb25d7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_eb25d7() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  fma_eb25d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_eb25d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_eb25d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_eb25d7() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  fma_eb25d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_eb25d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_eb25d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fma_eb25d7() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  fma_eb25d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fma_eb25d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fma_eb25d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.ir.glsl
index 6c6485e..3177b2a 100644
--- a/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/181aa9.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fract_181aa9() {
+  f16vec2 arg_0 = f16vec2(1.25hf);
+  f16vec2 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_181aa9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_181aa9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_181aa9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fract_181aa9() {
+  f16vec2 arg_0 = f16vec2(1.25hf);
+  f16vec2 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_181aa9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_181aa9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_181aa9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 fract_181aa9() {
+  f16vec2 arg_0 = f16vec2(1.25hf);
+  f16vec2 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_181aa9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_181aa9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_181aa9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.ir.glsl
index d4bb1c9..d518cd3 100644
--- a/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/2eddfe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_2eddfe() {
+  float res = 0.25f;
+}
+void main() {
+  fract_2eddfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_2eddfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_2eddfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_2eddfe() {
+  float res = 0.25f;
+}
+void main() {
+  fract_2eddfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_2eddfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_2eddfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_2eddfe() {
+  float res = 0.25f;
+}
+void main() {
+  fract_2eddfe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_2eddfe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_2eddfe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.ir.glsl
index 6c6485e..edfcdc0 100644
--- a/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/498c77.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fract_498c77() {
+  f16vec4 arg_0 = f16vec4(1.25hf);
+  f16vec4 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_498c77();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_498c77();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_498c77();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fract_498c77() {
+  f16vec4 arg_0 = f16vec4(1.25hf);
+  f16vec4 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_498c77();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_498c77();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_498c77();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 fract_498c77() {
+  f16vec4 arg_0 = f16vec4(1.25hf);
+  f16vec4 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_498c77();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_498c77();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_498c77();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.ir.glsl
index d4bb1c9..83e203c 100644
--- a/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/7e3f2d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_7e3f2d() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  fract_7e3f2d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_7e3f2d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_7e3f2d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_7e3f2d() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  fract_7e3f2d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_7e3f2d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_7e3f2d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_7e3f2d() {
+  vec4 res = vec4(0.25f);
+}
+void main() {
+  fract_7e3f2d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_7e3f2d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_7e3f2d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.ir.glsl
index 6c6485e..5742b25 100644
--- a/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/8bc1e9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fract_8bc1e9() {
+  vec4 arg_0 = vec4(1.25f);
+  vec4 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_8bc1e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fract_8bc1e9() {
+  vec4 arg_0 = vec4(1.25f);
+  vec4 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_8bc1e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 fract_8bc1e9() {
+  vec4 arg_0 = vec4(1.25f);
+  vec4 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_8bc1e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_8bc1e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.ir.glsl
index 6c6485e..3833193 100644
--- a/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/943cb1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fract_943cb1() {
+  vec2 arg_0 = vec2(1.25f);
+  vec2 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_943cb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_943cb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_943cb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fract_943cb1() {
+  vec2 arg_0 = vec2(1.25f);
+  vec2 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_943cb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_943cb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_943cb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 fract_943cb1() {
+  vec2 arg_0 = vec2(1.25f);
+  vec2 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_943cb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_943cb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_943cb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.ir.glsl
index 6c6485e..856f6d9 100644
--- a/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/958a1d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fract_958a1d() {
+  f16vec3 arg_0 = f16vec3(1.25hf);
+  f16vec3 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_958a1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_958a1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_958a1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fract_958a1d() {
+  f16vec3 arg_0 = f16vec3(1.25hf);
+  f16vec3 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_958a1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_958a1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_958a1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 fract_958a1d() {
+  f16vec3 arg_0 = f16vec3(1.25hf);
+  f16vec3 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_958a1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_958a1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_958a1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.ir.glsl
index 6c6485e..5c9fa7d 100644
--- a/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/a49758.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fract_a49758() {
+  vec3 arg_0 = vec3(1.25f);
+  vec3 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_a49758();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_a49758();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_a49758();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fract_a49758() {
+  vec3 arg_0 = vec3(1.25f);
+  vec3 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_a49758();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_a49758();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_a49758();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 fract_a49758() {
+  vec3 arg_0 = vec3(1.25f);
+  vec3 res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_a49758();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_a49758();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_a49758();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.ir.glsl
index 6c6485e..dffadd0 100644
--- a/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/eb38ce.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fract_eb38ce() {
+  float16_t arg_0 = 1.25hf;
+  float16_t res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_eb38ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fract_eb38ce() {
+  float16_t arg_0 = 1.25hf;
+  float16_t res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_eb38ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t fract_eb38ce() {
+  float16_t arg_0 = 1.25hf;
+  float16_t res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_eb38ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_eb38ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.ir.glsl
index d4bb1c9..8638a81 100644
--- a/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/ed00ca.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed00ca() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  fract_ed00ca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed00ca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed00ca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed00ca() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  fract_ed00ca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed00ca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed00ca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed00ca() {
+  vec2 res = vec2(0.25f);
+}
+void main() {
+  fract_ed00ca();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed00ca();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed00ca();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.ir.glsl
index d4bb1c9..194fff8 100644
--- a/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/ed2f79.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed2f79() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  fract_ed2f79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed2f79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed2f79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed2f79() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  fract_ed2f79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed2f79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed2f79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void fract_ed2f79() {
+  vec3 res = vec3(0.25f);
+}
+void main() {
+  fract_ed2f79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  fract_ed2f79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  fract_ed2f79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.ir.glsl
index 6c6485e..0f33d4b 100644
--- a/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/fract/fa5c71.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fract_fa5c71() {
+  float arg_0 = 1.25f;
+  float res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_fa5c71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fract_fa5c71() {
+  float arg_0 = 1.25f;
+  float res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_fa5c71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float fract_fa5c71() {
+  float arg_0 = 1.25f;
+  float res = fract(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = fract_fa5c71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = fract_fa5c71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.ir.glsl
index d4bb1c9..8b09428 100644
--- a/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/34bbfb.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_34bbfb() {
+  frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1));
+}
+void main() {
+  frexp_34bbfb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_34bbfb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_34bbfb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_34bbfb() {
+  frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1));
+}
+void main() {
+  frexp_34bbfb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_34bbfb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_34bbfb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_34bbfb() {
+  frexp_result_vec4_f32 res = frexp_result_vec4_f32(vec4(0.5f), ivec4(1));
+}
+void main() {
+  frexp_34bbfb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_34bbfb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_34bbfb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/3dd21e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/3dd21e.wgsl.expected.ir.glsl
index 6c6485e..8e2b8dc 100644
--- a/test/tint/builtins/gen/var/frexp/3dd21e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/3dd21e.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec4_f16 {
+  f16vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_3dd21e() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  frexp_result_vec4_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_3dd21e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_3dd21e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_3dd21e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 4-component vector of float16_t fract,  global mediump 4-component vector of int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec4_f16 {
+  f16vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_3dd21e() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  frexp_result_vec4_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_3dd21e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_3dd21e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_3dd21e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 4-component vector of float16_t fract,  global highp 4-component vector of int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec4_f16 {
+  f16vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_3dd21e() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  frexp_result_vec4_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_3dd21e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_3dd21e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_3dd21e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 4-component vector of float16_t fract,  global highp 4-component vector of int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.ir.glsl
index 6c6485e..bf1af6b 100644
--- a/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/4b2200.wgsl.expected.ir.glsl
@@ -1,11 +1,120 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_4b2200() {
+  float arg_0 = 1.0f;
+  frexp_result_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_4b2200();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_4b2200();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_4b2200();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_4b2200() {
+  float arg_0 = 1.0f;
+  frexp_result_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_4b2200();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_4b2200();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_4b2200();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'frexp' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp float fract,  global highp int exp}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_4b2200() {
+  float arg_0 = 1.0f;
+  frexp_result_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_4b2200();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_4b2200();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_4b2200();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'frexp' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp float fract,  global highp int exp}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/5257dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/5257dd.wgsl.expected.ir.glsl
index 6c6485e..ffc85bb 100644
--- a/test/tint/builtins/gen/var/frexp/5257dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/5257dd.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_f16 {
+  float16_t fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5257dd() {
+  float16_t arg_0 = 1.0hf;
+  frexp_result_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_5257dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5257dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5257dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global float16_t fract,  global mediump int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_f16 {
+  float16_t fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5257dd() {
+  float16_t arg_0 = 1.0hf;
+  frexp_result_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_5257dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5257dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5257dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global float16_t fract,  global highp int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_f16 {
+  float16_t fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5257dd() {
+  float16_t arg_0 = 1.0hf;
+  frexp_result_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_5257dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5257dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5257dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global float16_t fract,  global highp int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/5f47bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/5f47bf.wgsl.expected.ir.glsl
index 6c6485e..34199b4 100644
--- a/test/tint/builtins/gen/var/frexp/5f47bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/5f47bf.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec2_f16 {
+  f16vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5f47bf() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  frexp_result_vec2_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_5f47bf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5f47bf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5f47bf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 2-component vector of float16_t fract,  global mediump 2-component vector of int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec2_f16 {
+  f16vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5f47bf() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  frexp_result_vec2_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_5f47bf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5f47bf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5f47bf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 2-component vector of float16_t fract,  global highp 2-component vector of int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec2_f16 {
+  f16vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_5f47bf() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  frexp_result_vec2_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_5f47bf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_5f47bf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_5f47bf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 2-component vector of float16_t fract,  global highp 2-component vector of int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.ir.glsl
index d4bb1c9..7a3237a 100644
--- a/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/6fb3ad.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_6fb3ad() {
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1));
+}
+void main() {
+  frexp_6fb3ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_6fb3ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_6fb3ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_6fb3ad() {
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1));
+}
+void main() {
+  frexp_6fb3ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_6fb3ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_6fb3ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_6fb3ad() {
+  frexp_result_vec2_f32 res = frexp_result_vec2_f32(vec2(0.5f), ivec2(1));
+}
+void main() {
+  frexp_6fb3ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_6fb3ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_6fb3ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.ir.glsl
index 6c6485e..3b990d5 100644
--- a/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/77af93.wgsl.expected.ir.glsl
@@ -1,11 +1,120 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_77af93() {
+  vec4 arg_0 = vec4(1.0f);
+  frexp_result_vec4_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_77af93();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_77af93();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_77af93();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_77af93() {
+  vec4 arg_0 = vec4(1.0f);
+  frexp_result_vec4_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_77af93();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_77af93();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_77af93();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'frexp' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 4-component vector of float fract,  global highp 4-component vector of int exp}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec4_f32 {
+  vec4 fract;
+  ivec4 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_77af93() {
+  vec4 arg_0 = vec4(1.0f);
+  frexp_result_vec4_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_77af93();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_77af93();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_77af93();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'frexp' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 4-component vector of float fract,  global highp 4-component vector of int exp}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.ir.glsl
index 6c6485e..e94b3e6 100644
--- a/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/979800.wgsl.expected.ir.glsl
@@ -1,11 +1,120 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_979800() {
+  vec3 arg_0 = vec3(1.0f);
+  frexp_result_vec3_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_979800();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_979800();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_979800();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_979800() {
+  vec3 arg_0 = vec3(1.0f);
+  frexp_result_vec3_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_979800();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_979800();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_979800();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'frexp' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 3-component vector of float fract,  global highp 3-component vector of int exp}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_979800() {
+  vec3 arg_0 = vec3(1.0f);
+  frexp_result_vec3_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_979800();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_979800();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_979800();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'frexp' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 3-component vector of float fract,  global highp 3-component vector of int exp}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/ae4a66.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/ae4a66.wgsl.expected.ir.glsl
index 6c6485e..56b0f94 100644
--- a/test/tint/builtins/gen/var/frexp/ae4a66.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/ae4a66.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec3_f16 {
+  f16vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_ae4a66() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  frexp_result_vec3_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_ae4a66();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_ae4a66();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_ae4a66();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 3-component vector of float16_t fract,  global mediump 3-component vector of int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec3_f16 {
+  f16vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_ae4a66() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  frexp_result_vec3_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_ae4a66();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_ae4a66();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_ae4a66();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 3-component vector of float16_t fract,  global highp 3-component vector of int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct frexp_result_vec3_f16 {
+  f16vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_ae4a66() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  frexp_result_vec3_f16 res = frexp(arg_0);
+}
+void main() {
+  frexp_ae4a66();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_ae4a66();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_ae4a66();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'frexp' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 3-component vector of float16_t fract,  global highp 3-component vector of int exp}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.ir.glsl
index d4bb1c9..d919496 100644
--- a/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/bee870.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bee870() {
+  frexp_result_f32 res = frexp_result_f32(0.5f, 1);
+}
+void main() {
+  frexp_bee870();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bee870();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bee870();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bee870() {
+  frexp_result_f32 res = frexp_result_f32(0.5f, 1);
+}
+void main() {
+  frexp_bee870();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bee870();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bee870();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_f32 {
+  float fract;
+  int exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bee870() {
+  frexp_result_f32 res = frexp_result_f32(0.5f, 1);
+}
+void main() {
+  frexp_bee870();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bee870();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bee870();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.ir.glsl
index d4bb1c9..8b865a6 100644
--- a/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/bf45ae.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bf45ae() {
+  frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1));
+}
+void main() {
+  frexp_bf45ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bf45ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bf45ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bf45ae() {
+  frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1));
+}
+void main() {
+  frexp_bf45ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bf45ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bf45ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec3_f32 {
+  vec3 fract;
+  ivec3 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_bf45ae() {
+  frexp_result_vec3_f32 res = frexp_result_vec3_f32(vec3(0.5f), ivec3(1));
+}
+void main() {
+  frexp_bf45ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_bf45ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_bf45ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.ir.glsl
index 6c6485e..6e3dc2a 100644
--- a/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/frexp/eb2421.wgsl.expected.ir.glsl
@@ -1,11 +1,120 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_eb2421() {
+  vec2 arg_0 = vec2(1.0f);
+  frexp_result_vec2_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_eb2421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_eb2421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_eb2421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_eb2421() {
+  vec2 arg_0 = vec2(1.0f);
+  frexp_result_vec2_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_eb2421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_eb2421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_eb2421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'frexp' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 2-component vector of float fract,  global highp 2-component vector of int exp}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct frexp_result_vec2_f32 {
+  vec2 fract;
+  ivec2 exp;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void frexp_eb2421() {
+  vec2 arg_0 = vec2(1.0f);
+  frexp_result_vec2_f32 res = frexp(arg_0);
+}
+void main() {
+  frexp_eb2421();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  frexp_eb2421();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  frexp_eb2421();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'frexp' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 2-component vector of float fract,  global highp 2-component vector of int exp}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inputAttachmentLoad/315bf5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inputAttachmentLoad/315bf5.wgsl.expected.ir.glsl
index c7873ff..3c33789 100644
--- a/test/tint/builtins/gen/var/inputAttachmentLoad/315bf5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inputAttachmentLoad/315bf5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::InputAttachment
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/inputAttachmentLoad/c38b2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inputAttachmentLoad/c38b2f.wgsl.expected.ir.glsl
index c7873ff..3c33789 100644
--- a/test/tint/builtins/gen/var/inputAttachmentLoad/c38b2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inputAttachmentLoad/c38b2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::InputAttachment
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/inputAttachmentLoad/fc4d97.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inputAttachmentLoad/fc4d97.wgsl.expected.ir.glsl
index c7873ff..3c33789 100644
--- a/test/tint/builtins/gen/var/inputAttachmentLoad/fc4d97.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inputAttachmentLoad/fc4d97.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::InputAttachment
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: inputAttachmentLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/insertBits/3c7ba5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/insertBits/428b0b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/insertBits/51ede1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/insertBits/65468b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/insertBits/87826b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/insertBits/d86978.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/insertBits/e3e3a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/insertBits/fe6ba6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.ir.glsl
index d4bb1c9..6789f35 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/07a6fe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_07a6fe() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  inverseSqrt_07a6fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_07a6fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_07a6fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_07a6fe() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  inverseSqrt_07a6fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_07a6fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_07a6fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_07a6fe() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  inverseSqrt_07a6fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_07a6fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_07a6fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.ir.glsl
index 6c6485e..365f01e 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/440300.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t inverseSqrt_440300() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_440300();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t inverseSqrt_440300() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_440300();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t inverseSqrt_440300() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_440300();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_440300();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl
index d4bb1c9..7a7bdec 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/4ca6d6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_4ca6d6() {
+  float res = 1.0f;
+}
+void main() {
+  inverseSqrt_4ca6d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_4ca6d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_4ca6d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_4ca6d6() {
+  float res = 1.0f;
+}
+void main() {
+  inverseSqrt_4ca6d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_4ca6d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_4ca6d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_4ca6d6() {
+  float res = 1.0f;
+}
+void main() {
+  inverseSqrt_4ca6d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_4ca6d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_4ca6d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.ir.glsl
index 6c6485e..e960531 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/5f51f8.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 inverseSqrt_5f51f8() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_5f51f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 inverseSqrt_5f51f8() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_5f51f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 inverseSqrt_5f51f8() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_5f51f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_5f51f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.ir.glsl
index d4bb1c9..0a9ea6b 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/6d0783.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_6d0783() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  inverseSqrt_6d0783();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_6d0783();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_6d0783();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_6d0783() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  inverseSqrt_6d0783();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_6d0783();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_6d0783();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_6d0783() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  inverseSqrt_6d0783();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_6d0783();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_6d0783();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.ir.glsl
index 6c6485e..c7acda6 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/84407e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float inverseSqrt_84407e() {
+  float arg_0 = 1.0f;
+  float res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_84407e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float inverseSqrt_84407e() {
+  float arg_0 = 1.0f;
+  float res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_84407e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float inverseSqrt_84407e() {
+  float arg_0 = 1.0f;
+  float res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_84407e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_84407e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl
index 6c6485e..4e53025 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/8f2bd2.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 inverseSqrt_8f2bd2() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_8f2bd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 inverseSqrt_8f2bd2() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_8f2bd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 inverseSqrt_8f2bd2() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_8f2bd2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_8f2bd2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.ir.glsl
index 6c6485e..fb2ffff 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/b197b1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 inverseSqrt_b197b1() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b197b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 inverseSqrt_b197b1() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b197b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 inverseSqrt_b197b1() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b197b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b197b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.ir.glsl
index 6c6485e..8477e2d 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/b85ebd.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 inverseSqrt_b85ebd() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b85ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 inverseSqrt_b85ebd() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b85ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 inverseSqrt_b85ebd() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_b85ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_b85ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.ir.glsl
index 6c6485e..80b05d6 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/c22347.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 inverseSqrt_c22347() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_c22347();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 inverseSqrt_c22347() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_c22347();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 inverseSqrt_c22347() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_c22347();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_c22347();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.ir.glsl
index 6c6485e..7f297ea 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/cbdc70.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 inverseSqrt_cbdc70() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_cbdc70();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 inverseSqrt_cbdc70() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_cbdc70();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 inverseSqrt_cbdc70() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = inversesqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = inverseSqrt_cbdc70();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = inverseSqrt_cbdc70();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.ir.glsl
index d4bb1c9..f084946 100644
--- a/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/inverseSqrt/f60c1c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_f60c1c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  inverseSqrt_f60c1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_f60c1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_f60c1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_f60c1c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  inverseSqrt_f60c1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_f60c1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_f60c1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void inverseSqrt_f60c1c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  inverseSqrt_f60c1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  inverseSqrt_f60c1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  inverseSqrt_f60c1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.ir.glsl
index 6c6485e..34c056f 100644
--- a/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/082c1f.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_082c1f() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = ldexp(arg_0, 1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_082c1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_082c1f() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = ldexp(arg_0, 1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_082c1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_082c1f() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = ldexp(arg_0, 1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_082c1f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_082c1f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.ir.glsl
index 6c6485e..e22ae64 100644
--- a/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/217a31.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_217a31() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = ldexp(arg_0, ivec2(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_217a31();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_217a31() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = ldexp(arg_0, ivec2(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_217a31();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_217a31() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = ldexp(arg_0, ivec2(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_217a31();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_217a31();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.ir.glsl
index 6c6485e..be0242d 100644
--- a/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/2bfc68.wgsl.expected.ir.glsl
@@ -1,11 +1,103 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2bfc68() {
+  ivec2 arg_1 = ivec2(1);
+  vec2 res = ldexp(vec2(1.0f), arg_1);
+}
+void main() {
+  ldexp_2bfc68();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2bfc68();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2bfc68();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2bfc68() {
+  ivec2 arg_1 = ivec2(1);
+  vec2 res = ldexp(vec2(1.0f), arg_1);
+}
+void main() {
+  ldexp_2bfc68();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2bfc68();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2bfc68();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'main' : function already has a body 
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2bfc68() {
+  ivec2 arg_1 = ivec2(1);
+  vec2 res = ldexp(vec2(1.0f), arg_1);
+}
+void main() {
+  ldexp_2bfc68();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2bfc68();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2bfc68();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.ir.glsl
index d4bb1c9..234fb63 100644
--- a/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/2c6370.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2c6370() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ldexp_2c6370();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2c6370();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2c6370();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2c6370() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ldexp_2c6370();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2c6370();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2c6370();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_2c6370() {
+  vec2 res = vec2(2.0f);
+}
+void main() {
+  ldexp_2c6370();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_2c6370();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_2c6370();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.ir.glsl
index 6c6485e..368277e 100644
--- a/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/376938.wgsl.expected.ir.glsl
@@ -1,11 +1,103 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_376938() {
+  ivec4 arg_1 = ivec4(1);
+  vec4 res = ldexp(vec4(1.0f), arg_1);
+}
+void main() {
+  ldexp_376938();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_376938();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_376938();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_376938() {
+  ivec4 arg_1 = ivec4(1);
+  vec4 res = ldexp(vec4(1.0f), arg_1);
+}
+void main() {
+  ldexp_376938();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_376938();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_376938();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'main' : function already has a body 
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_376938() {
+  ivec4 arg_1 = ivec4(1);
+  vec4 res = ldexp(vec4(1.0f), arg_1);
+}
+void main() {
+  ldexp_376938();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_376938();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_376938();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.ir.glsl
index 6c6485e..fb63763 100644
--- a/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/3d90b4.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_3d90b4() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  ivec2 arg_1 = ivec2(1);
+  f16vec2 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_3d90b4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_3d90b4() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  ivec2 arg_1 = ivec2(1);
+  f16vec2 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_3d90b4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 ldexp_3d90b4() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  ivec2 arg_1 = ivec2(1);
+  f16vec2 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_3d90b4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_3d90b4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.ir.glsl
index d4bb1c9..f25889e 100644
--- a/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/4a3ad9.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_4a3ad9() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ldexp_4a3ad9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_4a3ad9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_4a3ad9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_4a3ad9() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ldexp_4a3ad9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_4a3ad9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_4a3ad9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_4a3ad9() {
+  vec3 res = vec3(2.0f);
+}
+void main() {
+  ldexp_4a3ad9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_4a3ad9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_4a3ad9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.ir.glsl
index 6c6485e..45dfcf0 100644
--- a/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/593ff3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_593ff3() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = ldexp(arg_0, ivec3(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_593ff3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_593ff3() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = ldexp(arg_0, ivec3(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_593ff3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_593ff3() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = ldexp(arg_0, ivec3(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_593ff3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_593ff3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.ir.glsl
index 6c6485e..6f1e5fe 100644
--- a/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/624e0c.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_624e0c() {
+  float16_t arg_0 = 1.0hf;
+  int arg_1 = 1;
+  float16_t res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_624e0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_624e0c() {
+  float16_t arg_0 = 1.0hf;
+  int arg_1 = 1;
+  float16_t res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_624e0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t ldexp_624e0c() {
+  float16_t arg_0 = 1.0hf;
+  int arg_1 = 1;
+  float16_t res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_624e0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_624e0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.ir.glsl
index 6c6485e..6bc2129 100644
--- a/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/65a7bd.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_65a7bd() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = ldexp(arg_0, ivec4(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_65a7bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_65a7bd() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = ldexp(arg_0, ivec4(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_65a7bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_65a7bd() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = ldexp(arg_0, ivec4(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_65a7bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_65a7bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.ir.glsl
index 6c6485e..954c572 100644
--- a/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/71ebe3.wgsl.expected.ir.glsl
@@ -1,11 +1,103 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_71ebe3() {
+  int arg_1 = 1;
+  float res = ldexp(1.0f, arg_1);
+}
+void main() {
+  ldexp_71ebe3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_71ebe3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_71ebe3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_71ebe3() {
+  int arg_1 = 1;
+  float res = ldexp(1.0f, arg_1);
+}
+void main() {
+  ldexp_71ebe3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_71ebe3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_71ebe3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'main' : function already has a body 
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_71ebe3() {
+  int arg_1 = 1;
+  float res = ldexp(1.0f, arg_1);
+}
+void main() {
+  ldexp_71ebe3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_71ebe3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_71ebe3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.ir.glsl
index 6c6485e..f0b0f94 100644
--- a/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/7485ce.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_7485ce() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  ivec3 arg_1 = ivec3(1);
+  f16vec3 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7485ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_7485ce() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  ivec3 arg_1 = ivec3(1);
+  f16vec3 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7485ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_7485ce() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  ivec3 arg_1 = ivec3(1);
+  f16vec3 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7485ce();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7485ce();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.ir.glsl
index 6c6485e..2673c96 100644
--- a/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/7fa13c.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_7fa13c() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  ivec4 arg_1 = ivec4(1);
+  f16vec4 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7fa13c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_7fa13c() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  ivec4 arg_1 = ivec4(1);
+  f16vec4 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7fa13c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_7fa13c() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  ivec4 arg_1 = ivec4(1);
+  f16vec4 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_7fa13c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_7fa13c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.ir.glsl
index 6c6485e..df13f5e 100644
--- a/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/8a0c2f.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_8a0c2f() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = ldexp(arg_0, ivec4(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8a0c2f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_8a0c2f() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = ldexp(arg_0, ivec4(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8a0c2f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 ldexp_8a0c2f() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = ldexp(arg_0, ivec4(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8a0c2f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8a0c2f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.ir.glsl
index 6c6485e..5227cb7 100644
--- a/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/8e43e9.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_8e43e9() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = ldexp(arg_0, ivec3(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8e43e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_8e43e9() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = ldexp(arg_0, ivec3(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8e43e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 ldexp_8e43e9() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = ldexp(arg_0, ivec3(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_8e43e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_8e43e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.ir.glsl
index 6c6485e..00ba790 100644
--- a/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/a22679.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_a22679() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = ldexp(arg_0, ivec2(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a22679();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_a22679() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = ldexp(arg_0, ivec2(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a22679();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_a22679() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = ldexp(arg_0, ivec2(1));
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a22679();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a22679();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.ir.glsl
index 6c6485e..ed558f5 100644
--- a/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/a31cdc.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_a31cdc() {
+  vec3 arg_0 = vec3(1.0f);
+  ivec3 arg_1 = ivec3(1);
+  vec3 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a31cdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_a31cdc() {
+  vec3 arg_0 = vec3(1.0f);
+  ivec3 arg_1 = ivec3(1);
+  vec3 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a31cdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 ldexp_a31cdc() {
+  vec3 arg_0 = vec3(1.0f);
+  ivec3 arg_1 = ivec3(1);
+  vec3 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_a31cdc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_a31cdc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.ir.glsl
index 6c6485e..f6e62bc 100644
--- a/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/a6126e.wgsl.expected.ir.glsl
@@ -1,11 +1,103 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_a6126e() {
+  ivec3 arg_1 = ivec3(1);
+  vec3 res = ldexp(vec3(1.0f), arg_1);
+}
+void main() {
+  ldexp_a6126e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_a6126e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_a6126e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_a6126e() {
+  ivec3 arg_1 = ivec3(1);
+  vec3 res = ldexp(vec3(1.0f), arg_1);
+}
+void main() {
+  ldexp_a6126e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_a6126e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_a6126e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'main' : function already has a body 
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_a6126e() {
+  ivec3 arg_1 = ivec3(1);
+  vec3 res = ldexp(vec3(1.0f), arg_1);
+}
+void main() {
+  ldexp_a6126e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_a6126e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_a6126e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.ir.glsl
index 6c6485e..23057e5 100644
--- a/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/abd718.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_abd718() {
+  vec2 arg_0 = vec2(1.0f);
+  ivec2 arg_1 = ivec2(1);
+  vec2 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_abd718();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_abd718() {
+  vec2 arg_0 = vec2(1.0f);
+  ivec2 arg_1 = ivec2(1);
+  vec2 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_abd718();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 ldexp_abd718() {
+  vec2 arg_0 = vec2(1.0f);
+  ivec2 arg_1 = ivec2(1);
+  vec2 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_abd718();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_abd718();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.ir.glsl
index 6c6485e..e0a86e7 100644
--- a/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/c9d0b7.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_c9d0b7() {
+  float arg_0 = 1.0f;
+  float res = ldexp(arg_0, 1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_c9d0b7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_c9d0b7() {
+  float arg_0 = 1.0f;
+  float res = ldexp(arg_0, 1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_c9d0b7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_c9d0b7() {
+  float arg_0 = 1.0f;
+  float res = ldexp(arg_0, 1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_c9d0b7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_c9d0b7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.ir.glsl
index d4bb1c9..12cd25c 100644
--- a/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/cb0faf.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_cb0faf() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ldexp_cb0faf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_cb0faf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_cb0faf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_cb0faf() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ldexp_cb0faf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_cb0faf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_cb0faf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_cb0faf() {
+  vec4 res = vec4(2.0f);
+}
+void main() {
+  ldexp_cb0faf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_cb0faf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_cb0faf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.ir.glsl
index 6c6485e..6a51d2c 100644
--- a/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/cc9cde.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_cc9cde() {
+  vec4 arg_0 = vec4(1.0f);
+  ivec4 arg_1 = ivec4(1);
+  vec4 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_cc9cde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_cc9cde() {
+  vec4 arg_0 = vec4(1.0f);
+  ivec4 arg_1 = ivec4(1);
+  vec4 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_cc9cde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 ldexp_cc9cde() {
+  vec4 arg_0 = vec4(1.0f);
+  ivec4 arg_1 = ivec4(1);
+  vec4 res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_cc9cde();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_cc9cde();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.ir.glsl
index 6c6485e..890054b 100644
--- a/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/db8b49.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_db8b49() {
+  float arg_0 = 1.0f;
+  int arg_1 = 1;
+  float res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_db8b49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_db8b49() {
+  float arg_0 = 1.0f;
+  int arg_1 = 1;
+  float res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_db8b49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float ldexp_db8b49() {
+  float arg_0 = 1.0f;
+  int arg_1 = 1;
+  float res = ldexp(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = ldexp_db8b49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = ldexp_db8b49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.ir.glsl
index d4bb1c9..1c7d595 100644
--- a/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/ldexp/fdbc7b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_fdbc7b() {
+  float res = 2.0f;
+}
+void main() {
+  ldexp_fdbc7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_fdbc7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_fdbc7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_fdbc7b() {
+  float res = 2.0f;
+}
+void main() {
+  ldexp_fdbc7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_fdbc7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_fdbc7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void ldexp_fdbc7b() {
+  float res = 2.0f;
+}
+void main() {
+  ldexp_fdbc7b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  ldexp_fdbc7b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  ldexp_fdbc7b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/056071.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/056071.wgsl.expected.ir.glsl
index 6c6485e..2203f96 100644
--- a/test/tint/builtins/gen/var/length/056071.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/056071.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_056071() {
+  vec3 arg_0 = vec3(0.0f);
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_056071();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_056071();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_056071();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_056071() {
+  vec3 arg_0 = vec3(0.0f);
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_056071();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_056071();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_056071();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_056071() {
+  vec3 arg_0 = vec3(0.0f);
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_056071();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_056071();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_056071();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.ir.glsl
index 6c6485e..1bb9407 100644
--- a/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/3f0e13.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_3f0e13() {
+  f16vec2 arg_0 = f16vec2(0.0hf);
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_3f0e13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_3f0e13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_3f0e13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_3f0e13() {
+  f16vec2 arg_0 = f16vec2(0.0hf);
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_3f0e13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_3f0e13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_3f0e13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_3f0e13() {
+  f16vec2 arg_0 = f16vec2(0.0hf);
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_3f0e13();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_3f0e13();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_3f0e13();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/555aba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/555aba.wgsl.expected.ir.glsl
index d4bb1c9..6e8b054 100644
--- a/test/tint/builtins/gen/var/length/555aba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/555aba.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_555aba() {
+  float res = 0.0f;
+}
+void main() {
+  length_555aba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_555aba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_555aba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_555aba() {
+  float res = 0.0f;
+}
+void main() {
+  length_555aba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_555aba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_555aba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_555aba() {
+  float res = 0.0f;
+}
+void main() {
+  length_555aba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_555aba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_555aba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.ir.glsl
index 6c6485e..c15fc91 100644
--- a/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/5b1a9b.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_5b1a9b() {
+  f16vec4 arg_0 = f16vec4(0.0hf);
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_5b1a9b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_5b1a9b() {
+  f16vec4 arg_0 = f16vec4(0.0hf);
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_5b1a9b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_5b1a9b() {
+  f16vec4 arg_0 = f16vec4(0.0hf);
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_5b1a9b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_5b1a9b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/602a17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/602a17.wgsl.expected.ir.glsl
index 6c6485e..48152a7 100644
--- a/test/tint/builtins/gen/var/length/602a17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/602a17.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_602a17() {
+  float arg_0 = 0.0f;
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_602a17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_602a17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_602a17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_602a17() {
+  float arg_0 = 0.0f;
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_602a17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_602a17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_602a17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_602a17() {
+  float arg_0 = 0.0f;
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_602a17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_602a17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_602a17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.ir.glsl
index d4bb1c9..e2680cf 100644
--- a/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/7b4741.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_7b4741() {
+  float res = 0.0f;
+}
+void main() {
+  length_7b4741();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_7b4741();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_7b4741();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_7b4741() {
+  float res = 0.0f;
+}
+void main() {
+  length_7b4741();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_7b4741();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_7b4741();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_7b4741() {
+  float res = 0.0f;
+}
+void main() {
+  length_7b4741();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_7b4741();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_7b4741();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.ir.glsl
index d4bb1c9..c1c8dc4 100644
--- a/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/936ad5.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_936ad5() {
+  float res = 0.0f;
+}
+void main() {
+  length_936ad5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_936ad5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_936ad5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_936ad5() {
+  float res = 0.0f;
+}
+void main() {
+  length_936ad5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_936ad5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_936ad5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_936ad5() {
+  float res = 0.0f;
+}
+void main() {
+  length_936ad5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_936ad5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_936ad5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.ir.glsl
index 6c6485e..5b0150a 100644
--- a/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/afde8b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_afde8b() {
+  vec2 arg_0 = vec2(0.0f);
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_afde8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_afde8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_afde8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_afde8b() {
+  vec2 arg_0 = vec2(0.0f);
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_afde8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_afde8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_afde8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_afde8b() {
+  vec2 arg_0 = vec2(0.0f);
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_afde8b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_afde8b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_afde8b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.ir.glsl
index 6c6485e..9abbd1f 100644
--- a/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/ba16d6.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_ba16d6() {
+  f16vec3 arg_0 = f16vec3(0.0hf);
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_ba16d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_ba16d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_ba16d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_ba16d6() {
+  f16vec3 arg_0 = f16vec3(0.0hf);
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_ba16d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_ba16d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_ba16d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_ba16d6() {
+  f16vec3 arg_0 = f16vec3(0.0hf);
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_ba16d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_ba16d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_ba16d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/becebf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/becebf.wgsl.expected.ir.glsl
index 6c6485e..582cf64 100644
--- a/test/tint/builtins/gen/var/length/becebf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/becebf.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_becebf() {
+  vec4 arg_0 = vec4(0.0f);
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_becebf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_becebf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_becebf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_becebf() {
+  vec4 arg_0 = vec4(0.0f);
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_becebf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_becebf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_becebf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float length_becebf() {
+  vec4 arg_0 = vec4(0.0f);
+  float res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_becebf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_becebf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_becebf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/c158da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/c158da.wgsl.expected.ir.glsl
index 6c6485e..6fc8b7c 100644
--- a/test/tint/builtins/gen/var/length/c158da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/c158da.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_c158da() {
+  float16_t arg_0 = 0.0hf;
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_c158da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_c158da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_c158da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_c158da() {
+  float16_t arg_0 = 0.0hf;
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_c158da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_c158da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_c158da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t length_c158da() {
+  float16_t arg_0 = 0.0hf;
+  float16_t res = length(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = length_c158da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = length_c158da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = length_c158da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.ir.glsl
index d4bb1c9..f4534bc 100644
--- a/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/length/c2c544.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_c2c544() {
+  float res = 0.0f;
+}
+void main() {
+  length_c2c544();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_c2c544();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_c2c544();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_c2c544() {
+  float res = 0.0f;
+}
+void main() {
+  length_c2c544();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_c2c544();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_c2c544();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void length_c2c544() {
+  float res = 0.0f;
+}
+void main() {
+  length_c2c544();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  length_c2c544();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  length_c2c544();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.ir.glsl
index 6c6485e..7e937f2 100644
--- a/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/3da25a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log_3da25a() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_3da25a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_3da25a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_3da25a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log_3da25a() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_3da25a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_3da25a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_3da25a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log_3da25a() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_3da25a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_3da25a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_3da25a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/655989.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/655989.wgsl.expected.ir.glsl
index d4bb1c9..c89faac 100644
--- a/test/tint/builtins/gen/var/log/655989.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/655989.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_655989() {
+  float res = 0.0f;
+}
+void main() {
+  log_655989();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_655989();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_655989();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_655989() {
+  float res = 0.0f;
+}
+void main() {
+  log_655989();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_655989();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_655989();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_655989() {
+  float res = 0.0f;
+}
+void main() {
+  log_655989();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_655989();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_655989();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.ir.glsl
index d4bb1c9..e306295 100644
--- a/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/697e1d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_697e1d() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log_697e1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_697e1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_697e1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_697e1d() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log_697e1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_697e1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_697e1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_697e1d() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log_697e1d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_697e1d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_697e1d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.ir.glsl
index 6c6485e..d43b0c6 100644
--- a/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/6ff86f.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log_6ff86f() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_6ff86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_6ff86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_6ff86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log_6ff86f() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_6ff86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_6ff86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_6ff86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log_6ff86f() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_6ff86f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_6ff86f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_6ff86f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.ir.glsl
index 6c6485e..599a0ff 100644
--- a/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/7114a6.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log_7114a6() {
+  float arg_0 = 1.0f;
+  float res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_7114a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_7114a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_7114a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log_7114a6() {
+  float arg_0 = 1.0f;
+  float res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_7114a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_7114a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_7114a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log_7114a6() {
+  float arg_0 = 1.0f;
+  float res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_7114a6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_7114a6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_7114a6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.ir.glsl
index 6c6485e..f0fa0e1 100644
--- a/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/8f0e32.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log_8f0e32() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_8f0e32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_8f0e32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_8f0e32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log_8f0e32() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_8f0e32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_8f0e32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_8f0e32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log_8f0e32() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_8f0e32();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_8f0e32();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_8f0e32();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.ir.glsl
index 6c6485e..05c224c 100644
--- a/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/b2ce28.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log_b2ce28() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_b2ce28();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_b2ce28();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_b2ce28();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log_b2ce28() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_b2ce28();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_b2ce28();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_b2ce28();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log_b2ce28() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_b2ce28();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_b2ce28();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_b2ce28();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.ir.glsl
index d4bb1c9..d68197c 100644
--- a/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/b8088d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_b8088d() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log_b8088d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_b8088d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_b8088d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_b8088d() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log_b8088d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_b8088d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_b8088d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_b8088d() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log_b8088d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_b8088d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_b8088d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.ir.glsl
index 6c6485e..d29461d 100644
--- a/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/c9f489.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log_c9f489() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_c9f489();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_c9f489();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_c9f489();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log_c9f489() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_c9f489();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_c9f489();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_c9f489();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log_c9f489() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_c9f489();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_c9f489();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_c9f489();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.ir.glsl
index 6c6485e..2118941 100644
--- a/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/cdbdc1.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log_cdbdc1() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_cdbdc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log_cdbdc1() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_cdbdc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log_cdbdc1() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_cdbdc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_cdbdc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.ir.glsl
index 6c6485e..a0d88ac 100644
--- a/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/f4c570.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log_f4c570() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_f4c570();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_f4c570();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_f4c570();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log_f4c570() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_f4c570();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_f4c570();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_f4c570();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log_f4c570() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = log(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log_f4c570();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log_f4c570();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log_f4c570();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.ir.glsl
index d4bb1c9..35b66ec 100644
--- a/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log/f60cc7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_f60cc7() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log_f60cc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_f60cc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_f60cc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_f60cc7() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log_f60cc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_f60cc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_f60cc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log_f60cc7() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log_f60cc7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log_f60cc7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log_f60cc7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.ir.glsl
index d4bb1c9..d281732 100644
--- a/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/0fbd39.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_0fbd39() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log2_0fbd39();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_0fbd39();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_0fbd39();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_0fbd39() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log2_0fbd39();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_0fbd39();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_0fbd39();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_0fbd39() {
+  vec3 res = vec3(0.0f);
+}
+void main() {
+  log2_0fbd39();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_0fbd39();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_0fbd39();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.ir.glsl
index 6c6485e..adb8ab1 100644
--- a/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/38b478.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log2_38b478() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_38b478();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_38b478();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_38b478();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log2_38b478() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_38b478();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_38b478();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_38b478();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 log2_38b478() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_38b478();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_38b478();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_38b478();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.ir.glsl
index 6c6485e..bf6cfa2 100644
--- a/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/4036ed.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log2_4036ed() {
+  float arg_0 = 1.0f;
+  float res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_4036ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_4036ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_4036ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log2_4036ed() {
+  float arg_0 = 1.0f;
+  float res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_4036ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_4036ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_4036ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float log2_4036ed() {
+  float arg_0 = 1.0f;
+  float res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_4036ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_4036ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_4036ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.ir.glsl
index d4bb1c9..1913b73 100644
--- a/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/5b464b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_5b464b() {
+  float res = 0.0f;
+}
+void main() {
+  log2_5b464b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_5b464b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_5b464b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_5b464b() {
+  float res = 0.0f;
+}
+void main() {
+  log2_5b464b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_5b464b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_5b464b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_5b464b() {
+  float res = 0.0f;
+}
+void main() {
+  log2_5b464b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_5b464b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_5b464b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.ir.glsl
index d4bb1c9..6b1d943 100644
--- a/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/6b8954.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_6b8954() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log2_6b8954();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_6b8954();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_6b8954();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_6b8954() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log2_6b8954();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_6b8954();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_6b8954();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_6b8954() {
+  vec2 res = vec2(0.0f);
+}
+void main() {
+  log2_6b8954();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_6b8954();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_6b8954();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/776088.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/776088.wgsl.expected.ir.glsl
index 6c6485e..bec3a0f 100644
--- a/test/tint/builtins/gen/var/log2/776088.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/776088.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log2_776088() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_776088();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_776088();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_776088();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log2_776088() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_776088();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_776088();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_776088();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 log2_776088() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_776088();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_776088();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_776088();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.ir.glsl
index 6c6485e..7735d5a 100644
--- a/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/8c10b3.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log2_8c10b3() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_8c10b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log2_8c10b3() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_8c10b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t log2_8c10b3() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_8c10b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_8c10b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/902988.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/902988.wgsl.expected.ir.glsl
index 6c6485e..84b6bdf 100644
--- a/test/tint/builtins/gen/var/log2/902988.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/902988.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log2_902988() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_902988();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_902988();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_902988();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log2_902988() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_902988();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_902988();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_902988();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 log2_902988() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_902988();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_902988();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_902988();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.ir.glsl
index d4bb1c9..fa83fbd 100644
--- a/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/a52bbb.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_a52bbb() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log2_a52bbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_a52bbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_a52bbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_a52bbb() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log2_a52bbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_a52bbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_a52bbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void log2_a52bbb() {
+  vec4 res = vec4(0.0f);
+}
+void main() {
+  log2_a52bbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  log2_a52bbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  log2_a52bbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.ir.glsl
index 6c6485e..f610177 100644
--- a/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/adb233.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log2_adb233() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_adb233();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_adb233();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_adb233();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log2_adb233() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_adb233();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_adb233();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_adb233();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 log2_adb233() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_adb233();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_adb233();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_adb233();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.ir.glsl
index 6c6485e..e1df6a6 100644
--- a/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/aea659.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log2_aea659() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_aea659();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_aea659();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_aea659();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log2_aea659() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_aea659();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_aea659();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_aea659();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 log2_aea659() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_aea659();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_aea659();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_aea659();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.ir.glsl
index 6c6485e..5d83a9f 100644
--- a/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/log2/fb9f0b.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log2_fb9f0b() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_fb9f0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log2_fb9f0b() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_fb9f0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 log2_fb9f0b() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = log2(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = log2_fb9f0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = log2_fb9f0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.ir.glsl
index d4bb1c9..8f78001 100644
--- a/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/067f3a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_067f3a() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  max_067f3a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_067f3a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_067f3a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_067f3a() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  max_067f3a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_067f3a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_067f3a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_067f3a() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  max_067f3a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_067f3a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_067f3a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.ir.glsl
index 6c6485e..16c907e 100644
--- a/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/0c0aae.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint max_0c0aae() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_0c0aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_0c0aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_0c0aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint max_0c0aae() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_0c0aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_0c0aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_0c0aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint max_0c0aae() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_0c0aae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_0c0aae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_0c0aae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.ir.glsl
index 6c6485e..73195e3 100644
--- a/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/111ac0.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t max_111ac0() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_111ac0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_111ac0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_111ac0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t max_111ac0() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_111ac0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_111ac0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_111ac0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t max_111ac0() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_111ac0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_111ac0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_111ac0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/19070a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/19070a.wgsl.expected.ir.glsl
index d4bb1c9..c904a1a 100644
--- a/test/tint/builtins/gen/var/max/19070a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/19070a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_19070a() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  max_19070a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_19070a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_19070a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_19070a() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  max_19070a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_19070a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_19070a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_19070a() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  max_19070a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_19070a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_19070a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.ir.glsl
index 6c6485e..64816c4 100644
--- a/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/25eafe.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 max_25eafe() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  ivec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_25eafe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_25eafe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_25eafe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 max_25eafe() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  ivec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_25eafe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_25eafe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_25eafe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 max_25eafe() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  ivec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_25eafe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_25eafe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_25eafe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/320815.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/320815.wgsl.expected.ir.glsl
index 6c6485e..f6113ab 100644
--- a/test/tint/builtins/gen/var/max/320815.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/320815.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 max_320815() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uvec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_320815();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_320815();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_320815();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 max_320815() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uvec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_320815();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_320815();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_320815();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 max_320815() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uvec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_320815();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_320815();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_320815();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/34956e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/34956e.wgsl.expected.ir.glsl
index 6c6485e..9122bc4 100644
--- a/test/tint/builtins/gen/var/max/34956e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/34956e.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 max_34956e() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_34956e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_34956e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_34956e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 max_34956e() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_34956e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_34956e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_34956e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 max_34956e() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_34956e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_34956e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_34956e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/445169.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/445169.wgsl.expected.ir.glsl
index 6c6485e..9956c8c 100644
--- a/test/tint/builtins/gen/var/max/445169.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/445169.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 max_445169() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_445169();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_445169();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_445169();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 max_445169() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_445169();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_445169();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_445169();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 max_445169() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_445169();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_445169();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_445169();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.ir.glsl
index 6c6485e..3215a3b 100644
--- a/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/44a39d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float max_44a39d() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_44a39d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_44a39d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_44a39d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float max_44a39d() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_44a39d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_44a39d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_44a39d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float max_44a39d() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_44a39d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_44a39d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_44a39d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/453e04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/453e04.wgsl.expected.ir.glsl
index 6c6485e..734eb66 100644
--- a/test/tint/builtins/gen/var/max/453e04.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/453e04.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 max_453e04() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uvec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_453e04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_453e04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_453e04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 max_453e04() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uvec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_453e04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_453e04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_453e04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 max_453e04() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uvec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_453e04();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_453e04();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_453e04();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/462050.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/462050.wgsl.expected.ir.glsl
index 6c6485e..f61f0af 100644
--- a/test/tint/builtins/gen/var/max/462050.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/462050.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 max_462050() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_462050();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_462050();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_462050();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 max_462050() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_462050();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_462050();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_462050();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 max_462050() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_462050();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_462050();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_462050();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/482d23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/482d23.wgsl.expected.ir.glsl
index d4bb1c9..24c03df 100644
--- a/test/tint/builtins/gen/var/max/482d23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/482d23.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_482d23() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  max_482d23();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_482d23();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_482d23();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_482d23() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  max_482d23();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_482d23();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_482d23();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_482d23() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  max_482d23();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_482d23();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_482d23();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.ir.glsl
index 6c6485e..c3f65dd 100644
--- a/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/4883ac.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 max_4883ac() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_4883ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_4883ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_4883ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 max_4883ac() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_4883ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_4883ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_4883ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 max_4883ac() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_4883ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_4883ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_4883ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.ir.glsl
index d4bb1c9..9005aff 100644
--- a/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/4bbff2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_4bbff2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  max_4bbff2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_4bbff2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_4bbff2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_4bbff2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  max_4bbff2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_4bbff2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_4bbff2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_4bbff2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  max_4bbff2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_4bbff2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_4bbff2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.ir.glsl
index 6c6485e..19b7671 100644
--- a/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/85e6bc.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 max_85e6bc() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  ivec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_85e6bc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_85e6bc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_85e6bc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 max_85e6bc() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  ivec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_85e6bc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_85e6bc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_85e6bc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 max_85e6bc() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  ivec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_85e6bc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_85e6bc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_85e6bc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.ir.glsl
index d4bb1c9..997dd73 100644
--- a/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/a1b196.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_a1b196() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  max_a1b196();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_a1b196();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_a1b196();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_a1b196() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  max_a1b196();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_a1b196();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_a1b196();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_a1b196() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  max_a1b196();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_a1b196();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_a1b196();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/a93419.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/a93419.wgsl.expected.ir.glsl
index 6c6485e..80abf9f 100644
--- a/test/tint/builtins/gen/var/max/a93419.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/a93419.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 max_a93419() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_a93419();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_a93419();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_a93419();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 max_a93419() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_a93419();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_a93419();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_a93419();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 max_a93419() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_a93419();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_a93419();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_a93419();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.ir.glsl
index 6c6485e..e8c9ac9 100644
--- a/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/b1b73a.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 max_b1b73a() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uvec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_b1b73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_b1b73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_b1b73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 max_b1b73a() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uvec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_b1b73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_b1b73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_b1b73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 max_b1b73a() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uvec3 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_b1b73a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_b1b73a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_b1b73a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.ir.glsl
index d4bb1c9..84ce82e 100644
--- a/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/c023dd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_c023dd() {
+  float res = 1.0f;
+}
+void main() {
+  max_c023dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_c023dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_c023dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_c023dd() {
+  float res = 1.0f;
+}
+void main() {
+  max_c023dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_c023dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_c023dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_c023dd() {
+  float res = 1.0f;
+}
+void main() {
+  max_c023dd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_c023dd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_c023dd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.ir.glsl
index d4bb1c9..8f0b2e2 100644
--- a/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/caa3d7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_caa3d7() {
+  int res = 1;
+}
+void main() {
+  max_caa3d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_caa3d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_caa3d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_caa3d7() {
+  int res = 1;
+}
+void main() {
+  max_caa3d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_caa3d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_caa3d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_caa3d7() {
+  int res = 1;
+}
+void main() {
+  max_caa3d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_caa3d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_caa3d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.ir.glsl
index 6c6485e..dd7be54 100644
--- a/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/ce7c30.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int max_ce7c30() {
+  int arg_0 = 1;
+  int arg_1 = 1;
+  int res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_ce7c30();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_ce7c30();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_ce7c30();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int max_ce7c30() {
+  int arg_0 = 1;
+  int arg_1 = 1;
+  int res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_ce7c30();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_ce7c30();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_ce7c30();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int max_ce7c30() {
+  int arg_0 = 1;
+  int arg_1 = 1;
+  int res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_ce7c30();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_ce7c30();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_ce7c30();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.ir.glsl
index d4bb1c9..f26c743 100644
--- a/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/de6b87.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_de6b87() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  max_de6b87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_de6b87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_de6b87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_de6b87() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  max_de6b87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_de6b87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_de6b87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void max_de6b87() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  max_de6b87();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  max_de6b87();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  max_de6b87();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.ir.glsl
index 6c6485e..7129d72 100644
--- a/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/e14f2b.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 max_e14f2b() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_e14f2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e14f2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e14f2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 max_e14f2b() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_e14f2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e14f2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e14f2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 max_e14f2b() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_e14f2b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e14f2b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e14f2b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.ir.glsl
index 6c6485e..e2912c5 100644
--- a/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/max/e8192f.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 max_e8192f() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  ivec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_e8192f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e8192f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e8192f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 max_e8192f() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  ivec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_e8192f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e8192f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e8192f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 max_e8192f() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  ivec2 res = max(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = max_e8192f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = max_e8192f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = max_e8192f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.ir.glsl
index 6c6485e..5254f463 100644
--- a/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/03c7e3.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 min_03c7e3() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  ivec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_03c7e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_03c7e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_03c7e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 min_03c7e3() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  ivec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_03c7e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_03c7e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_03c7e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 min_03c7e3() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 arg_1 = ivec2(1);
+  ivec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_03c7e3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_03c7e3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_03c7e3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.ir.glsl
index 6c6485e..de4a0ea 100644
--- a/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/0dc614.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 min_0dc614() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uvec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_0dc614();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_0dc614();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_0dc614();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 min_0dc614() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uvec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_0dc614();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_0dc614();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_0dc614();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 min_0dc614() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 arg_1 = uvec4(1u);
+  uvec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_0dc614();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_0dc614();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_0dc614();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/364910.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/364910.wgsl.expected.ir.glsl
index d4bb1c9..5ce11ee 100644
--- a/test/tint/builtins/gen/var/min/364910.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/364910.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_364910() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  min_364910();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_364910();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_364910();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_364910() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  min_364910();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_364910();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_364910();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_364910() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  min_364910();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_364910();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_364910();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.ir.glsl
index d4bb1c9..4d85edc 100644
--- a/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/371bd6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_371bd6() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  min_371bd6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_371bd6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_371bd6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_371bd6() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  min_371bd6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_371bd6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_371bd6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_371bd6() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  min_371bd6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_371bd6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_371bd6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.ir.glsl
index 6c6485e..08c5349 100644
--- a/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/3941e1.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 min_3941e1() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  ivec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_3941e1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_3941e1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_3941e1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 min_3941e1() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  ivec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_3941e1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_3941e1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_3941e1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 min_3941e1() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 arg_1 = ivec4(1);
+  ivec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_3941e1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_3941e1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_3941e1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.ir.glsl
index 6c6485e..fa46722 100644
--- a/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/46c5d3.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint min_46c5d3() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_46c5d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_46c5d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_46c5d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint min_46c5d3() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_46c5d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_46c5d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_46c5d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint min_46c5d3() {
+  uint arg_0 = 1u;
+  uint arg_1 = 1u;
+  uint res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_46c5d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_46c5d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_46c5d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/527b79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/527b79.wgsl.expected.ir.glsl
index d4bb1c9..8a7a715 100644
--- a/test/tint/builtins/gen/var/min/527b79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/527b79.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_527b79() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  min_527b79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_527b79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_527b79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_527b79() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  min_527b79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_527b79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_527b79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_527b79() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  min_527b79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_527b79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_527b79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/717257.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/717257.wgsl.expected.ir.glsl
index d4bb1c9..104119c 100644
--- a/test/tint/builtins/gen/var/min/717257.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/717257.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_717257() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  min_717257();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_717257();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_717257();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_717257() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  min_717257();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_717257();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_717257();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_717257() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  min_717257();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_717257();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_717257();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/794711.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/794711.wgsl.expected.ir.glsl
index d4bb1c9..2216cb1 100644
--- a/test/tint/builtins/gen/var/min/794711.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/794711.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_794711() {
+  float res = 1.0f;
+}
+void main() {
+  min_794711();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_794711();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_794711();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_794711() {
+  float res = 1.0f;
+}
+void main() {
+  min_794711();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_794711();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_794711();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_794711() {
+  float res = 1.0f;
+}
+void main() {
+  min_794711();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_794711();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_794711();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.ir.glsl
index 6c6485e..e068550 100644
--- a/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/7c710a.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 min_7c710a() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_7c710a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_7c710a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_7c710a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 min_7c710a() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_7c710a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_7c710a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_7c710a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 min_7c710a() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_7c710a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_7c710a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_7c710a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.ir.glsl
index 6c6485e..a0ec1a4 100644
--- a/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/82b28f.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 min_82b28f() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uvec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_82b28f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_82b28f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_82b28f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 min_82b28f() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uvec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_82b28f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_82b28f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_82b28f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 min_82b28f() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 arg_1 = uvec2(1u);
+  uvec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_82b28f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_82b28f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_82b28f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.ir.glsl
index d4bb1c9..9c75b9e 100644
--- a/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/84c9fe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_84c9fe() {
+  int res = 1;
+}
+void main() {
+  min_84c9fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_84c9fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_84c9fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_84c9fe() {
+  int res = 1;
+}
+void main() {
+  min_84c9fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_84c9fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_84c9fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_84c9fe() {
+  int res = 1;
+}
+void main() {
+  min_84c9fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_84c9fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_84c9fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.ir.glsl
index 6c6485e..41c636a4 100644
--- a/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/93cfc4.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 min_93cfc4() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_93cfc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_93cfc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_93cfc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 min_93cfc4() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_93cfc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_93cfc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_93cfc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 min_93cfc4() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_93cfc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_93cfc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_93cfc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/98e797.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/98e797.wgsl.expected.ir.glsl
index d4bb1c9..dc3acec 100644
--- a/test/tint/builtins/gen/var/min/98e797.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/98e797.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_98e797() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  min_98e797();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_98e797();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_98e797();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_98e797() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  min_98e797();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_98e797();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_98e797();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_98e797() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  min_98e797();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_98e797();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_98e797();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.ir.glsl
index 6c6485e..2ee3dc0 100644
--- a/test/tint/builtins/gen/var/min/a45171.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/a45171.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 min_a45171() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  ivec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_a45171();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_a45171();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_a45171();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 min_a45171() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  ivec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_a45171();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_a45171();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_a45171();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 min_a45171() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 arg_1 = ivec3(1);
+  ivec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_a45171();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_a45171();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_a45171();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.ir.glsl
index 6c6485e..e4f10c3 100644
--- a/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/aa28ad.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 min_aa28ad() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_aa28ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_aa28ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_aa28ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 min_aa28ad() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_aa28ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_aa28ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_aa28ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 min_aa28ad() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_aa28ad();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_aa28ad();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_aa28ad();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.ir.glsl
index 6c6485e..84c8c8c 100644
--- a/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/ab0acd.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 min_ab0acd() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_ab0acd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ab0acd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ab0acd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 min_ab0acd() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_ab0acd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ab0acd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ab0acd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 min_ab0acd() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_ab0acd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ab0acd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ab0acd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.ir.glsl
index 6c6485e..934ccff 100644
--- a/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/ac84d6.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t min_ac84d6() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_ac84d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ac84d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ac84d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t min_ac84d6() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_ac84d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ac84d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ac84d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t min_ac84d6() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_ac84d6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_ac84d6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_ac84d6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/af326d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/af326d.wgsl.expected.ir.glsl
index 6c6485e..eca15af 100644
--- a/test/tint/builtins/gen/var/min/af326d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/af326d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float min_af326d() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_af326d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_af326d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_af326d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float min_af326d() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_af326d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_af326d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_af326d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float min_af326d() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_af326d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_af326d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_af326d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/af364e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/af364e.wgsl.expected.ir.glsl
index d4bb1c9..37c5a1c 100644
--- a/test/tint/builtins/gen/var/min/af364e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/af364e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_af364e() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  min_af364e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_af364e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_af364e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_af364e() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  min_af364e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_af364e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_af364e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void min_af364e() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  min_af364e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  min_af364e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  min_af364e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.ir.glsl
index 6c6485e..15e4603 100644
--- a/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/c70bb7.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 min_c70bb7() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uvec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_c70bb7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c70bb7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c70bb7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 min_c70bb7() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uvec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_c70bb7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c70bb7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c70bb7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 min_c70bb7() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 arg_1 = uvec3(1u);
+  uvec3 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_c70bb7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c70bb7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c70bb7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.ir.glsl
index 6c6485e..5ecc0a0 100644
--- a/test/tint/builtins/gen/var/min/c73147.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/c73147.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int min_c73147() {
+  int arg_0 = 1;
+  int arg_1 = 1;
+  int res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_c73147();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c73147();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c73147();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int min_c73147() {
+  int arg_0 = 1;
+  int arg_1 = 1;
+  int res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_c73147();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c73147();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c73147();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int min_c73147() {
+  int arg_0 = 1;
+  int arg_1 = 1;
+  int res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_c73147();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c73147();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c73147();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.ir.glsl
index 6c6485e..8088fb3 100644
--- a/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/c76fa6.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 min_c76fa6() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_c76fa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c76fa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c76fa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 min_c76fa6() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_c76fa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c76fa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c76fa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 min_c76fa6() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_c76fa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_c76fa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_c76fa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.ir.glsl
index 6c6485e..ff65aee 100644
--- a/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/min/e780f9.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 min_e780f9() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_e780f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_e780f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_e780f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 min_e780f9() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_e780f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_e780f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_e780f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 min_e780f9() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = min(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = min_e780f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = min_e780f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = min_e780f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.ir.glsl
index 6c6485e..7418f56 100644
--- a/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/0c8c33.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_0c8c33() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_0c8c33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_0c8c33() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_0c8c33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_0c8c33() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 arg_2 = vec3(1.0f);
+  vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_0c8c33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_0c8c33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.ir.glsl
index 6c6485e..ea86a15 100644
--- a/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/1faeb1.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_1faeb1() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float arg_2 = 1.0f;
+  vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_1faeb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_1faeb1() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float arg_2 = 1.0f;
+  vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_1faeb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_1faeb1() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float arg_2 = 1.0f;
+  vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_1faeb1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_1faeb1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.ir.glsl
index d4bb1c9..dddc3d2 100644
--- a/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/275cac.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_275cac() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_275cac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_275cac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_275cac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_275cac() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_275cac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_275cac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_275cac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_275cac() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_275cac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_275cac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_275cac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.ir.glsl
index 6c6485e..683514d 100644
--- a/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/2fadab.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_2fadab() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float arg_2 = 1.0f;
+  vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_2fadab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_2fadab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_2fadab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_2fadab() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float arg_2 = 1.0f;
+  vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_2fadab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_2fadab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_2fadab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_2fadab() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float arg_2 = 1.0f;
+  vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_2fadab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_2fadab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_2fadab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.ir.glsl
index d4bb1c9..513d87e 100644
--- a/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/30de36.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_30de36() {
+  float res = 1.0f;
+}
+void main() {
+  mix_30de36();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_30de36();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_30de36();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_30de36() {
+  float res = 1.0f;
+}
+void main() {
+  mix_30de36();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_30de36();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_30de36();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_30de36() {
+  float res = 1.0f;
+}
+void main() {
+  mix_30de36();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_30de36();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_30de36();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/315264.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/315264.wgsl.expected.ir.glsl
index 6c6485e..adef17b 100644
--- a/test/tint/builtins/gen/var/mix/315264.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/315264.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_315264() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float arg_2 = 1.0f;
+  vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_315264();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_315264();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_315264();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_315264() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float arg_2 = 1.0f;
+  vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_315264();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_315264();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_315264();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 mix_315264() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float arg_2 = 1.0f;
+  vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_315264();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_315264();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_315264();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.ir.glsl
index d4bb1c9..99adf35 100644
--- a/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/343c49.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_343c49() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_343c49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_343c49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_343c49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_343c49() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_343c49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_343c49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_343c49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_343c49() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_343c49();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_343c49();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_343c49();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.ir.glsl
index 6c6485e..f000ea0 100644
--- a/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/38cbbb.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t mix_38cbbb() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t arg_2 = 1.0hf;
+  float16_t res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_38cbbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t mix_38cbbb() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t arg_2 = 1.0hf;
+  float16_t res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_38cbbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t mix_38cbbb() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t arg_2 = 1.0hf;
+  float16_t res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_38cbbb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_38cbbb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.ir.glsl
index d4bb1c9..eec2aad 100644
--- a/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/42d11d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_42d11d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_42d11d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_42d11d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_42d11d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_42d11d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_42d11d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_42d11d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_42d11d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_42d11d() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_42d11d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_42d11d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_42d11d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.ir.glsl
index 6c6485e..14b255f 100644
--- a/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/4f0b5e.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float mix_4f0b5e() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float arg_2 = 1.0f;
+  float res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_4f0b5e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float mix_4f0b5e() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float arg_2 = 1.0f;
+  float res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_4f0b5e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float mix_4f0b5e() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float arg_2 = 1.0f;
+  float res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_4f0b5e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_4f0b5e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.ir.glsl
index 6c6485e..3a6a9bf 100644
--- a/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/63f2fd.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_63f2fd() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_63f2fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_63f2fd() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_63f2fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_63f2fd() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 arg_2 = f16vec3(1.0hf);
+  f16vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_63f2fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_63f2fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.ir.glsl
index 6c6485e..de6c283 100644
--- a/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/6f8adc.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_6f8adc() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_6f8adc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_6f8adc() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_6f8adc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 mix_6f8adc() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 arg_2 = vec2(1.0f);
+  vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_6f8adc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_6f8adc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.ir.glsl
index d4bb1c9..1642920 100644
--- a/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/98007a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_98007a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_98007a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_98007a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_98007a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_98007a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_98007a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_98007a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_98007a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_98007a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  mix_98007a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_98007a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_98007a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.ir.glsl
index 6c6485e..9b0882e 100644
--- a/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/98ee3e.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_98ee3e() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_98ee3e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_98ee3e() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_98ee3e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_98ee3e() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 arg_2 = f16vec2(1.0hf);
+  f16vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_98ee3e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_98ee3e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.ir.glsl
index d4bb1c9..8bf82d2 100644
--- a/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/9c2681.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_9c2681() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_9c2681();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_9c2681();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_9c2681();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_9c2681() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_9c2681();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_9c2681();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_9c2681();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_9c2681() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  mix_9c2681();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_9c2681();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_9c2681();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.ir.glsl
index 6c6485e..5ef4ef0 100644
--- a/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/c1aec6.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_c1aec6() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c1aec6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_c1aec6() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c1aec6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 mix_c1aec6() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec3 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c1aec6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c1aec6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.ir.glsl
index 6c6485e..1321113 100644
--- a/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/c37ede.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_c37ede() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c37ede();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c37ede();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c37ede();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_c37ede() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c37ede();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c37ede();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c37ede();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 mix_c37ede() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 arg_2 = vec4(1.0f);
+  vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_c37ede();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_c37ede();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_c37ede();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.ir.glsl
index 6c6485e..f6bd95b 100644
--- a/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/e46a83.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_e46a83() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_e46a83();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_e46a83();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_e46a83();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_e46a83() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_e46a83();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_e46a83();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_e46a83();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 mix_e46a83() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec2 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_e46a83();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_e46a83();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_e46a83();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.ir.glsl
index 6c6485e..d3eac74 100644
--- a/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/ee2468.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_ee2468() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_ee2468();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_ee2468();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_ee2468();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_ee2468() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_ee2468();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_ee2468();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_ee2468();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_ee2468() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 arg_2 = f16vec4(1.0hf);
+  f16vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_ee2468();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_ee2468();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_ee2468();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.ir.glsl
index d4bb1c9..985e57a 100644
--- a/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/ef3575.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_ef3575() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_ef3575();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_ef3575();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_ef3575();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_ef3575() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_ef3575();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_ef3575();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_ef3575();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void mix_ef3575() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  mix_ef3575();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  mix_ef3575();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  mix_ef3575();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.ir.glsl
index 6c6485e..19aab6c 100644
--- a/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/mix/f1a543.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_f1a543() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_f1a543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_f1a543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_f1a543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_f1a543() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_f1a543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_f1a543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_f1a543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 mix_f1a543() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec4 res = mix(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = mix_f1a543();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = mix_f1a543();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = mix_f1a543();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.ir.glsl
index 6c6485e..7c5890b 100644
--- a/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/2d50da.wgsl.expected.ir.glsl
@@ -1,11 +1,120 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_2d50da() {
+  vec2 arg_0 = vec2(-1.5f);
+  modf_result_vec2_f32 res = modf(arg_0);
+}
+void main() {
+  modf_2d50da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_2d50da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_2d50da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_2d50da() {
+  vec2 arg_0 = vec2(-1.5f);
+  modf_result_vec2_f32 res = modf(arg_0);
+}
+void main() {
+  modf_2d50da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_2d50da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_2d50da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'modf' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 2-component vector of float fract,  global highp 2-component vector of float whole}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_2d50da() {
+  vec2 arg_0 = vec2(-1.5f);
+  modf_result_vec2_f32 res = modf(arg_0);
+}
+void main() {
+  modf_2d50da();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_2d50da();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_2d50da();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'modf' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 2-component vector of float fract,  global highp 2-component vector of float whole}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/45005f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/45005f.wgsl.expected.ir.glsl
index 6c6485e..57dd8cf 100644
--- a/test/tint/builtins/gen/var/modf/45005f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/45005f.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec3_f16 {
+  f16vec3 fract;
+  f16vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_45005f() {
+  f16vec3 arg_0 = f16vec3(-1.5hf);
+  modf_result_vec3_f16 res = modf(arg_0);
+}
+void main() {
+  modf_45005f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_45005f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_45005f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 3-component vector of float16_t fract,  global 3-component vector of float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec3_f16 {
+  f16vec3 fract;
+  f16vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_45005f() {
+  f16vec3 arg_0 = f16vec3(-1.5hf);
+  modf_result_vec3_f16 res = modf(arg_0);
+}
+void main() {
+  modf_45005f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_45005f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_45005f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 3-component vector of float16_t fract,  global 3-component vector of float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec3_f16 {
+  f16vec3 fract;
+  f16vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_45005f() {
+  f16vec3 arg_0 = f16vec3(-1.5hf);
+  modf_result_vec3_f16 res = modf(arg_0);
+}
+void main() {
+  modf_45005f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_45005f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_45005f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 3-component vector of float16_t fract,  global 3-component vector of float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.ir.glsl
index 6c6485e..527fbe0 100644
--- a/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/4bfced.wgsl.expected.ir.glsl
@@ -1,11 +1,120 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_4bfced() {
+  vec4 arg_0 = vec4(-1.5f);
+  modf_result_vec4_f32 res = modf(arg_0);
+}
+void main() {
+  modf_4bfced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_4bfced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_4bfced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_4bfced() {
+  vec4 arg_0 = vec4(-1.5f);
+  modf_result_vec4_f32 res = modf(arg_0);
+}
+void main() {
+  modf_4bfced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_4bfced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_4bfced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'modf' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 4-component vector of float fract,  global highp 4-component vector of float whole}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_4bfced() {
+  vec4 arg_0 = vec4(-1.5f);
+  modf_result_vec4_f32 res = modf(arg_0);
+}
+void main() {
+  modf_4bfced();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_4bfced();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_4bfced();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'modf' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 4-component vector of float fract,  global highp 4-component vector of float whole}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.ir.glsl
index 6c6485e..0d415c3 100644
--- a/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/5ea256.wgsl.expected.ir.glsl
@@ -1,11 +1,120 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_5ea256() {
+  vec3 arg_0 = vec3(-1.5f);
+  modf_result_vec3_f32 res = modf(arg_0);
+}
+void main() {
+  modf_5ea256();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_5ea256();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_5ea256();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_5ea256() {
+  vec3 arg_0 = vec3(-1.5f);
+  modf_result_vec3_f32 res = modf(arg_0);
+}
+void main() {
+  modf_5ea256();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_5ea256();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_5ea256();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'modf' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 3-component vector of float fract,  global highp 3-component vector of float whole}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_5ea256() {
+  vec3 arg_0 = vec3(-1.5f);
+  modf_result_vec3_f32 res = modf(arg_0);
+}
+void main() {
+  modf_5ea256();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_5ea256();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_5ea256();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'modf' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 3-component vector of float fract,  global highp 3-component vector of float whole}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.ir.glsl
index d4bb1c9..9be67e6 100644
--- a/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/68d8ee.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_68d8ee() {
+  modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f));
+}
+void main() {
+  modf_68d8ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_68d8ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_68d8ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_68d8ee() {
+  modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f));
+}
+void main() {
+  modf_68d8ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_68d8ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_68d8ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec3_f32 {
+  vec3 fract;
+  vec3 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_68d8ee() {
+  modf_result_vec3_f32 res = modf_result_vec3_f32(vec3(-0.5f), vec3(-1.0f));
+}
+void main() {
+  modf_68d8ee();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_68d8ee();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_68d8ee();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.ir.glsl
index d4bb1c9..f928d88 100644
--- a/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/732aa6.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_732aa6() {
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f));
+}
+void main() {
+  modf_732aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_732aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_732aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_732aa6() {
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f));
+}
+void main() {
+  modf_732aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_732aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_732aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_732aa6() {
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(-0.5f), vec2(-1.0f));
+}
+void main() {
+  modf_732aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_732aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_732aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/8dbbbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/8dbbbf.wgsl.expected.ir.glsl
index 6c6485e..df644e9 100644
--- a/test/tint/builtins/gen/var/modf/8dbbbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/8dbbbf.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_f16 {
+  float16_t fract;
+  float16_t whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_8dbbbf() {
+  float16_t arg_0 = -1.5hf;
+  modf_result_f16 res = modf(arg_0);
+}
+void main() {
+  modf_8dbbbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_8dbbbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_8dbbbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global float16_t fract,  global float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_f16 {
+  float16_t fract;
+  float16_t whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_8dbbbf() {
+  float16_t arg_0 = -1.5hf;
+  modf_result_f16 res = modf(arg_0);
+}
+void main() {
+  modf_8dbbbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_8dbbbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_8dbbbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global float16_t fract,  global float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_f16 {
+  float16_t fract;
+  float16_t whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_8dbbbf() {
+  float16_t arg_0 = -1.5hf;
+  modf_result_f16 res = modf(arg_0);
+}
+void main() {
+  modf_8dbbbf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_8dbbbf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_8dbbbf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global float16_t fract,  global float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/995934.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/995934.wgsl.expected.ir.glsl
index 6c6485e..31305f2 100644
--- a/test/tint/builtins/gen/var/modf/995934.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/995934.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec4_f16 {
+  f16vec4 fract;
+  f16vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_995934() {
+  f16vec4 arg_0 = f16vec4(-1.5hf);
+  modf_result_vec4_f16 res = modf(arg_0);
+}
+void main() {
+  modf_995934();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_995934();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_995934();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 4-component vector of float16_t fract,  global 4-component vector of float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec4_f16 {
+  f16vec4 fract;
+  f16vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_995934() {
+  f16vec4 arg_0 = f16vec4(-1.5hf);
+  modf_result_vec4_f16 res = modf(arg_0);
+}
+void main() {
+  modf_995934();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_995934();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_995934();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 4-component vector of float16_t fract,  global 4-component vector of float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec4_f16 {
+  f16vec4 fract;
+  f16vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_995934() {
+  f16vec4 arg_0 = f16vec4(-1.5hf);
+  modf_result_vec4_f16 res = modf(arg_0);
+}
+void main() {
+  modf_995934();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_995934();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_995934();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 4-component vector of float16_t fract,  global 4-component vector of float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/a545b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/a545b9.wgsl.expected.ir.glsl
index 6c6485e..ccc20dc 100644
--- a/test/tint/builtins/gen/var/modf/a545b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/a545b9.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec2_f16 {
+  f16vec2 fract;
+  f16vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_a545b9() {
+  f16vec2 arg_0 = f16vec2(-1.5hf);
+  modf_result_vec2_f16 res = modf(arg_0);
+}
+void main() {
+  modf_a545b9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_a545b9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_a545b9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 2-component vector of float16_t fract,  global 2-component vector of float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec2_f16 {
+  f16vec2 fract;
+  f16vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_a545b9() {
+  f16vec2 arg_0 = f16vec2(-1.5hf);
+  modf_result_vec2_f16 res = modf(arg_0);
+}
+void main() {
+  modf_a545b9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_a545b9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_a545b9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 2-component vector of float16_t fract,  global 2-component vector of float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct modf_result_vec2_f16 {
+  f16vec2 fract;
+  f16vec2 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_a545b9() {
+  f16vec2 arg_0 = f16vec2(-1.5hf);
+  modf_result_vec2_f16 res = modf(arg_0);
+}
+void main() {
+  modf_a545b9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_a545b9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_a545b9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'modf' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp structure{ global 2-component vector of float16_t fract,  global 2-component vector of float16_t whole}'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.ir.glsl
index 6c6485e..03726fc 100644
--- a/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/bbf7f7.wgsl.expected.ir.glsl
@@ -1,11 +1,120 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_bbf7f7() {
+  float arg_0 = -1.5f;
+  modf_result_f32 res = modf(arg_0);
+}
+void main() {
+  modf_bbf7f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_bbf7f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_bbf7f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_bbf7f7() {
+  float arg_0 = -1.5f;
+  modf_result_f32 res = modf(arg_0);
+}
+void main() {
+  modf_bbf7f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_bbf7f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_bbf7f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'modf' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp float fract,  global highp float whole}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_bbf7f7() {
+  float arg_0 = -1.5f;
+  modf_result_f32 res = modf(arg_0);
+}
+void main() {
+  modf_bbf7f7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_bbf7f7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_bbf7f7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'modf' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp structure{ global highp float fract,  global highp float whole}'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.ir.glsl
index d4bb1c9..7b43b0c 100644
--- a/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/c15f48.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_c15f48() {
+  modf_result_f32 res = modf_result_f32(-0.5f, -1.0f);
+}
+void main() {
+  modf_c15f48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_c15f48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_c15f48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_c15f48() {
+  modf_result_f32 res = modf_result_f32(-0.5f, -1.0f);
+}
+void main() {
+  modf_c15f48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_c15f48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_c15f48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_c15f48() {
+  modf_result_f32 res = modf_result_f32(-0.5f, -1.0f);
+}
+void main() {
+  modf_c15f48();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_c15f48();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_c15f48();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.ir.glsl
index d4bb1c9..e70681c 100644
--- a/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/modf/f3d1f9.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_f3d1f9() {
+  modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f));
+}
+void main() {
+  modf_f3d1f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_f3d1f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_f3d1f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_f3d1f9() {
+  modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f));
+}
+void main() {
+  modf_f3d1f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_f3d1f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_f3d1f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct modf_result_vec4_f32 {
+  vec4 fract;
+  vec4 whole;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void modf_f3d1f9() {
+  modf_result_vec4_f32 res = modf_result_vec4_f32(vec4(-0.5f), vec4(-1.0f));
+}
+void main() {
+  modf_f3d1f9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  modf_f3d1f9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  modf_f3d1f9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.ir.glsl
index 6c6485e..374f2b0 100644
--- a/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/normalize/39d5ec.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 normalize_39d5ec() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_39d5ec();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 normalize_39d5ec() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_39d5ec();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 normalize_39d5ec() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_39d5ec();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_39d5ec();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.ir.glsl
index d4bb1c9..52a7f07 100644
--- a/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/normalize/4eaf61.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_4eaf61() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  normalize_4eaf61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_4eaf61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_4eaf61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_4eaf61() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  normalize_4eaf61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_4eaf61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_4eaf61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_4eaf61() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  normalize_4eaf61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_4eaf61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_4eaf61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.ir.glsl
index d4bb1c9..bdb8ab3 100644
--- a/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/normalize/584e47.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_584e47() {
+  vec2 res = vec2(0.70710676908493041992f);
+}
+void main() {
+  normalize_584e47();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_584e47();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_584e47();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_584e47() {
+  vec2 res = vec2(0.70710676908493041992f);
+}
+void main() {
+  normalize_584e47();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_584e47();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_584e47();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_584e47() {
+  vec2 res = vec2(0.70710676908493041992f);
+}
+void main() {
+  normalize_584e47();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_584e47();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_584e47();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.ir.glsl
index 6c6485e..037cbf1f 100644
--- a/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/normalize/64d8c0.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 normalize_64d8c0() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_64d8c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 normalize_64d8c0() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_64d8c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 normalize_64d8c0() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_64d8c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_64d8c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.ir.glsl
index 6c6485e..6a3a0da 100644
--- a/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/normalize/7990f3.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 normalize_7990f3() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_7990f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 normalize_7990f3() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_7990f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 normalize_7990f3() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_7990f3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_7990f3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.ir.glsl
index 6c6485e..68e46ec 100644
--- a/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/normalize/9a0aab.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 normalize_9a0aab() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_9a0aab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 normalize_9a0aab() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_9a0aab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 normalize_9a0aab() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_9a0aab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_9a0aab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.ir.glsl
index 6c6485e..15e956e 100644
--- a/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/normalize/b8cb8d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 normalize_b8cb8d() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_b8cb8d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 normalize_b8cb8d() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_b8cb8d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 normalize_b8cb8d() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_b8cb8d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_b8cb8d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.ir.glsl
index d4bb1c9..266890f 100644
--- a/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/normalize/e7def8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_e7def8() {
+  vec3 res = vec3(0.57735025882720947266f);
+}
+void main() {
+  normalize_e7def8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_e7def8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_e7def8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_e7def8() {
+  vec3 res = vec3(0.57735025882720947266f);
+}
+void main() {
+  normalize_e7def8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_e7def8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_e7def8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void normalize_e7def8() {
+  vec3 res = vec3(0.57735025882720947266f);
+}
+void main() {
+  normalize_e7def8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  normalize_e7def8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  normalize_e7def8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.ir.glsl
index 6c6485e..63827cb 100644
--- a/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 normalize_fc2ef1() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_fc2ef1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 normalize_fc2ef1() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_fc2ef1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 normalize_fc2ef1() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = normalize(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = normalize_fc2ef1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = normalize_fc2ef1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.ir.glsl
index 6c6485e..6b2e3e3 100644
--- a/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pack2x16float/0e97b3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16float_0e97b3() {
+  vec2 arg_0 = vec2(1.0f);
+  uint res = packHalf2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16float_0e97b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16float_0e97b3() {
+  vec2 arg_0 = vec2(1.0f);
+  uint res = packHalf2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16float_0e97b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16float_0e97b3() {
+  vec2 arg_0 = vec2(1.0f);
+  uint res = packHalf2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16float_0e97b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16float_0e97b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.ir.glsl
index 6c6485e..97a3704 100644
--- a/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pack2x16snorm/6c169b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16snorm_6c169b() {
+  vec2 arg_0 = vec2(1.0f);
+  uint res = packSnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16snorm_6c169b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16snorm_6c169b() {
+  vec2 arg_0 = vec2(1.0f);
+  uint res = packSnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16snorm_6c169b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16snorm_6c169b() {
+  vec2 arg_0 = vec2(1.0f);
+  uint res = packSnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16snorm_6c169b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16snorm_6c169b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl
index 6c6485e..fe81bea 100644
--- a/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pack2x16unorm/0f08e4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16unorm_0f08e4() {
+  vec2 arg_0 = vec2(1.0f);
+  uint res = packUnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16unorm_0f08e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16unorm_0f08e4() {
+  vec2 arg_0 = vec2(1.0f);
+  uint res = packUnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16unorm_0f08e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack2x16unorm_0f08e4() {
+  vec2 arg_0 = vec2(1.0f);
+  uint res = packUnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack2x16unorm_0f08e4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack2x16unorm_0f08e4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl
index 6c6485e..101b0ab 100644
--- a/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pack4x8snorm/4d22e7.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8snorm_4d22e7() {
+  vec4 arg_0 = vec4(1.0f);
+  uint res = packSnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8snorm_4d22e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8snorm_4d22e7() {
+  vec4 arg_0 = vec4(1.0f);
+  uint res = packSnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8snorm_4d22e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8snorm_4d22e7() {
+  vec4 arg_0 = vec4(1.0f);
+  uint res = packSnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8snorm_4d22e7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8snorm_4d22e7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.ir.glsl
index 6c6485e..fb4a05d 100644
--- a/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pack4x8unorm/95c456.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8unorm_95c456() {
+  vec4 arg_0 = vec4(1.0f);
+  uint res = packUnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8unorm_95c456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8unorm_95c456() {
+  vec4 arg_0 = vec4(1.0f);
+  uint res = packUnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8unorm_95c456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4x8unorm_95c456() {
+  vec4 arg_0 = vec4(1.0f);
+  uint res = packUnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4x8unorm_95c456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4x8unorm_95c456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pack4xI8/bfce01.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pack4xI8Clamp/e42b2a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.ir.glsl
index 72ca17c..44ffc71 100644
--- a/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pack4xU8/b70b53.wgsl.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8_b70b53() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 v = arg_0;
+  uvec4 v_1 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_2 = ((v & uvec4(255u)) << v_1);
+  uint res = dot(v_2, uvec4(1u));
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8_b70b53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'dot' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8_b70b53() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 v = arg_0;
+  uvec4 v_1 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_2 = ((v & uvec4(255u)) << v_1);
+  uint res = dot(v_2, uvec4(1u));
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8_b70b53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'dot' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8_b70b53() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 v = arg_0;
+  uvec4 v_1 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_2 = ((v & uvec4(255u)) << v_1);
+  uint res = dot(v_2, uvec4(1u));
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8_b70b53();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8_b70b53();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'dot' : no matching overloaded function found 
+ERROR: 0:17: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl
index 72ca17c..90eef2b 100644
--- a/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pack4xU8Clamp/6b8c1b.wgsl.expected.ir.glsl
@@ -1,11 +1,127 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8Clamp_6b8c1b() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 v = arg_0;
+  uvec4 v_1 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_2 = uvec4(0u);
+  uvec4 v_3 = (clamp(v, v_2, uvec4(255u)) << v_1);
+  uint res = dot(v_3, uvec4(1u));
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8Clamp_6b8c1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'dot' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8Clamp_6b8c1b() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 v = arg_0;
+  uvec4 v_1 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_2 = uvec4(0u);
+  uvec4 v_3 = (clamp(v, v_2, uvec4(255u)) << v_1);
+  uint res = dot(v_3, uvec4(1u));
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8Clamp_6b8c1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'dot' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint pack4xU8Clamp_6b8c1b() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 v = arg_0;
+  uvec4 v_1 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_2 = uvec4(0u);
+  uvec4 v_3 = (clamp(v, v_2, uvec4(255u)) << v_1);
+  uint res = dot(v_3, uvec4(1u));
+  return res;
+}
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pack4xU8Clamp_6b8c1b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pack4xU8Clamp_6b8c1b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'dot' : no matching overloaded function found 
+ERROR: 0:18: '=' :  cannot convert from ' const float' to ' temp highp uint'
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.ir.glsl
index 6c6485e..511c207 100644
--- a/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/04a908.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 pow_04a908() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_04a908();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_04a908();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_04a908();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 pow_04a908() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_04a908();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_04a908();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_04a908();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 pow_04a908() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_04a908();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_04a908();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_04a908();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.ir.glsl
index 6c6485e..294d547 100644
--- a/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/46e029.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float pow_46e029() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_46e029();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_46e029();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_46e029();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float pow_46e029() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_46e029();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_46e029();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_46e029();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float pow_46e029() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_46e029();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_46e029();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_46e029();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.ir.glsl
index 6c6485e..509b24d 100644
--- a/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/4a46c9.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 pow_4a46c9() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4a46c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 pow_4a46c9() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4a46c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 pow_4a46c9() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4a46c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4a46c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.ir.glsl
index 6c6485e..884f400 100644
--- a/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/4f33b2.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 pow_4f33b2() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4f33b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 pow_4f33b2() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4f33b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 pow_4f33b2() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_4f33b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_4f33b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.ir.glsl
index d4bb1c9..0d72c36 100644
--- a/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/749c42.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_749c42() {
+  float res = 1.0f;
+}
+void main() {
+  pow_749c42();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_749c42();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_749c42();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_749c42() {
+  float res = 1.0f;
+}
+void main() {
+  pow_749c42();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_749c42();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_749c42();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_749c42() {
+  float res = 1.0f;
+}
+void main() {
+  pow_749c42();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_749c42();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_749c42();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.ir.glsl
index d4bb1c9..b5a7031 100644
--- a/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/a8f6b2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_a8f6b2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  pow_a8f6b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_a8f6b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_a8f6b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_a8f6b2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  pow_a8f6b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_a8f6b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_a8f6b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_a8f6b2() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  pow_a8f6b2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_a8f6b2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_a8f6b2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.ir.glsl
index d4bb1c9..97e97ba 100644
--- a/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/bc91ed.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_bc91ed() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  pow_bc91ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_bc91ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_bc91ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_bc91ed() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  pow_bc91ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_bc91ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_bc91ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_bc91ed() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  pow_bc91ed();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_bc91ed();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_bc91ed();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.ir.glsl
index 6c6485e..077f060 100644
--- a/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/ce9ef5.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t pow_ce9ef5() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_ce9ef5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t pow_ce9ef5() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_ce9ef5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t pow_ce9ef5() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_ce9ef5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_ce9ef5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.ir.glsl
index d4bb1c9..b40c04f 100644
--- a/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/e42f20.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_e42f20() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  pow_e42f20();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_e42f20();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_e42f20();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_e42f20() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  pow_e42f20();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_e42f20();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_e42f20();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void pow_e42f20() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  pow_e42f20();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  pow_e42f20();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  pow_e42f20();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.ir.glsl
index 6c6485e..2560b52 100644
--- a/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/e60ea5.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 pow_e60ea5() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_e60ea5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 pow_e60ea5() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_e60ea5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 pow_e60ea5() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_e60ea5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_e60ea5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.ir.glsl
index 6c6485e..303f6d5 100644
--- a/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/f37b25.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 pow_f37b25() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_f37b25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_f37b25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_f37b25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 pow_f37b25() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_f37b25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_f37b25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_f37b25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 pow_f37b25() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_f37b25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_f37b25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_f37b25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.ir.glsl
index 6c6485e..bc02056 100644
--- a/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/pow/fa5429.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 pow_fa5429() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_fa5429();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_fa5429();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_fa5429();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 pow_fa5429() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_fa5429();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_fa5429();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_fa5429();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 pow_fa5429() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = pow(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = pow_fa5429();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = pow_fa5429();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = pow_fa5429();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/quadBroadcast/0464d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/0464d1.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/0464d1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/0464d1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/0639ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/0639ea.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/0639ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/0639ea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/0cc513.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/0cc513.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/0cc513.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/0cc513.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/0e0e6e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/0e0e6e.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/0e0e6e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/0e0e6e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/2d0b7d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/2d0b7d.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/2d0b7d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/2d0b7d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/355db5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/355db5.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/355db5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/355db5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/3c3824.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/3c3824.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/3c3824.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/3c3824.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/4d9898.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/4d9898.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/4d9898.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/4d9898.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/641316.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/641316.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/641316.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/641316.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/704803.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/704803.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/704803.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/704803.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/76f499.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/76f499.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/76f499.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/76f499.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/78129b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/78129b.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/78129b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/78129b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/796753.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/796753.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/796753.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/796753.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/820991.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/820991.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/820991.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/820991.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/960c6b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/960c6b.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/960c6b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/960c6b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/9d802c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/9d802c.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/9d802c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/9d802c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/a2d2b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/a2d2b4.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/a2d2b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/a2d2b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/ae401e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/ae401e.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/ae401e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/ae401e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/b68331.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/b68331.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/b68331.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/b68331.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/bed00b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/bed00b.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/bed00b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/bed00b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/c0e704.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/c0e704.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/c0e704.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/c0e704.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/cd3624.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/cd3624.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/cd3624.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/cd3624.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/cebc6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/cebc6a.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/cebc6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/cebc6a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/cfbf48.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/cfbf48.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/cfbf48.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/cfbf48.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/e6d39d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/e6d39d.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/e6d39d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/e6d39d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/e6d948.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/e6d948.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/e6d948.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/e6d948.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/e7c301.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/e7c301.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/e7c301.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/e7c301.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/ef7d5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/ef7d5d.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/ef7d5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/ef7d5d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/f1e8ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/f1e8ec.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/f1e8ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/f1e8ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/f5f923.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/f5f923.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/f5f923.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/f5f923.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/f60448.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/f60448.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/f60448.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/f60448.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadBroadcast/f9d579.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadBroadcast/f9d579.wgsl.expected.ir.glsl
index 6c6485e..1e92aae 100644
--- a/test/tint/builtins/gen/var/quadBroadcast/f9d579.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadBroadcast/f9d579.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/15ac75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/15ac75.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/15ac75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/15ac75.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/2be5e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/2be5e7.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/2be5e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/2be5e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/331804.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/331804.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/331804.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/331804.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/348173.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/348173.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/348173.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/348173.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/486196.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/486196.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/486196.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/486196.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/730e40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/730e40.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/730e40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/730e40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/8077c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/8077c8.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/8077c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/8077c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/856536.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/856536.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/856536.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/856536.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/9ccb38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/9ccb38.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/9ccb38.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/9ccb38.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/a090b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/a090b0.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/a090b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/a090b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/a665b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/a665b1.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/a665b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/a665b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/a82e1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/a82e1d.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/a82e1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/a82e1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/af19a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/af19a5.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/af19a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/af19a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/b905fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/b905fc.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/b905fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/b905fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/c31636.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/c31636.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/c31636.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/c31636.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapDiagonal/e4bec8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapDiagonal/e4bec8.wgsl.expected.ir.glsl
index 6c6485e..4647d63 100644
--- a/test/tint/builtins/gen/var/quadSwapDiagonal/e4bec8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapDiagonal/e4bec8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapDiagonal
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/02834c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/02834c.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/02834c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/02834c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/053f3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/053f3b.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/053f3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/053f3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/07f1fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/07f1fc.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/07f1fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/07f1fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/150d6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/150d6f.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/150d6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/150d6f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/19f8ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/19f8ce.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/19f8ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/19f8ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/1e1086.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/1e1086.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/1e1086.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/1e1086.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/69af6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/69af6a.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/69af6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/69af6a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/8203ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/8203ad.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/8203ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/8203ad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/879738.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/879738.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/879738.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/879738.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/9bea80.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/9bea80.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/9bea80.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/9bea80.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/a4e103.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/a4e103.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/a4e103.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/a4e103.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/b1a5fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/b1a5fe.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/b1a5fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/b1a5fe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/bc2013.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/bc2013.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/bc2013.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/bc2013.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/bddb9f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/bddb9f.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/bddb9f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/bddb9f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/d60cec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/d60cec.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/d60cec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/d60cec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapX/edfa1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapX/edfa1f.wgsl.expected.ir.glsl
index 6c6485e..0f0d93a 100644
--- a/test/tint/builtins/gen/var/quadSwapX/edfa1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapX/edfa1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapX
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/06a67c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/06a67c.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/06a67c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/06a67c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/0c4938.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/0c4938.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/0c4938.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/0c4938.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/0d05a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/0d05a8.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/0d05a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/0d05a8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/14bb9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/14bb9a.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/14bb9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/14bb9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/1f1a06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/1f1a06.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/1f1a06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/1f1a06.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/264908.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/264908.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/264908.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/264908.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/5b2e67.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/5b2e67.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/5b2e67.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/5b2e67.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/6f6bc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/6f6bc9.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/6f6bc9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/6f6bc9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/9277e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/9277e9.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/9277e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/9277e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/94ab6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/94ab6d.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/94ab6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/94ab6d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/a27e1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/a27e1c.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/a27e1c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/a27e1c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/a50fcb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/a50fcb.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/a50fcb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/a50fcb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/b9d9e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/b9d9e7.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/b9d9e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/b9d9e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/bb697b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/bb697b.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/bb697b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/bb697b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/be4e72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/be4e72.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/be4e72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/be4e72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quadSwapY/d1ab4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quadSwapY/d1ab4d.wgsl.expected.ir.glsl
index 6c6485e..b2a99e1 100644
--- a/test/tint/builtins/gen/var/quadSwapY/d1ab4d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quadSwapY/d1ab4d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quadSwapY
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.ir.glsl
index 6c6485e..7996f70 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/12e50e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quantizeToF16
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.ir.glsl
index 6c6485e..7996f70 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/2cddf3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quantizeToF16
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.ir.glsl
index 6c6485e..7996f70 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/cba294.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quantizeToF16
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.ir.glsl
index 6c6485e..7996f70 100644
--- a/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/quantizeToF16/e8fd14.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: quantizeToF16
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.ir.glsl
index 6c6485e..0eb6a29 100644
--- a/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/09b7fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: radians
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/radians/208fd9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/208fd9.wgsl.expected.ir.glsl
index 6c6485e..0eb6a29 100644
--- a/test/tint/builtins/gen/var/radians/208fd9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/208fd9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: radians
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/radians/379214.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/379214.wgsl.expected.ir.glsl
index d4bb1c9..c0d64ad 100644
--- a/test/tint/builtins/gen/var/radians/379214.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/379214.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_379214() {
+  vec3 res = vec3(0.01745329238474369049f);
+}
+void main() {
+  radians_379214();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_379214();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_379214();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_379214() {
+  vec3 res = vec3(0.01745329238474369049f);
+}
+void main() {
+  radians_379214();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_379214();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_379214();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_379214() {
+  vec3 res = vec3(0.01745329238474369049f);
+}
+void main() {
+  radians_379214();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_379214();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_379214();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.ir.glsl
index d4bb1c9..54bfe1a 100644
--- a/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/44a9f8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_44a9f8() {
+  vec2 res = vec2(0.01745329238474369049f);
+}
+void main() {
+  radians_44a9f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_44a9f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_44a9f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_44a9f8() {
+  vec2 res = vec2(0.01745329238474369049f);
+}
+void main() {
+  radians_44a9f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_44a9f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_44a9f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_44a9f8() {
+  vec2 res = vec2(0.01745329238474369049f);
+}
+void main() {
+  radians_44a9f8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_44a9f8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_44a9f8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/radians/44f20b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/44f20b.wgsl.expected.ir.glsl
index 6c6485e..0eb6a29 100644
--- a/test/tint/builtins/gen/var/radians/44f20b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/44f20b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: radians
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.ir.glsl
index d4bb1c9..87dba94 100644
--- a/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/524a91.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_524a91() {
+  vec4 res = vec4(0.01745329238474369049f);
+}
+void main() {
+  radians_524a91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_524a91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_524a91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_524a91() {
+  vec4 res = vec4(0.01745329238474369049f);
+}
+void main() {
+  radians_524a91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_524a91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_524a91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_524a91() {
+  vec4 res = vec4(0.01745329238474369049f);
+}
+void main() {
+  radians_524a91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_524a91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_524a91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.ir.glsl
index 6c6485e..0eb6a29 100644
--- a/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/61687a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: radians
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.ir.glsl
index 6c6485e..0eb6a29 100644
--- a/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/6b0ff2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: radians
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/radians/7ea4c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/7ea4c7.wgsl.expected.ir.glsl
index 6c6485e..0eb6a29 100644
--- a/test/tint/builtins/gen/var/radians/7ea4c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/7ea4c7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: radians
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.ir.glsl
index d4bb1c9..10a9078 100644
--- a/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/bff231.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_bff231() {
+  float res = 0.01745329238474369049f;
+}
+void main() {
+  radians_bff231();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_bff231();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_bff231();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_bff231() {
+  float res = 0.01745329238474369049f;
+}
+void main() {
+  radians_bff231();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_bff231();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_bff231();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void radians_bff231() {
+  float res = 0.01745329238474369049f;
+}
+void main() {
+  radians_bff231();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  radians_bff231();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  radians_bff231();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.ir.glsl
index 6c6485e..0eb6a29 100644
--- a/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/f96258.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: radians
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/radians/fbacf0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/radians/fbacf0.wgsl.expected.ir.glsl
index 6c6485e..0eb6a29 100644
--- a/test/tint/builtins/gen/var/radians/fbacf0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/radians/fbacf0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: radians
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.ir.glsl
index 6c6485e..15c3a56 100644
--- a/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reflect/05357e.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 reflect_05357e() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_05357e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_05357e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_05357e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 reflect_05357e() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_05357e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_05357e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_05357e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 reflect_05357e() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_05357e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_05357e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_05357e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.ir.glsl
index 6c6485e..df709f8 100644
--- a/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reflect/310de5.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 reflect_310de5() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_310de5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_310de5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_310de5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 reflect_310de5() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_310de5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_310de5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_310de5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 reflect_310de5() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_310de5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_310de5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_310de5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.ir.glsl
index 6c6485e..5367740 100644
--- a/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reflect/61ca21.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 reflect_61ca21() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_61ca21();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 reflect_61ca21() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_61ca21();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 reflect_61ca21() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_61ca21();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_61ca21();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.ir.glsl
index d4bb1c9..db05061 100644
--- a/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reflect/a8baf2.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_a8baf2() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  reflect_a8baf2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_a8baf2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_a8baf2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_a8baf2() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  reflect_a8baf2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_a8baf2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_a8baf2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_a8baf2() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  reflect_a8baf2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_a8baf2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_a8baf2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.ir.glsl
index 6c6485e..b5fb10b 100644
--- a/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reflect/b61e10.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 reflect_b61e10() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_b61e10();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 reflect_b61e10() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_b61e10();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 reflect_b61e10() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_b61e10();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_b61e10();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.ir.glsl
index 6c6485e..32da0da 100644
--- a/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reflect/bb15ac.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 reflect_bb15ac() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_bb15ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 reflect_bb15ac() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_bb15ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 reflect_bb15ac() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_bb15ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_bb15ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.ir.glsl
index d4bb1c9..bd6e012 100644
--- a/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reflect/bba2d0.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_bba2d0() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  reflect_bba2d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_bba2d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_bba2d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_bba2d0() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  reflect_bba2d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_bba2d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_bba2d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_bba2d0() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  reflect_bba2d0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_bba2d0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_bba2d0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.ir.glsl
index d4bb1c9..599552f 100644
--- a/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reflect/d7e210.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_d7e210() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  reflect_d7e210();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_d7e210();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_d7e210();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_d7e210() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  reflect_d7e210();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_d7e210();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_d7e210();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void reflect_d7e210() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  reflect_d7e210();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  reflect_d7e210();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  reflect_d7e210();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.ir.glsl
index 6c6485e..f3a74f3 100644
--- a/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reflect/f47fdb.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 reflect_f47fdb() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_f47fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 reflect_f47fdb() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_f47fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 reflect_f47fdb() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = reflect(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reflect_f47fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reflect_f47fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.ir.glsl
index 6c6485e..bc4723a 100644
--- a/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/refract/0594ba.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 refract_0594ba() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec4 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_0594ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_0594ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_0594ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 refract_0594ba() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec4 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_0594ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_0594ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_0594ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 refract_0594ba() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec4 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_0594ba();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_0594ba();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_0594ba();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.ir.glsl
index 6c6485e..09c30d6 100644
--- a/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/refract/570cb3.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 refract_570cb3() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec2 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_570cb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_570cb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_570cb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 refract_570cb3() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec2 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_570cb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_570cb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_570cb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 refract_570cb3() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec2 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_570cb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_570cb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_570cb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.ir.glsl
index 6c6485e..c19c365 100644
--- a/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/refract/7e02e6.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 refract_7e02e6() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float arg_2 = 1.0f;
+  vec4 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_7e02e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 refract_7e02e6() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float arg_2 = 1.0f;
+  vec4 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_7e02e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 refract_7e02e6() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  float arg_2 = 1.0f;
+  vec4 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_7e02e6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_7e02e6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.ir.glsl
index 6c6485e..cbb5d4b 100644
--- a/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/refract/8984af.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 refract_8984af() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec3 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_8984af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_8984af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_8984af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 refract_8984af() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec3 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_8984af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_8984af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_8984af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 refract_8984af() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  float16_t arg_2 = 1.0hf;
+  f16vec3 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_8984af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_8984af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_8984af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.ir.glsl
index d4bb1c9..41dd891 100644
--- a/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/refract/8c192a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_8c192a() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  refract_8c192a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_8c192a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_8c192a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_8c192a() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  refract_8c192a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_8c192a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_8c192a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_8c192a() {
+  vec4 res = vec4(-7.0f);
+}
+void main() {
+  refract_8c192a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_8c192a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_8c192a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.ir.glsl
index 6c6485e..1d66552 100644
--- a/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/refract/cbc1d2.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 refract_cbc1d2() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float arg_2 = 1.0f;
+  vec3 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cbc1d2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 refract_cbc1d2() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float arg_2 = 1.0f;
+  vec3 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cbc1d2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 refract_cbc1d2() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  float arg_2 = 1.0f;
+  vec3 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cbc1d2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cbc1d2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.ir.glsl
index 6c6485e..e62aa1c 100644
--- a/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/refract/cd905f.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 refract_cd905f() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float arg_2 = 1.0f;
+  vec2 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cd905f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cd905f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cd905f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 refract_cd905f() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float arg_2 = 1.0f;
+  vec2 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cd905f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cd905f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cd905f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 refract_cd905f() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  float arg_2 = 1.0f;
+  vec2 res = refract(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = refract_cd905f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = refract_cd905f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = refract_cd905f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.ir.glsl
index d4bb1c9..62189d7 100644
--- a/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/refract/cf1629.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_cf1629() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  refract_cf1629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_cf1629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_cf1629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_cf1629() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  refract_cf1629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_cf1629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_cf1629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_cf1629() {
+  vec2 res = vec2(-3.0f);
+}
+void main() {
+  refract_cf1629();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_cf1629();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_cf1629();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.ir.glsl
index d4bb1c9..02a7c4b 100644
--- a/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/refract/d7569b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_d7569b() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  refract_d7569b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_d7569b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_d7569b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_d7569b() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  refract_d7569b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_d7569b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_d7569b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void refract_d7569b() {
+  vec3 res = vec3(-5.0f);
+}
+void main() {
+  refract_d7569b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  refract_d7569b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  refract_d7569b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.ir.glsl
index 6c6485e..def9f7e 100644
--- a/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reverseBits/222177.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 reverseBits_222177() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_222177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 reverseBits_222177() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_222177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 reverseBits_222177() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_222177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_222177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.ir.glsl
index 6c6485e..aa07cff 100644
--- a/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reverseBits/35fea9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 reverseBits_35fea9() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_35fea9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 reverseBits_35fea9() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_35fea9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 reverseBits_35fea9() {
+  uvec4 arg_0 = uvec4(1u);
+  uvec4 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_35fea9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_35fea9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.ir.glsl
index 6c6485e..4fcf021 100644
--- a/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reverseBits/4dbd6f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 reverseBits_4dbd6f() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_4dbd6f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 reverseBits_4dbd6f() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_4dbd6f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 reverseBits_4dbd6f() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_4dbd6f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_4dbd6f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.ir.glsl
index 6c6485e..64236d6 100644
--- a/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reverseBits/7c4269.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int reverseBits_7c4269() {
+  int arg_0 = 1;
+  int res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_7c4269();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int reverseBits_7c4269() {
+  int arg_0 = 1;
+  int res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_7c4269();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int reverseBits_7c4269() {
+  int arg_0 = 1;
+  int res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_7c4269();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_7c4269();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.ir.glsl
index 6c6485e..ab2b1a5 100644
--- a/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reverseBits/a6ccd4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 reverseBits_a6ccd4() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_a6ccd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 reverseBits_a6ccd4() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_a6ccd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec3 prevent_dce;
+};
+
+uvec3 prevent_dce;
+uvec3 reverseBits_a6ccd4() {
+  uvec3 arg_0 = uvec3(1u);
+  uvec3 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_a6ccd4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec3(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_a6ccd4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.ir.glsl
index 6c6485e..8e7d560 100644
--- a/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reverseBits/c21bc1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 reverseBits_c21bc1() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_c21bc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 reverseBits_c21bc1() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_c21bc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 reverseBits_c21bc1() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_c21bc1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_c21bc1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.ir.glsl
index 6c6485e..2ef06ed 100644
--- a/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reverseBits/e1f4c1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 reverseBits_e1f4c1() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e1f4c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 reverseBits_e1f4c1() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e1f4c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uvec2 reverseBits_e1f4c1() {
+  uvec2 arg_0 = uvec2(1u);
+  uvec2 res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e1f4c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e1f4c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.ir.glsl
index 6c6485e..4f51a00 100644
--- a/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/reverseBits/e31adf.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint reverseBits_e31adf() {
+  uint arg_0 = 1u;
+  uint res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e31adf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint reverseBits_e31adf() {
+  uint arg_0 = 1u;
+  uint res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e31adf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uint prevent_dce;
+};
+
+uint prevent_dce;
+uint reverseBits_e31adf() {
+  uint arg_0 = 1u;
+  uint res = bitfieldReverse(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = reverseBits_e31adf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0u);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = reverseBits_e31adf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.ir.glsl
index 6c6485e..5d25d51 100644
--- a/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/106c0b.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 round_106c0b() {
+  vec4 arg_0 = vec4(3.5f);
+  vec4 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_106c0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_106c0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_106c0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 round_106c0b() {
+  vec4 arg_0 = vec4(3.5f);
+  vec4 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_106c0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_106c0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_106c0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 round_106c0b() {
+  vec4 arg_0 = vec4(3.5f);
+  vec4 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_106c0b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_106c0b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_106c0b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.ir.glsl
index d4bb1c9..bb9b841 100644
--- a/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/184d5a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_184d5a() {
+  vec4 res = vec4(4.0f);
+}
+void main() {
+  round_184d5a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_184d5a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_184d5a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_184d5a() {
+  vec4 res = vec4(4.0f);
+}
+void main() {
+  round_184d5a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_184d5a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_184d5a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_184d5a() {
+  vec4 res = vec4(4.0f);
+}
+void main() {
+  round_184d5a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_184d5a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_184d5a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.ir.glsl
index 6c6485e..e0fdd88 100644
--- a/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/1c7897.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 round_1c7897() {
+  vec3 arg_0 = vec3(3.5f);
+  vec3 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_1c7897();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_1c7897();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_1c7897();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 round_1c7897() {
+  vec3 arg_0 = vec3(3.5f);
+  vec3 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_1c7897();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_1c7897();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_1c7897();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 round_1c7897() {
+  vec3 arg_0 = vec3(3.5f);
+  vec3 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_1c7897();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_1c7897();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_1c7897();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.ir.glsl
index 6c6485e..0f8d95e 100644
--- a/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/52c84d.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 round_52c84d() {
+  vec2 arg_0 = vec2(3.5f);
+  vec2 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_52c84d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_52c84d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_52c84d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 round_52c84d() {
+  vec2 arg_0 = vec2(3.5f);
+  vec2 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_52c84d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_52c84d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_52c84d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 round_52c84d() {
+  vec2 arg_0 = vec2(3.5f);
+  vec2 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_52c84d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_52c84d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_52c84d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.ir.glsl
index d4bb1c9..d9df725 100644
--- a/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/773a8f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_773a8f() {
+  float res = 4.0f;
+}
+void main() {
+  round_773a8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_773a8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_773a8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_773a8f() {
+  float res = 4.0f;
+}
+void main() {
+  round_773a8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_773a8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_773a8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_773a8f() {
+  float res = 4.0f;
+}
+void main() {
+  round_773a8f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_773a8f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_773a8f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.ir.glsl
index d4bb1c9..ecf4071 100644
--- a/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_8fdca3() {
+  vec2 res = vec2(4.0f);
+}
+void main() {
+  round_8fdca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_8fdca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_8fdca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_8fdca3() {
+  vec2 res = vec2(4.0f);
+}
+void main() {
+  round_8fdca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_8fdca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_8fdca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_8fdca3() {
+  vec2 res = vec2(4.0f);
+}
+void main() {
+  round_8fdca3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_8fdca3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_8fdca3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.ir.glsl
index 6c6485e..e060693 100644
--- a/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/9078ef.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t round_9078ef() {
+  float16_t arg_0 = 3.5hf;
+  float16_t res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_9078ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9078ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9078ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t round_9078ef() {
+  float16_t arg_0 = 3.5hf;
+  float16_t res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_9078ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9078ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9078ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t round_9078ef() {
+  float16_t arg_0 = 3.5hf;
+  float16_t res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_9078ef();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9078ef();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9078ef();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.ir.glsl
index 6c6485e..0264bba 100644
--- a/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/9edc38.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float round_9edc38() {
+  float arg_0 = 3.5f;
+  float res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_9edc38();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9edc38();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9edc38();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float round_9edc38() {
+  float arg_0 = 3.5f;
+  float res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_9edc38();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9edc38();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9edc38();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float round_9edc38() {
+  float arg_0 = 3.5f;
+  float res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_9edc38();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_9edc38();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_9edc38();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.ir.glsl
index d4bb1c9..76e388a 100644
--- a/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/a1673d.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_a1673d() {
+  vec3 res = vec3(4.0f);
+}
+void main() {
+  round_a1673d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_a1673d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_a1673d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_a1673d() {
+  vec3 res = vec3(4.0f);
+}
+void main() {
+  round_a1673d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_a1673d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_a1673d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void round_a1673d() {
+  vec3 res = vec3(4.0f);
+}
+void main() {
+  round_a1673d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  round_a1673d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  round_a1673d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.ir.glsl
index 6c6485e..e468ace 100644
--- a/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/d87e84.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 round_d87e84() {
+  f16vec2 arg_0 = f16vec2(3.5hf);
+  f16vec2 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_d87e84();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_d87e84();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_d87e84();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 round_d87e84() {
+  f16vec2 arg_0 = f16vec2(3.5hf);
+  f16vec2 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_d87e84();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_d87e84();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_d87e84();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 round_d87e84() {
+  f16vec2 arg_0 = f16vec2(3.5hf);
+  f16vec2 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_d87e84();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_d87e84();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_d87e84();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.ir.glsl
index 6c6485e..45f6b66 100644
--- a/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/e1bba2.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 round_e1bba2() {
+  f16vec3 arg_0 = f16vec3(3.5hf);
+  f16vec3 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_e1bba2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_e1bba2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_e1bba2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 round_e1bba2() {
+  f16vec3 arg_0 = f16vec3(3.5hf);
+  f16vec3 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_e1bba2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_e1bba2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_e1bba2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 round_e1bba2() {
+  f16vec3 arg_0 = f16vec3(3.5hf);
+  f16vec3 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_e1bba2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_e1bba2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_e1bba2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.ir.glsl
index 6c6485e..9e4d162 100644
--- a/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/round/f665b5.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 round_f665b5() {
+  f16vec4 arg_0 = f16vec4(3.5hf);
+  f16vec4 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_f665b5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_f665b5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_f665b5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 round_f665b5() {
+  f16vec4 arg_0 = f16vec4(3.5hf);
+  f16vec4 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_f665b5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_f665b5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_f665b5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 round_f665b5() {
+  f16vec4 arg_0 = f16vec4(3.5hf);
+  f16vec4 res = round(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = round_f665b5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = round_f665b5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = round_f665b5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.ir.glsl
index 6c6485e..8faa907 100644
--- a/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/270da5.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float saturate_270da5() {
+  float arg_0 = 2.0f;
+  float res = clamp(arg_0, 0.0f, 1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_270da5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_270da5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_270da5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float saturate_270da5() {
+  float arg_0 = 2.0f;
+  float res = clamp(arg_0, 0.0f, 1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_270da5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_270da5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_270da5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float saturate_270da5() {
+  float arg_0 = 2.0f;
+  float res = clamp(arg_0, 0.0f, 1.0f);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_270da5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_270da5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_270da5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.ir.glsl
index 6c6485e..0cc9a3f 100644
--- a/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/462535.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 saturate_462535() {
+  f16vec3 arg_0 = f16vec3(2.0hf);
+  f16vec3 res = clamp(arg_0, f16vec3(0.0hf), f16vec3(1.0hf));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_462535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_462535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_462535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 saturate_462535() {
+  f16vec3 arg_0 = f16vec3(2.0hf);
+  f16vec3 res = clamp(arg_0, f16vec3(0.0hf), f16vec3(1.0hf));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_462535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_462535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_462535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 saturate_462535() {
+  f16vec3 arg_0 = f16vec3(2.0hf);
+  f16vec3 res = clamp(arg_0, f16vec3(0.0hf), f16vec3(1.0hf));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_462535();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_462535();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_462535();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.ir.glsl
index d4bb1c9..a10c342 100644
--- a/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/4ed8d7.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_4ed8d7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  saturate_4ed8d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_4ed8d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_4ed8d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_4ed8d7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  saturate_4ed8d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_4ed8d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_4ed8d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_4ed8d7() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  saturate_4ed8d7();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_4ed8d7();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_4ed8d7();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.ir.glsl
index 6c6485e..de243e9 100644
--- a/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/51567f.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 saturate_51567f() {
+  vec2 arg_0 = vec2(2.0f);
+  vec2 res = clamp(arg_0, vec2(0.0f), vec2(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_51567f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_51567f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_51567f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 saturate_51567f() {
+  vec2 arg_0 = vec2(2.0f);
+  vec2 res = clamp(arg_0, vec2(0.0f), vec2(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_51567f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_51567f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_51567f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 saturate_51567f() {
+  vec2 arg_0 = vec2(2.0f);
+  vec2 res = clamp(arg_0, vec2(0.0f), vec2(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_51567f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_51567f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_51567f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.ir.glsl
index 6c6485e..d2a71ad 100644
--- a/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/6bcddf.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 saturate_6bcddf() {
+  vec3 arg_0 = vec3(2.0f);
+  vec3 res = clamp(arg_0, vec3(0.0f), vec3(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_6bcddf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 saturate_6bcddf() {
+  vec3 arg_0 = vec3(2.0f);
+  vec3 res = clamp(arg_0, vec3(0.0f), vec3(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_6bcddf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 saturate_6bcddf() {
+  vec3 arg_0 = vec3(2.0f);
+  vec3 res = clamp(arg_0, vec3(0.0f), vec3(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_6bcddf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_6bcddf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.ir.glsl
index d4bb1c9..ab7cdc8 100644
--- a/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/78b37c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_78b37c() {
+  float res = 1.0f;
+}
+void main() {
+  saturate_78b37c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_78b37c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_78b37c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_78b37c() {
+  float res = 1.0f;
+}
+void main() {
+  saturate_78b37c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_78b37c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_78b37c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_78b37c() {
+  float res = 1.0f;
+}
+void main() {
+  saturate_78b37c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_78b37c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_78b37c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.ir.glsl
index 6c6485e..887c3e0 100644
--- a/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/a5b571.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 saturate_a5b571() {
+  vec4 arg_0 = vec4(2.0f);
+  vec4 res = clamp(arg_0, vec4(0.0f), vec4(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_a5b571();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 saturate_a5b571() {
+  vec4 arg_0 = vec4(2.0f);
+  vec4 res = clamp(arg_0, vec4(0.0f), vec4(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_a5b571();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 saturate_a5b571() {
+  vec4 arg_0 = vec4(2.0f);
+  vec4 res = clamp(arg_0, vec4(0.0f), vec4(1.0f));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_a5b571();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_a5b571();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.ir.glsl
index 6c6485e..85f3fbe 100644
--- a/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/cd2028.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 saturate_cd2028() {
+  f16vec2 arg_0 = f16vec2(2.0hf);
+  f16vec2 res = clamp(arg_0, f16vec2(0.0hf), f16vec2(1.0hf));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_cd2028();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 saturate_cd2028() {
+  f16vec2 arg_0 = f16vec2(2.0hf);
+  f16vec2 res = clamp(arg_0, f16vec2(0.0hf), f16vec2(1.0hf));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_cd2028();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 saturate_cd2028() {
+  f16vec2 arg_0 = f16vec2(2.0hf);
+  f16vec2 res = clamp(arg_0, f16vec2(0.0hf), f16vec2(1.0hf));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_cd2028();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_cd2028();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.ir.glsl
index d4bb1c9..ad4b630 100644
--- a/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/d55822.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_d55822() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  saturate_d55822();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_d55822();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_d55822();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_d55822() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  saturate_d55822();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_d55822();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_d55822();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_d55822() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  saturate_d55822();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_d55822();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_d55822();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.ir.glsl
index 6c6485e..8d29aed 100644
--- a/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/dcde71.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 saturate_dcde71() {
+  f16vec4 arg_0 = f16vec4(2.0hf);
+  f16vec4 res = clamp(arg_0, f16vec4(0.0hf), f16vec4(1.0hf));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_dcde71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 saturate_dcde71() {
+  f16vec4 arg_0 = f16vec4(2.0hf);
+  f16vec4 res = clamp(arg_0, f16vec4(0.0hf), f16vec4(1.0hf));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_dcde71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 saturate_dcde71() {
+  f16vec4 arg_0 = f16vec4(2.0hf);
+  f16vec4 res = clamp(arg_0, f16vec4(0.0hf), f16vec4(1.0hf));
+  return res;
+}
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_dcde71();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_dcde71();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.ir.glsl
index d4bb1c9..78bbea2 100644
--- a/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/e40fb6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_e40fb6() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  saturate_e40fb6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_e40fb6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_e40fb6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_e40fb6() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  saturate_e40fb6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_e40fb6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_e40fb6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void saturate_e40fb6() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  saturate_e40fb6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  saturate_e40fb6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  saturate_e40fb6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.ir.glsl
index 6c6485e..0be1596 100644
--- a/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/saturate/e8df56.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t saturate_e8df56() {
+  float16_t arg_0 = 2.0hf;
+  float16_t res = clamp(arg_0, 0.0hf, 1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_e8df56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t saturate_e8df56() {
+  float16_t arg_0 = 2.0hf;
+  float16_t res = clamp(arg_0, 0.0hf, 1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_e8df56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t saturate_e8df56() {
+  float16_t arg_0 = 2.0hf;
+  float16_t res = clamp(arg_0, 0.0hf, 1.0hf);
+  return res;
+}
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = saturate_e8df56();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = saturate_e8df56();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/select/00b848.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/00b848.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/00b848.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/00b848.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/01e2cd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/087ea4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/089657.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/089657.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/089657.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/089657.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/10e73b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/10e73b.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/10e73b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/10e73b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/17441a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/17441a.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/17441a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/17441a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/1ada2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/1ada2a.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/1ada2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/1ada2a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/1e960b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/1f4d93.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/266aff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/266aff.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/266aff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/266aff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/28a27e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/2c96d4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/3a14be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/3c25ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/416e14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/416e14.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/416e14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/416e14.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/431dfb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/43741e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/43741e.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/43741e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/43741e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/494051.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/494051.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/494051.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/494051.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/4c4738.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/4e60da.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/51b047.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/51b047.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/51b047.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/51b047.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/53d518.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/53d518.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/53d518.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/53d518.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/713567.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/713567.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/713567.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/713567.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/78be5f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/80a9a9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/830dd9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/830dd9.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/830dd9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/830dd9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/86f9bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/86f9bd.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/86f9bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/86f9bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/8fa62c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/99f883.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/99f883.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/99f883.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/99f883.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/9b478d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/a081f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/a081f1.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/a081f1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/a081f1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/a2860e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/ab069f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/b04721.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/b04721.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/b04721.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/b04721.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/b93806.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/b93806.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/b93806.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/b93806.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/bb447f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/bb8aae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/bf3d29.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/c31f9e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/c41bd1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/c4a4ef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/cb9301.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/dfab3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/e381c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/e3e028.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/ebfea2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/ed7c13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/ed7c13.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/ed7c13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/ed7c13.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/ed8a15.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/select/fb7e53.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.ir.glsl
index d4bb1c9..ddf1abe 100644
--- a/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/0799fd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_0799fd() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sign_0799fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_0799fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_0799fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_0799fd() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sign_0799fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_0799fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_0799fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_0799fd() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sign_0799fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_0799fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_0799fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/159665.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/159665.wgsl.expected.ir.glsl
index 6c6485e..6228ed5 100644
--- a/test/tint/builtins/gen/var/sign/159665.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/159665.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sign_159665() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_159665();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_159665();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_159665();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sign_159665() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_159665();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_159665();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_159665();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sign_159665() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_159665();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_159665();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_159665();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/160933.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/160933.wgsl.expected.ir.glsl
index 6c6485e..f451af7 100644
--- a/test/tint/builtins/gen/var/sign/160933.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/160933.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sign_160933() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_160933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_160933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_160933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sign_160933() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_160933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_160933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_160933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sign_160933() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_160933();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_160933();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_160933();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.ir.glsl
index 6c6485e..891cb85 100644
--- a/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/3233fa.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int sign_3233fa() {
+  int arg_0 = 1;
+  int res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_3233fa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_3233fa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_3233fa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int sign_3233fa() {
+  int arg_0 = 1;
+  int res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_3233fa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_3233fa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_3233fa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  int prevent_dce;
+};
+
+int prevent_dce;
+int sign_3233fa() {
+  int arg_0 = 1;
+  int res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_3233fa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_3233fa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_3233fa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.ir.glsl
index d4bb1c9..5dbf7ea 100644
--- a/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/3a39ac.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3a39ac() {
+  int res = 1;
+}
+void main() {
+  sign_3a39ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3a39ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3a39ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3a39ac() {
+  int res = 1;
+}
+void main() {
+  sign_3a39ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3a39ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3a39ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3a39ac() {
+  int res = 1;
+}
+void main() {
+  sign_3a39ac();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3a39ac();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3a39ac();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.ir.glsl
index d4bb1c9..0f0a87c 100644
--- a/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/3bdab6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3bdab6() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  sign_3bdab6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3bdab6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3bdab6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3bdab6() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  sign_3bdab6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3bdab6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3bdab6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_3bdab6() {
+  ivec4 res = ivec4(1);
+}
+void main() {
+  sign_3bdab6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_3bdab6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_3bdab6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.ir.glsl
index d4bb1c9..4ee1fef 100644
--- a/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/55339e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_55339e() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  sign_55339e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_55339e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_55339e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_55339e() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  sign_55339e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_55339e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_55339e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_55339e() {
+  ivec3 res = ivec3(1);
+}
+void main() {
+  sign_55339e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_55339e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_55339e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.ir.glsl
index 6c6485e..4caa638 100644
--- a/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/58d779.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 sign_58d779() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_58d779();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_58d779();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_58d779();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 sign_58d779() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_58d779();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_58d779();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_58d779();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec4 prevent_dce;
+};
+
+ivec4 prevent_dce;
+ivec4 sign_58d779() {
+  ivec4 arg_0 = ivec4(1);
+  ivec4 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_58d779();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_58d779();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec4(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_58d779();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.ir.glsl
index 6c6485e..1127715 100644
--- a/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/5d283a.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sign_5d283a() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_5d283a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_5d283a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_5d283a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sign_5d283a() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_5d283a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_5d283a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_5d283a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sign_5d283a() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_5d283a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_5d283a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_5d283a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.ir.glsl
index 6c6485e..16f054b 100644
--- a/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/7c85ea.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sign_7c85ea() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_7c85ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sign_7c85ea() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_7c85ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sign_7c85ea() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_7c85ea();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_7c85ea();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/926015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/926015.wgsl.expected.ir.glsl
index 6c6485e..46b5f9e 100644
--- a/test/tint/builtins/gen/var/sign/926015.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/926015.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 sign_926015() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_926015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_926015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_926015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 sign_926015() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_926015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_926015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_926015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec2 prevent_dce;
+};
+
+ivec2 prevent_dce;
+ivec2 sign_926015() {
+  ivec2 arg_0 = ivec2(1);
+  ivec2 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_926015();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_926015();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec2(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_926015();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.ir.glsl
index d4bb1c9..12a56c4 100644
--- a/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/943b2e.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_943b2e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  sign_943b2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_943b2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_943b2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_943b2e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  sign_943b2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_943b2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_943b2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_943b2e() {
+  ivec2 res = ivec2(1);
+}
+void main() {
+  sign_943b2e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_943b2e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_943b2e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.ir.glsl
index 6c6485e..309b937 100644
--- a/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/9603b1.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 sign_9603b1() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_9603b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_9603b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_9603b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 sign_9603b1() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_9603b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_9603b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_9603b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  ivec3 prevent_dce;
+};
+
+ivec3 prevent_dce;
+ivec3 sign_9603b1() {
+  ivec3 arg_0 = ivec3(1);
+  ivec3 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_9603b1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_9603b1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), ivec3(0));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_9603b1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.ir.glsl
index d4bb1c9..9eaa0ae 100644
--- a/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/ab6301.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_ab6301() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sign_ab6301();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_ab6301();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_ab6301();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_ab6301() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sign_ab6301();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_ab6301();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_ab6301();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_ab6301() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sign_ab6301();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_ab6301();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_ab6301();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.ir.glsl
index 6c6485e..e4af150 100644
--- a/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/b8f634.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sign_b8f634() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_b8f634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_b8f634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_b8f634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sign_b8f634() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_b8f634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_b8f634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_b8f634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sign_b8f634() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_b8f634();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_b8f634();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_b8f634();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.ir.glsl
index d4bb1c9..a3f66c2 100644
--- a/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_c8289c() {
+  float res = 1.0f;
+}
+void main() {
+  sign_c8289c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_c8289c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_c8289c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_c8289c() {
+  float res = 1.0f;
+}
+void main() {
+  sign_c8289c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_c8289c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_c8289c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_c8289c() {
+  float res = 1.0f;
+}
+void main() {
+  sign_c8289c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_c8289c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_c8289c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.ir.glsl
index 6c6485e..6071b96 100644
--- a/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/ccdb3c.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sign_ccdb3c() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_ccdb3c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sign_ccdb3c() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_ccdb3c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sign_ccdb3c() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_ccdb3c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_ccdb3c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.ir.glsl
index 6c6485e..383c599 100644
--- a/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/d065d8.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sign_d065d8() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_d065d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_d065d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_d065d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sign_d065d8() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_d065d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_d065d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_d065d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sign_d065d8() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_d065d8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_d065d8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_d065d8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.ir.glsl
index 6c6485e..8505462 100644
--- a/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/dd790e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sign_dd790e() {
+  float arg_0 = 1.0f;
+  float res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_dd790e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_dd790e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_dd790e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sign_dd790e() {
+  float arg_0 = 1.0f;
+  float res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_dd790e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_dd790e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_dd790e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sign_dd790e() {
+  float arg_0 = 1.0f;
+  float res = sign(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sign_dd790e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sign_dd790e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sign_dd790e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.ir.glsl
index d4bb1c9..e5d7450 100644
--- a/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sign/f5da6a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_f5da6a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sign_f5da6a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_f5da6a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_f5da6a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_f5da6a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sign_f5da6a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_f5da6a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_f5da6a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sign_f5da6a() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sign_f5da6a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sign_f5da6a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sign_f5da6a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.ir.glsl
index 6c6485e..d6631d4 100644
--- a/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/01f241.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sin_01f241() {
+  vec3 arg_0 = vec3(1.57079637050628662109f);
+  vec3 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_01f241();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_01f241();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_01f241();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sin_01f241() {
+  vec3 arg_0 = vec3(1.57079637050628662109f);
+  vec3 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_01f241();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_01f241();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_01f241();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sin_01f241() {
+  vec3 arg_0 = vec3(1.57079637050628662109f);
+  vec3 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_01f241();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_01f241();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_01f241();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.ir.glsl
index d4bb1c9..1f219c7 100644
--- a/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/15b2c6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_15b2c6() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sin_15b2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_15b2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_15b2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_15b2c6() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sin_15b2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_15b2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_15b2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_15b2c6() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sin_15b2c6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_15b2c6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_15b2c6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.ir.glsl
index 6c6485e..a23d6d3 100644
--- a/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/2c903b.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sin_2c903b() {
+  f16vec3 arg_0 = f16vec3(1.5703125hf);
+  f16vec3 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_2c903b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_2c903b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_2c903b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sin_2c903b() {
+  f16vec3 arg_0 = f16vec3(1.5703125hf);
+  f16vec3 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_2c903b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_2c903b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_2c903b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sin_2c903b() {
+  f16vec3 arg_0 = f16vec3(1.5703125hf);
+  f16vec3 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_2c903b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_2c903b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_2c903b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.ir.glsl
index 6c6485e..6c23d95 100644
--- a/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/3cca11.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sin_3cca11() {
+  f16vec2 arg_0 = f16vec2(1.5703125hf);
+  f16vec2 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_3cca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_3cca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_3cca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sin_3cca11() {
+  f16vec2 arg_0 = f16vec2(1.5703125hf);
+  f16vec2 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_3cca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_3cca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_3cca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sin_3cca11() {
+  f16vec2 arg_0 = f16vec2(1.5703125hf);
+  f16vec2 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_3cca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_3cca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_3cca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.ir.glsl
index 6c6485e..8937168 100644
--- a/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/4e3979.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sin_4e3979() {
+  vec4 arg_0 = vec4(1.57079637050628662109f);
+  vec4 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_4e3979();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_4e3979();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_4e3979();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sin_4e3979() {
+  vec4 arg_0 = vec4(1.57079637050628662109f);
+  vec4 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_4e3979();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_4e3979();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_4e3979();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sin_4e3979() {
+  vec4 arg_0 = vec4(1.57079637050628662109f);
+  vec4 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_4e3979();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_4e3979();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_4e3979();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.ir.glsl
index 6c6485e..f7dbc51 100644
--- a/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/5c0712.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sin_5c0712() {
+  f16vec4 arg_0 = f16vec4(1.5703125hf);
+  f16vec4 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_5c0712();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_5c0712();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_5c0712();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sin_5c0712() {
+  f16vec4 arg_0 = f16vec4(1.5703125hf);
+  f16vec4 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_5c0712();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_5c0712();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_5c0712();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sin_5c0712() {
+  f16vec4 arg_0 = f16vec4(1.5703125hf);
+  f16vec4 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_5c0712();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_5c0712();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_5c0712();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.ir.glsl
index 6c6485e..6af8a1b 100644
--- a/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/66a59f.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sin_66a59f() {
+  float16_t arg_0 = 1.5703125hf;
+  float16_t res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_66a59f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_66a59f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_66a59f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sin_66a59f() {
+  float16_t arg_0 = 1.5703125hf;
+  float16_t res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_66a59f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_66a59f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_66a59f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sin_66a59f() {
+  float16_t arg_0 = 1.5703125hf;
+  float16_t res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_66a59f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_66a59f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_66a59f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.ir.glsl
index d4bb1c9..49a8556 100644
--- a/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/67b03c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_67b03c() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sin_67b03c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_67b03c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_67b03c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_67b03c() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sin_67b03c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_67b03c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_67b03c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_67b03c() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sin_67b03c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_67b03c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_67b03c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.ir.glsl
index d4bb1c9..18d090c 100644
--- a/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/68d3ab.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_68d3ab() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sin_68d3ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_68d3ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_68d3ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_68d3ab() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sin_68d3ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_68d3ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_68d3ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_68d3ab() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sin_68d3ab();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_68d3ab();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_68d3ab();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.ir.glsl
index d4bb1c9..ee5eef1 100644
--- a/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/a9ab19.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_a9ab19() {
+  float res = 1.0f;
+}
+void main() {
+  sin_a9ab19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_a9ab19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_a9ab19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_a9ab19() {
+  float res = 1.0f;
+}
+void main() {
+  sin_a9ab19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_a9ab19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_a9ab19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sin_a9ab19() {
+  float res = 1.0f;
+}
+void main() {
+  sin_a9ab19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sin_a9ab19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sin_a9ab19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.ir.glsl
index 6c6485e..1ff07ed 100644
--- a/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/b78c91.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sin_b78c91() {
+  float arg_0 = 1.57079637050628662109f;
+  float res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_b78c91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_b78c91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_b78c91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sin_b78c91() {
+  float arg_0 = 1.57079637050628662109f;
+  float res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_b78c91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_b78c91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_b78c91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sin_b78c91() {
+  float arg_0 = 1.57079637050628662109f;
+  float res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_b78c91();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_b78c91();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_b78c91();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.ir.glsl
index 6c6485e..c9a73f1 100644
--- a/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sin/fc8bc4.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sin_fc8bc4() {
+  vec2 arg_0 = vec2(1.57079637050628662109f);
+  vec2 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_fc8bc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sin_fc8bc4() {
+  vec2 arg_0 = vec2(1.57079637050628662109f);
+  vec2 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_fc8bc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sin_fc8bc4() {
+  vec2 arg_0 = vec2(1.57079637050628662109f);
+  vec2 res = sin(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sin_fc8bc4();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sin_fc8bc4();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.ir.glsl
index 6c6485e..d527dc9 100644
--- a/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/0908c1.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sinh_0908c1() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_0908c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sinh_0908c1() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_0908c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sinh_0908c1() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_0908c1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_0908c1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.ir.glsl
index 6c6485e..ce8302e 100644
--- a/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/445e33.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sinh_445e33() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_445e33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_445e33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_445e33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sinh_445e33() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_445e33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_445e33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_445e33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sinh_445e33() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_445e33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_445e33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_445e33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.ir.glsl
index 6c6485e..b3081a2 100644
--- a/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/69cce2.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sinh_69cce2() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_69cce2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sinh_69cce2() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_69cce2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sinh_69cce2() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_69cce2();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_69cce2();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.ir.glsl
index d4bb1c9..bbffbbd 100644
--- a/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/77a2a3.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_77a2a3() {
+  vec3 res = vec3(1.17520117759704589844f);
+}
+void main() {
+  sinh_77a2a3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_77a2a3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_77a2a3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_77a2a3() {
+  vec3 res = vec3(1.17520117759704589844f);
+}
+void main() {
+  sinh_77a2a3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_77a2a3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_77a2a3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_77a2a3() {
+  vec3 res = vec3(1.17520117759704589844f);
+}
+void main() {
+  sinh_77a2a3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_77a2a3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_77a2a3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.ir.glsl
index 6c6485e..96c03a9 100644
--- a/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/7bb598.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sinh_7bb598() {
+  float arg_0 = 1.0f;
+  float res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_7bb598();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sinh_7bb598() {
+  float arg_0 = 1.0f;
+  float res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_7bb598();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sinh_7bb598() {
+  float arg_0 = 1.0f;
+  float res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_7bb598();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_7bb598();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.ir.glsl
index 6c6485e..80abb81 100644
--- a/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/924f19.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sinh_924f19() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_924f19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_924f19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_924f19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sinh_924f19() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_924f19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_924f19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_924f19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sinh_924f19() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_924f19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_924f19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_924f19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.ir.glsl
index d4bb1c9..502b0d6 100644
--- a/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/9c1092.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_9c1092() {
+  vec2 res = vec2(1.17520117759704589844f);
+}
+void main() {
+  sinh_9c1092();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_9c1092();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_9c1092();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_9c1092() {
+  vec2 res = vec2(1.17520117759704589844f);
+}
+void main() {
+  sinh_9c1092();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_9c1092();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_9c1092();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_9c1092() {
+  vec2 res = vec2(1.17520117759704589844f);
+}
+void main() {
+  sinh_9c1092();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_9c1092();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_9c1092();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.ir.glsl
index d4bb1c9..9aae8d2 100644
--- a/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/a3da7c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_a3da7c() {
+  vec4 res = vec4(1.17520117759704589844f);
+}
+void main() {
+  sinh_a3da7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_a3da7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_a3da7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_a3da7c() {
+  vec4 res = vec4(1.17520117759704589844f);
+}
+void main() {
+  sinh_a3da7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_a3da7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_a3da7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_a3da7c() {
+  vec4 res = vec4(1.17520117759704589844f);
+}
+void main() {
+  sinh_a3da7c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_a3da7c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_a3da7c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.ir.glsl
index 6c6485e..177407e 100644
--- a/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/b9860e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sinh_b9860e() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_b9860e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sinh_b9860e() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_b9860e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sinh_b9860e() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_b9860e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_b9860e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.ir.glsl
index 6c6485e..be50e3c 100644
--- a/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/ba7e25.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sinh_ba7e25() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_ba7e25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sinh_ba7e25() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_ba7e25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sinh_ba7e25() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_ba7e25();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_ba7e25();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.ir.glsl
index d4bb1c9..69b1191 100644
--- a/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/c4df74.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_c4df74() {
+  float res = 1.17520117759704589844f;
+}
+void main() {
+  sinh_c4df74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_c4df74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_c4df74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_c4df74() {
+  float res = 1.17520117759704589844f;
+}
+void main() {
+  sinh_c4df74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_c4df74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_c4df74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sinh_c4df74() {
+  float res = 1.17520117759704589844f;
+}
+void main() {
+  sinh_c4df74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sinh_c4df74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sinh_c4df74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.ir.glsl
index 6c6485e..03db81e 100644
--- a/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sinh/c9a5eb.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sinh_c9a5eb() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_c9a5eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sinh_c9a5eb() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_c9a5eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sinh_c9a5eb() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = sinh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sinh_c9a5eb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sinh_c9a5eb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.ir.glsl
index d4bb1c9..e191999 100644
--- a/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/0c481b.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c481b() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  smoothstep_0c481b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c481b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c481b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c481b() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  smoothstep_0c481b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c481b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c481b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c481b() {
+  vec2 res = vec2(0.5f);
+}
+void main() {
+  smoothstep_0c481b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c481b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c481b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.ir.glsl
index d4bb1c9..f740d57 100644
--- a/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/0c4ffc.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c4ffc() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  smoothstep_0c4ffc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c4ffc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c4ffc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c4ffc() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  smoothstep_0c4ffc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c4ffc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c4ffc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_0c4ffc() {
+  vec4 res = vec4(0.5f);
+}
+void main() {
+  smoothstep_0c4ffc();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_0c4ffc();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_0c4ffc();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.ir.glsl
index 6c6485e..33d109f 100644
--- a/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/12c031.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 smoothstep_12c031() {
+  f16vec2 arg_0 = f16vec2(2.0hf);
+  f16vec2 arg_1 = f16vec2(4.0hf);
+  f16vec2 arg_2 = f16vec2(3.0hf);
+  f16vec2 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_12c031();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 smoothstep_12c031() {
+  f16vec2 arg_0 = f16vec2(2.0hf);
+  f16vec2 arg_1 = f16vec2(4.0hf);
+  f16vec2 arg_2 = f16vec2(3.0hf);
+  f16vec2 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_12c031();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 smoothstep_12c031() {
+  f16vec2 arg_0 = f16vec2(2.0hf);
+  f16vec2 arg_1 = f16vec2(4.0hf);
+  f16vec2 arg_2 = f16vec2(3.0hf);
+  f16vec2 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_12c031();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_12c031();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.ir.glsl
index 6c6485e..7ffc3c1 100644
--- a/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/392c19.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 smoothstep_392c19() {
+  vec2 arg_0 = vec2(2.0f);
+  vec2 arg_1 = vec2(4.0f);
+  vec2 arg_2 = vec2(3.0f);
+  vec2 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_392c19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 smoothstep_392c19() {
+  vec2 arg_0 = vec2(2.0f);
+  vec2 arg_1 = vec2(4.0f);
+  vec2 arg_2 = vec2(3.0f);
+  vec2 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_392c19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 smoothstep_392c19() {
+  vec2 arg_0 = vec2(2.0f);
+  vec2 arg_1 = vec2(4.0f);
+  vec2 arg_2 = vec2(3.0f);
+  vec2 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_392c19();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_392c19();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.ir.glsl
index 6c6485e..fe186cf 100644
--- a/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/40864c.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 smoothstep_40864c() {
+  vec4 arg_0 = vec4(2.0f);
+  vec4 arg_1 = vec4(4.0f);
+  vec4 arg_2 = vec4(3.0f);
+  vec4 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_40864c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 smoothstep_40864c() {
+  vec4 arg_0 = vec4(2.0f);
+  vec4 arg_1 = vec4(4.0f);
+  vec4 arg_2 = vec4(3.0f);
+  vec4 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_40864c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 smoothstep_40864c() {
+  vec4 arg_0 = vec4(2.0f);
+  vec4 arg_1 = vec4(4.0f);
+  vec4 arg_2 = vec4(3.0f);
+  vec4 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_40864c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_40864c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.ir.glsl
index 6c6485e..cca7c5a 100644
--- a/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/586e12.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t smoothstep_586e12() {
+  float16_t arg_0 = 2.0hf;
+  float16_t arg_1 = 4.0hf;
+  float16_t arg_2 = 3.0hf;
+  float16_t res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_586e12();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t smoothstep_586e12() {
+  float16_t arg_0 = 2.0hf;
+  float16_t arg_1 = 4.0hf;
+  float16_t arg_2 = 3.0hf;
+  float16_t res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_586e12();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t smoothstep_586e12() {
+  float16_t arg_0 = 2.0hf;
+  float16_t arg_1 = 4.0hf;
+  float16_t arg_2 = 3.0hf;
+  float16_t res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_586e12();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_586e12();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.ir.glsl
index d4bb1c9..beadacd 100644
--- a/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/66e4bd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_66e4bd() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  smoothstep_66e4bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_66e4bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_66e4bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_66e4bd() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  smoothstep_66e4bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_66e4bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_66e4bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_66e4bd() {
+  vec3 res = vec3(0.5f);
+}
+void main() {
+  smoothstep_66e4bd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_66e4bd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_66e4bd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.ir.glsl
index 6c6485e..eef2131 100644
--- a/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/6c4975.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float smoothstep_6c4975() {
+  float arg_0 = 2.0f;
+  float arg_1 = 4.0f;
+  float arg_2 = 3.0f;
+  float res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6c4975();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float smoothstep_6c4975() {
+  float arg_0 = 2.0f;
+  float arg_1 = 4.0f;
+  float arg_2 = 3.0f;
+  float res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6c4975();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float smoothstep_6c4975() {
+  float arg_0 = 2.0f;
+  float arg_1 = 4.0f;
+  float arg_2 = 3.0f;
+  float res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6c4975();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6c4975();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.ir.glsl
index 6c6485e..2806979 100644
--- a/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/6e7a74.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 smoothstep_6e7a74() {
+  f16vec3 arg_0 = f16vec3(2.0hf);
+  f16vec3 arg_1 = f16vec3(4.0hf);
+  f16vec3 arg_2 = f16vec3(3.0hf);
+  f16vec3 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6e7a74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 smoothstep_6e7a74() {
+  f16vec3 arg_0 = f16vec3(2.0hf);
+  f16vec3 arg_1 = f16vec3(4.0hf);
+  f16vec3 arg_2 = f16vec3(3.0hf);
+  f16vec3 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6e7a74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 smoothstep_6e7a74() {
+  f16vec3 arg_0 = f16vec3(2.0hf);
+  f16vec3 arg_1 = f16vec3(4.0hf);
+  f16vec3 arg_2 = f16vec3(3.0hf);
+  f16vec3 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_6e7a74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_6e7a74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.ir.glsl
index d4bb1c9..33fc9d0 100644
--- a/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/a80fff.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_a80fff() {
+  float res = 0.5f;
+}
+void main() {
+  smoothstep_a80fff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_a80fff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_a80fff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_a80fff() {
+  float res = 0.5f;
+}
+void main() {
+  smoothstep_a80fff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_a80fff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_a80fff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void smoothstep_a80fff() {
+  float res = 0.5f;
+}
+void main() {
+  smoothstep_a80fff();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  smoothstep_a80fff();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  smoothstep_a80fff();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.ir.glsl
index 6c6485e..96fa3a9 100644
--- a/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/aad1db.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 smoothstep_aad1db() {
+  vec3 arg_0 = vec3(2.0f);
+  vec3 arg_1 = vec3(4.0f);
+  vec3 arg_2 = vec3(3.0f);
+  vec3 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_aad1db();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 smoothstep_aad1db() {
+  vec3 arg_0 = vec3(2.0f);
+  vec3 arg_1 = vec3(4.0f);
+  vec3 arg_2 = vec3(3.0f);
+  vec3 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_aad1db();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 smoothstep_aad1db() {
+  vec3 arg_0 = vec3(2.0f);
+  vec3 arg_1 = vec3(4.0f);
+  vec3 arg_2 = vec3(3.0f);
+  vec3 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_aad1db();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_aad1db();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.ir.glsl
index 6c6485e..0c4061a 100644
--- a/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/smoothstep/c43ebd.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 smoothstep_c43ebd() {
+  f16vec4 arg_0 = f16vec4(2.0hf);
+  f16vec4 arg_1 = f16vec4(4.0hf);
+  f16vec4 arg_2 = f16vec4(3.0hf);
+  f16vec4 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_c43ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 smoothstep_c43ebd() {
+  f16vec4 arg_0 = f16vec4(2.0hf);
+  f16vec4 arg_1 = f16vec4(4.0hf);
+  f16vec4 arg_2 = f16vec4(3.0hf);
+  f16vec4 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_c43ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 smoothstep_c43ebd() {
+  f16vec4 arg_0 = f16vec4(2.0hf);
+  f16vec4 arg_1 = f16vec4(4.0hf);
+  f16vec4 arg_2 = f16vec4(3.0hf);
+  f16vec4 res = smoothstep(arg_0, arg_1, arg_2);
+  return res;
+}
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = smoothstep_c43ebd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = smoothstep_c43ebd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.ir.glsl
index d4bb1c9..f3c7ff0 100644
--- a/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/072192.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_072192() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sqrt_072192();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_072192();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_072192();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_072192() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sqrt_072192();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_072192();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_072192();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_072192() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  sqrt_072192();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_072192();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_072192();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.ir.glsl
index 6c6485e..3744551 100644
--- a/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/20c74e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sqrt_20c74e() {
+  float arg_0 = 1.0f;
+  float res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_20c74e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sqrt_20c74e() {
+  float arg_0 = 1.0f;
+  float res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_20c74e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float sqrt_20c74e() {
+  float arg_0 = 1.0f;
+  float res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_20c74e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_20c74e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.ir.glsl
index d4bb1c9..6d0cd90 100644
--- a/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/4ac2c5.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_4ac2c5() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sqrt_4ac2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_4ac2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_4ac2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_4ac2c5() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sqrt_4ac2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_4ac2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_4ac2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_4ac2c5() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  sqrt_4ac2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_4ac2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_4ac2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.ir.glsl
index 6c6485e..0f853a3 100644
--- a/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/803d1c.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sqrt_803d1c() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_803d1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sqrt_803d1c() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_803d1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 sqrt_803d1c() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_803d1c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_803d1c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.ir.glsl
index 6c6485e..9d64ac2 100644
--- a/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/895a0c.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sqrt_895a0c() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_895a0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sqrt_895a0c() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_895a0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 sqrt_895a0c() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_895a0c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_895a0c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.ir.glsl
index 6c6485e..793cd5f 100644
--- a/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/8c7024.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sqrt_8c7024() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_8c7024();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sqrt_8c7024() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_8c7024();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 sqrt_8c7024() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_8c7024();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_8c7024();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.ir.glsl
index d4bb1c9..e11044e 100644
--- a/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/8da177.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_8da177() {
+  float res = 1.0f;
+}
+void main() {
+  sqrt_8da177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_8da177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_8da177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_8da177() {
+  float res = 1.0f;
+}
+void main() {
+  sqrt_8da177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_8da177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_8da177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_8da177() {
+  float res = 1.0f;
+}
+void main() {
+  sqrt_8da177();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_8da177();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_8da177();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.ir.glsl
index d4bb1c9..11cbc1e 100644
--- a/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/9c5cbe.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_9c5cbe() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sqrt_9c5cbe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_9c5cbe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_9c5cbe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_9c5cbe() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sqrt_9c5cbe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_9c5cbe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_9c5cbe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void sqrt_9c5cbe() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  sqrt_9c5cbe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  sqrt_9c5cbe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  sqrt_9c5cbe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.ir.glsl
index 6c6485e..2d0d24a 100644
--- a/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/aa0d7a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sqrt_aa0d7a() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_aa0d7a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sqrt_aa0d7a() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_aa0d7a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 sqrt_aa0d7a() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_aa0d7a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_aa0d7a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.ir.glsl
index 6c6485e..3710cc3 100644
--- a/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/d9ab4d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sqrt_d9ab4d() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_d9ab4d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sqrt_d9ab4d() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_d9ab4d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 sqrt_d9ab4d() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_d9ab4d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_d9ab4d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.ir.glsl
index 6c6485e..fe7a8cc 100644
--- a/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/ec33e9.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sqrt_ec33e9() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_ec33e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sqrt_ec33e9() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_ec33e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t sqrt_ec33e9() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_ec33e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_ec33e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.ir.glsl
index 6c6485e..a43ad2e 100644
--- a/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/sqrt/f8c59a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sqrt_f8c59a() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_f8c59a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sqrt_f8c59a() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_f8c59a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 sqrt_f8c59a() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = sqrt(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = sqrt_f8c59a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = sqrt_f8c59a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.ir.glsl
index 6c6485e..743876b 100644
--- a/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/07cb06.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 step_07cb06() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_07cb06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_07cb06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_07cb06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 step_07cb06() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_07cb06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_07cb06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_07cb06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 step_07cb06() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 arg_1 = f16vec2(1.0hf);
+  f16vec2 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_07cb06();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_07cb06();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_07cb06();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.ir.glsl
index 6c6485e..cc980d8 100644
--- a/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/0b073b.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float step_0b073b() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_0b073b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_0b073b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_0b073b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float step_0b073b() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_0b073b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_0b073b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_0b073b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float step_0b073b() {
+  float arg_0 = 1.0f;
+  float arg_1 = 1.0f;
+  float res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_0b073b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_0b073b();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_0b073b();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/19accd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/19accd.wgsl.expected.ir.glsl
index 6c6485e..3d26372 100644
--- a/test/tint/builtins/gen/var/step/19accd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/19accd.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 step_19accd() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_19accd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_19accd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_19accd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 step_19accd() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_19accd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_19accd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_19accd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 step_19accd() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 arg_1 = vec2(1.0f);
+  vec2 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_19accd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_19accd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_19accd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/334303.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/334303.wgsl.expected.ir.glsl
index 6c6485e..ff998f4 100644
--- a/test/tint/builtins/gen/var/step/334303.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/334303.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 step_334303() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_334303();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_334303();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_334303();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 step_334303() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_334303();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_334303();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_334303();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 step_334303() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 arg_1 = vec3(1.0f);
+  vec3 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_334303();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_334303();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_334303();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.ir.glsl
index d4bb1c9..d701f8b 100644
--- a/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/38cd79.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_38cd79() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  step_38cd79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_38cd79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_38cd79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_38cd79() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  step_38cd79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_38cd79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_38cd79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_38cd79() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  step_38cd79();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_38cd79();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_38cd79();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/415879.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/415879.wgsl.expected.ir.glsl
index d4bb1c9..aa27fee 100644
--- a/test/tint/builtins/gen/var/step/415879.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/415879.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_415879() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  step_415879();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_415879();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_415879();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_415879() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  step_415879();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_415879();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_415879();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_415879() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  step_415879();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_415879();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_415879();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/630d07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/630d07.wgsl.expected.ir.glsl
index 6c6485e..03ccd46 100644
--- a/test/tint/builtins/gen/var/step/630d07.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/630d07.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t step_630d07() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_630d07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_630d07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_630d07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t step_630d07() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_630d07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_630d07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_630d07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t step_630d07() {
+  float16_t arg_0 = 1.0hf;
+  float16_t arg_1 = 1.0hf;
+  float16_t res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_630d07();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_630d07();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_630d07();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.ir.glsl
index d4bb1c9..1eae3d6 100644
--- a/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/7c7e5c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_7c7e5c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  step_7c7e5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_7c7e5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_7c7e5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_7c7e5c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  step_7c7e5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_7c7e5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_7c7e5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_7c7e5c() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  step_7c7e5c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_7c7e5c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_7c7e5c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/baa320.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/baa320.wgsl.expected.ir.glsl
index 6c6485e..b078219 100644
--- a/test/tint/builtins/gen/var/step/baa320.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/baa320.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 step_baa320() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_baa320();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_baa320();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_baa320();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 step_baa320() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_baa320();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_baa320();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_baa320();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 step_baa320() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 arg_1 = f16vec4(1.0hf);
+  f16vec4 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_baa320();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_baa320();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_baa320();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.ir.glsl
index 6c6485e..565919b 100644
--- a/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/cc6b61.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 step_cc6b61() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_cc6b61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_cc6b61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_cc6b61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 step_cc6b61() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_cc6b61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_cc6b61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_cc6b61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'main' : function already has a body 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 step_cc6b61() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 arg_1 = f16vec3(1.0hf);
+  f16vec3 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_cc6b61();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_cc6b61();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_cc6b61();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.ir.glsl
index 6c6485e..657481d 100644
--- a/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/e2b337.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 step_e2b337() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_e2b337();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_e2b337();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_e2b337();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 step_e2b337() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_e2b337();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_e2b337();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_e2b337();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 step_e2b337() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 arg_1 = vec4(1.0f);
+  vec4 res = step(arg_0, arg_1);
+  return res;
+}
+void main() {
+  prevent_dce = step_e2b337();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = step_e2b337();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = step_e2b337();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.ir.glsl
index d4bb1c9..497d392 100644
--- a/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/step/f9b70c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_f9b70c() {
+  float res = 1.0f;
+}
+void main() {
+  step_f9b70c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_f9b70c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_f9b70c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_f9b70c() {
+  float res = 1.0f;
+}
+void main() {
+  step_f9b70c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_f9b70c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_f9b70c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void step_f9b70c() {
+  float res = 1.0f;
+}
+void main() {
+  step_f9b70c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  step_f9b70c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  step_f9b70c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/storageBarrier/d87211.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/storageBarrier/d87211.wgsl.expected.ir.glsl
index 6c6485e..35040d5 100644
--- a/test/tint/builtins/gen/var/storageBarrier/d87211.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/storageBarrier/d87211.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: storageBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/0dd12a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/0dd12a.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/0dd12a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/0dd12a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/1280c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/1280c8.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/1280c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/1280c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/1eb429.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/1eb429.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/1eb429.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/1eb429.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/225207.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/225207.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/225207.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/225207.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/22d041.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/22d041.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/22d041.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/22d041.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/28db2c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/28db2c.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/28db2c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/28db2c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/2ab40a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/2ab40a.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/2ab40a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/2ab40a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/3854ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/3854ae.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/3854ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/3854ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/6587ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/6587ff.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/6587ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/6587ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/7d1215.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/7d1215.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/7d1215.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/7d1215.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/8f4c15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/8f4c15.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/8f4c15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/8f4c15.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/b61df7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/b61df7.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/b61df7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/b61df7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/ba53f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/ba53f9.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/ba53f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/ba53f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/cae1ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/cae1ed.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/cae1ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/cae1ed.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/dcf73f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/dcf73f.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/dcf73f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/dcf73f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAdd/fbc357.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAdd/fbc357.wgsl.expected.ir.glsl
index 6c6485e..54448b9 100644
--- a/test/tint/builtins/gen/var/subgroupAdd/fbc357.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAdd/fbc357.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAll/c962bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAll/c962bd.wgsl.expected.ir.glsl
index 6c6485e..7bca5b0 100644
--- a/test/tint/builtins/gen/var/subgroupAll/c962bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAll/c962bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAll
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAnd/1877b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAnd/1877b3.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/var/subgroupAnd/1877b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAnd/1877b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAnd/376802.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAnd/376802.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/var/subgroupAnd/376802.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAnd/376802.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAnd/4adc72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAnd/4adc72.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/var/subgroupAnd/4adc72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAnd/4adc72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAnd/4df632.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAnd/4df632.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/var/subgroupAnd/4df632.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAnd/4df632.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAnd/97655b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAnd/97655b.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/var/subgroupAnd/97655b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAnd/97655b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAnd/ad0cd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAnd/ad0cd3.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/var/subgroupAnd/ad0cd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAnd/ad0cd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAnd/c6fc92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAnd/c6fc92.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/var/subgroupAnd/c6fc92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAnd/c6fc92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAnd/d2c9a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAnd/d2c9a6.wgsl.expected.ir.glsl
index 6c6485e..2210c54 100644
--- a/test/tint/builtins/gen/var/subgroupAnd/d2c9a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAnd/d2c9a6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAnd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupAny/cddda0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupAny/cddda0.wgsl.expected.ir.glsl
index 6c6485e..88a7215 100644
--- a/test/tint/builtins/gen/var/subgroupAny/cddda0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupAny/cddda0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupAny
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBallot/1a8251.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBallot/1a8251.wgsl.expected.ir.glsl
index 6c6485e..4c6b3c6 100644
--- a/test/tint/builtins/gen/var/subgroupBallot/1a8251.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBallot/1a8251.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBallot
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/02f329.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/02f329.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/02f329.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/02f329.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/07e2d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/07e2d8.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/07e2d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/07e2d8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/08beca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/08beca.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/08beca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/08beca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/0f44e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/0f44e2.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/0f44e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/0f44e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/13f36c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/13f36c.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/13f36c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/13f36c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/1d79c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/1d79c7.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/1d79c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/1d79c7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/279027.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/279027.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/279027.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/279027.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/2b59c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/2b59c9.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/2b59c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/2b59c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/34ae44.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/34ae44.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/34ae44.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/34ae44.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/34fa3d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/34fa3d.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/34fa3d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/34fa3d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/3e6879.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/3e6879.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/3e6879.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/3e6879.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/41e5d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/41e5d7.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/41e5d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/41e5d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/49de94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/4a4334.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/4a4334.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/4a4334.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/4a4334.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/5196c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/5196c8.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/5196c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/5196c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/6290a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/6290a2.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/6290a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/6290a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/719ad6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/719ad6.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/719ad6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/719ad6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/727609.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/727609.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/727609.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/727609.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/838c78.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/838c78.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/838c78.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/838c78.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/867093.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/8855b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/8855b2.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/8855b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/8855b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/912ff5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/912ff5.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/912ff5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/912ff5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/9ccdca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/a279d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/a279d7.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/a279d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/a279d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/a3b3e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/a3b3e5.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/a3b3e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/a3b3e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/b7e93b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/b7e93b.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/b7e93b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/b7e93b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/c36fe1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/c36fe1.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/c36fe1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/c36fe1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/cd7aa1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/cd7aa1.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/cd7aa1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/cd7aa1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/e275c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/e275c8.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/e275c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/e275c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/e4dd1a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/e4dd1a.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/e4dd1a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/e4dd1a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/f637f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/f637f9.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/f637f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/f637f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcast/fa6810.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcast/fa6810.wgsl.expected.ir.glsl
index 6c6485e..19afb10 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcast/fa6810.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcast/fa6810.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/0538e1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/0538e1.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/0538e1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/0538e1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/0e58ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/0e58ec.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/0e58ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/0e58ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/151e52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/151e52.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/151e52.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/151e52.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/1d9530.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/1d9530.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/1d9530.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/1d9530.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/5c6962.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/5c6962.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/5c6962.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/5c6962.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/5e5b6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/5e5b6f.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/5e5b6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/5e5b6f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/612d6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/612d6f.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/612d6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/612d6f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/61f177.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/61f177.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/61f177.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/61f177.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/6945f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/6945f6.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/6945f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/6945f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/705aad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/705aad.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/705aad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/705aad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/85b351.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/85b351.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/85b351.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/85b351.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/8ae580.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/8ae580.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/8ae580.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/8ae580.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/9a1bdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/9a1bdc.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/9a1bdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/9a1bdc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/9dccee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/9dccee.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/9dccee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/9dccee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/a11307.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/a11307.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/a11307.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/a11307.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupBroadcastFirst/e820d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupBroadcastFirst/e820d4.wgsl.expected.ir.glsl
index 6c6485e..8ed4584 100644
--- a/test/tint/builtins/gen/var/subgroupBroadcastFirst/e820d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupBroadcastFirst/e820d4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupBroadcastFirst
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupElect/3943d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupElect/3943d6.wgsl.expected.ir.glsl
index 6c6485e..46ce550 100644
--- a/test/tint/builtins/gen/var/subgroupElect/3943d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupElect/3943d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupElect
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/01de08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/01de08.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/01de08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/01de08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/0ff95a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/0ff95a.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/0ff95a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/0ff95a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/406ab4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/406ab4.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/406ab4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/406ab4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/41cfde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/41cfde.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/41cfde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/41cfde.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/42684c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/42684c.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/42684c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/42684c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/48acea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/48acea.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/48acea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/48acea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/4a1568.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/4a1568.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/4a1568.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/4a1568.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/4c8024.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/4c8024.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/4c8024.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/4c8024.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/71ad0f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/71ad0f.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/71ad0f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/71ad0f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/95e984.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/95e984.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/95e984.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/95e984.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/967e38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/967e38.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/967e38.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/967e38.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/b0c261.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/b0c261.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/b0c261.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/b0c261.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/c08160.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/c08160.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/c08160.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/c08160.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/e58e23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/e58e23.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/e58e23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/e58e23.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/ec300f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/ec300f.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/ec300f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/ec300f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveAdd/f0f712.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveAdd/f0f712.wgsl.expected.ir.glsl
index 6c6485e..98d99fd 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveAdd/f0f712.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveAdd/f0f712.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveAdd
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/000b92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/000b92.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/000b92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/000b92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/019660.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/019660.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/019660.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/019660.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/0a04d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/0a04d5.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/0a04d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/0a04d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/13ba26.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/13ba26.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/13ba26.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/13ba26.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/25d1b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/25d1b9.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/25d1b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/25d1b9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/4525a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/4525a3.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/4525a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/4525a3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/6f431e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/6f431e.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/6f431e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/6f431e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/7b5f57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/7b5f57.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/7b5f57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/7b5f57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/87f23e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/87f23e.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/87f23e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/87f23e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/98b2e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/98b2e4.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/98b2e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/98b2e4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/a07956.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/a07956.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/a07956.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/a07956.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/a23002.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/a23002.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/a23002.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/a23002.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/d1d490.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/d1d490.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/d1d490.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/d1d490.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/dc51f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/dc51f8.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/dc51f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/dc51f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/e88d1c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/e88d1c.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/e88d1c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/e88d1c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupExclusiveMul/f039f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupExclusiveMul/f039f4.wgsl.expected.ir.glsl
index 6c6485e..56dc2f2 100644
--- a/test/tint/builtins/gen/var/subgroupExclusiveMul/f039f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupExclusiveMul/f039f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupExclusiveMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/0b0375.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/0b0375.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/0b0375.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/0b0375.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/15ccbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/15ccbf.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/15ccbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/15ccbf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/1a1a5f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/1a1a5f.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/1a1a5f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/1a1a5f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/1fc846.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/1fc846.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/1fc846.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/1fc846.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/23f502.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/23f502.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/23f502.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/23f502.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/33e339.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/33e339.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/33e339.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/33e339.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/4ea90e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/4ea90e.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/4ea90e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/4ea90e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/5611a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/5611a5.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/5611a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/5611a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/6c913e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/6c913e.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/6c913e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/6c913e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/7c934c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/7c934c.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/7c934c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/7c934c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/7e81ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/7e81ea.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/7e81ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/7e81ea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/932164.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/932164.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/932164.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/932164.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/a3afe3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/a3afe3.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/a3afe3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/a3afe3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/a3d5f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/a3d5f7.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/a3d5f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/a3d5f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/b58cbf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/b58cbf.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/b58cbf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/b58cbf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMax/b8fb0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMax/b8fb0e.wgsl.expected.ir.glsl
index 6c6485e..4f22854 100644
--- a/test/tint/builtins/gen/var/subgroupMax/b8fb0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMax/b8fb0e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMax
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/030ad6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/030ad6.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/030ad6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/030ad6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/0bc13a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/0bc13a.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/0bc13a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/0bc13a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/1de104.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/1de104.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/1de104.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/1de104.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/2493ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/2493ab.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/2493ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/2493ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/2d8828.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/2d8828.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/2d8828.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/2d8828.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/337a21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/337a21.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/337a21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/337a21.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/7def0a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/7def0a.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/7def0a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/7def0a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/82ef23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/82ef23.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/82ef23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/82ef23.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/836960.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/836960.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/836960.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/836960.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/8bb8c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/8bb8c1.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/8bb8c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/8bb8c1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/8ffadc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/8ffadc.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/8ffadc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/8ffadc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/a96a2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/a96a2e.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/a96a2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/a96a2e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/bbd9b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/bbd9b0.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/bbd9b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/bbd9b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/c6da7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/c6da7c.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/c6da7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/c6da7c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/cd3b9d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/cd3b9d.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/cd3b9d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/cd3b9d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMin/d85be6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMin/d85be6.wgsl.expected.ir.glsl
index 6c6485e..b353cd9 100644
--- a/test/tint/builtins/gen/var/subgroupMin/d85be6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMin/d85be6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMin
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/0de9d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/0de9d3.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/0de9d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/0de9d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/2941a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/2941a2.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/2941a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/2941a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/3fe886.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/3fe886.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/3fe886.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/3fe886.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/4f8ee6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/4f8ee6.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/4f8ee6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/4f8ee6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/53aee2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/53aee2.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/53aee2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/53aee2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/5a8c86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/5a8c86.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/5a8c86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/5a8c86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/66c813.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/66c813.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/66c813.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/66c813.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/6aaaf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/6aaaf3.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/6aaaf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/6aaaf3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/93eccd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/93eccd.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/93eccd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/93eccd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/d584a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/d584a2.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/d584a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/d584a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/dc672a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/dc672a.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/dc672a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/dc672a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/dd1333.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/dd1333.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/dd1333.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/dd1333.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/f2ac5b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/f2ac5b.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/f2ac5b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/f2ac5b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/f78398.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/f78398.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/f78398.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/f78398.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/fa781b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/fa781b.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/fa781b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/fa781b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupMul/fab258.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupMul/fab258.wgsl.expected.ir.glsl
index 6c6485e..ee9a3f8 100644
--- a/test/tint/builtins/gen/var/subgroupMul/fab258.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupMul/fab258.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupMul
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupOr/03343f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupOr/03343f.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/var/subgroupOr/03343f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupOr/03343f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupOr/0bc264.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupOr/0bc264.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/var/subgroupOr/0bc264.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupOr/0bc264.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupOr/3f60e0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupOr/3f60e0.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/var/subgroupOr/3f60e0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupOr/3f60e0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupOr/4d4eb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupOr/4d4eb0.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/var/subgroupOr/4d4eb0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupOr/4d4eb0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupOr/663a21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupOr/663a21.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/var/subgroupOr/663a21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupOr/663a21.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupOr/aa74f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupOr/aa74f7.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/var/subgroupOr/aa74f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupOr/aa74f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupOr/ae58b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupOr/ae58b6.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/var/subgroupOr/ae58b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupOr/ae58b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupOr/f915e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupOr/f915e3.wgsl.expected.ir.glsl
index 6c6485e..9b499f0 100644
--- a/test/tint/builtins/gen/var/subgroupOr/f915e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupOr/f915e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupOr
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/030422.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/030422.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/030422.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/030422.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/1f664c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/1f664c.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/1f664c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/1f664c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/21f083.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/21f083.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/21f083.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/21f083.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/2ee993.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/2ee993.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/2ee993.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/2ee993.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/323416.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/323416.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/323416.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/323416.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/4752bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/4752bd.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/4752bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/4752bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/4cbb69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/4cbb69.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/4cbb69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/4cbb69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/4f5711.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/4f5711.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/4f5711.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/4f5711.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/54f328.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/54f328.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/54f328.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/54f328.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/5dfeab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/5dfeab.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/5dfeab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/5dfeab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/5ef5a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/5ef5a2.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/5ef5a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/5ef5a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/647034.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/647034.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/647034.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/647034.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/7ba2d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/7ba2d5.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/7ba2d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/7ba2d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/7c5d64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/7c5d64.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/7c5d64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/7c5d64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/7d7b1e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/7d7b1e.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/7d7b1e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/7d7b1e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/821df9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/821df9.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/821df9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/821df9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/824702.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/824702.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/824702.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/824702.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/84f261.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/84f261.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/84f261.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/84f261.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/85587b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/85587b.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/85587b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/85587b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/8890a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/8890a5.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/8890a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/8890a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/8bfbcd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/8bfbcd.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/8bfbcd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/8bfbcd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/8c3fd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/8c3fd2.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/8c3fd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/8c3fd2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/aa1d5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/aa1d5c.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/aa1d5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/aa1d5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/b0f28d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/b0f28d.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/b0f28d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/b0f28d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/b4bbb7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/b4bbb7.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/b4bbb7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/b4bbb7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/bbb06c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/bbb06c.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/bbb06c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/bbb06c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/d4a772.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/d4a772.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/d4a772.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/d4a772.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/d9ff67.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/d9ff67.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/d9ff67.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/d9ff67.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/e13c81.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/e13c81.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/e13c81.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/e13c81.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/e854d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/e854d5.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/e854d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/e854d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/f194f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/f194f5.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/f194f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/f194f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffle/fb4ab9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffle/fb4ab9.wgsl.expected.ir.glsl
index 6c6485e..e699a54 100644
--- a/test/tint/builtins/gen/var/subgroupShuffle/fb4ab9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffle/fb4ab9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffle
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/10eb45.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/10eb45.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/10eb45.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/10eb45.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/1b530f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/1b530f.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/1b530f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/1b530f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/257ff0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/257ff0.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/257ff0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/257ff0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/313d9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/313d9b.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/313d9b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/313d9b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/57b1e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/57b1e8.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/57b1e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/57b1e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/5d8b9f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/5d8b9f.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/5d8b9f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/5d8b9f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/63fdb0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/63fdb0.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/63fdb0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/63fdb0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/642789.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/642789.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/642789.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/642789.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/7a0cf5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/7a0cf5.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/7a0cf5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/7a0cf5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/7f8886.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/7f8886.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/7f8886.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/7f8886.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/9c6714.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/9c6714.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/9c6714.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/9c6714.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/b41899.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/b41899.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/b41899.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/b41899.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/c9f1c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/c9f1c4.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/c9f1c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/c9f1c4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/d269eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/d269eb.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/d269eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/d269eb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/d46304.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/d46304.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/d46304.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/d46304.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleDown/d90c2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleDown/d90c2f.wgsl.expected.ir.glsl
index 6c6485e..e483f07 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleDown/d90c2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleDown/d90c2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleDown
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/0990cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/0990cd.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/0990cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/0990cd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/1bb93f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/1bb93f.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/1bb93f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/1bb93f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/23c7ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/23c7ca.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/23c7ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/23c7ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/3242a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/3242a6.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/3242a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/3242a6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/33d495.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/33d495.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/33d495.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/33d495.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/3e609f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/3e609f.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/3e609f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/3e609f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/58de69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/58de69.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/58de69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/58de69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/868e52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/868e52.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/868e52.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/868e52.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/87c9d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/87c9d6.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/87c9d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/87c9d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/88eb07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/88eb07.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/88eb07.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/88eb07.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/8a63f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/8a63f3.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/8a63f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/8a63f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/a2075a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/a2075a.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/a2075a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/a2075a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/abaea0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/abaea0.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/abaea0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/abaea0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/b58804.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/b58804.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/b58804.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/b58804.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/bbf7f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/bbf7f4.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/bbf7f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/bbf7f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleUp/db5bcb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleUp/db5bcb.wgsl.expected.ir.glsl
index 6c6485e..922c654 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleUp/db5bcb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleUp/db5bcb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleUp
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/071aa0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/071aa0.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/071aa0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/071aa0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/08f588.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/08f588.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/08f588.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/08f588.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/1d36b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/1d36b6.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/1d36b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/1d36b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/1e247f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/1e247f.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/1e247f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/1e247f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/1f2590.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/1f2590.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/1f2590.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/1f2590.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/2e033d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/2e033d.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/2e033d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/2e033d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/445e83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/445e83.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/445e83.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/445e83.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/7435fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/7435fe.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/7435fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/7435fe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/80b6e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/80b6e9.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/80b6e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/80b6e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/9f945a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/9f945a.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/9f945a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/9f945a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/bdddba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/bdddba.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/bdddba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/bdddba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/c88290.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/c88290.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/c88290.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/c88290.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/caa816.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/caa816.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/caa816.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/caa816.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/d224ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/d224ab.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/d224ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/d224ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/e3c10b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/e3c10b.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/e3c10b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/e3c10b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupShuffleXor/f7b453.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupShuffleXor/f7b453.wgsl.expected.ir.glsl
index 6c6485e..f577df3 100644
--- a/test/tint/builtins/gen/var/subgroupShuffleXor/f7b453.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupShuffleXor/f7b453.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupShuffleXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupXor/468721.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupXor/468721.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/var/subgroupXor/468721.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupXor/468721.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupXor/473de8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupXor/473de8.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/var/subgroupXor/473de8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupXor/473de8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupXor/694b17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupXor/694b17.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/var/subgroupXor/694b17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupXor/694b17.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupXor/7750d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupXor/7750d6.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/var/subgroupXor/7750d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupXor/7750d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupXor/7f6672.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupXor/7f6672.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/var/subgroupXor/7f6672.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupXor/7f6672.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupXor/83b1f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupXor/83b1f3.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/var/subgroupXor/83b1f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupXor/83b1f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupXor/9c6e73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupXor/9c6e73.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/var/subgroupXor/9c6e73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupXor/9c6e73.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/subgroupXor/9d77e4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/subgroupXor/9d77e4.wgsl.expected.ir.glsl
index 6c6485e..bd21226 100644
--- a/test/tint/builtins/gen/var/subgroupXor/9d77e4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/subgroupXor/9d77e4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: subgroupXor
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.ir.glsl
index 6c6485e..af351e9 100644
--- a/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/244e2a.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tan_244e2a() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_244e2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_244e2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_244e2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tan_244e2a() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_244e2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_244e2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_244e2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tan_244e2a() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_244e2a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_244e2a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_244e2a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.ir.glsl
index 6c6485e..8daa360 100644
--- a/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/2f030e.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tan_2f030e() {
+  float arg_0 = 1.0f;
+  float res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_2f030e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_2f030e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_2f030e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tan_2f030e() {
+  float arg_0 = 1.0f;
+  float res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_2f030e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_2f030e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_2f030e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tan_2f030e() {
+  float arg_0 = 1.0f;
+  float res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_2f030e();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_2f030e();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_2f030e();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/311400.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/311400.wgsl.expected.ir.glsl
index d4bb1c9..47eb319 100644
--- a/test/tint/builtins/gen/var/tan/311400.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/311400.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_311400() {
+  float res = 1.55740773677825927734f;
+}
+void main() {
+  tan_311400();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_311400();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_311400();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_311400() {
+  float res = 1.55740773677825927734f;
+}
+void main() {
+  tan_311400();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_311400();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_311400();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_311400() {
+  float res = 1.55740773677825927734f;
+}
+void main() {
+  tan_311400();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_311400();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_311400();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.ir.glsl
index 6c6485e..d9851ac 100644
--- a/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/539e54.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tan_539e54() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_539e54();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_539e54();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_539e54();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tan_539e54() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_539e54();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_539e54();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_539e54();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tan_539e54() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_539e54();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_539e54();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_539e54();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.ir.glsl
index d4bb1c9..5bb5992 100644
--- a/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/7be368.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_7be368() {
+  vec2 res = vec2(1.55740773677825927734f);
+}
+void main() {
+  tan_7be368();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_7be368();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_7be368();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_7be368() {
+  vec2 res = vec2(1.55740773677825927734f);
+}
+void main() {
+  tan_7be368();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_7be368();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_7be368();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_7be368() {
+  vec2 res = vec2(1.55740773677825927734f);
+}
+void main() {
+  tan_7be368();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_7be368();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_7be368();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.ir.glsl
index 6c6485e..35b450f 100644
--- a/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/7ea104.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tan_7ea104() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_7ea104();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_7ea104();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_7ea104();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tan_7ea104() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_7ea104();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_7ea104();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_7ea104();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tan_7ea104() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_7ea104();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_7ea104();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_7ea104();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.ir.glsl
index 6c6485e..80000f6 100644
--- a/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/8ce3e9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tan_8ce3e9() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_8ce3e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tan_8ce3e9() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_8ce3e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tan_8ce3e9() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_8ce3e9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_8ce3e9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.ir.glsl
index 6c6485e..c9a6409 100644
--- a/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/9f7c9c.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tan_9f7c9c() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_9f7c9c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tan_9f7c9c() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_9f7c9c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tan_9f7c9c() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_9f7c9c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_9f7c9c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.ir.glsl
index d4bb1c9..30f1985 100644
--- a/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/a0966f.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_a0966f() {
+  vec4 res = vec4(1.55740773677825927734f);
+}
+void main() {
+  tan_a0966f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_a0966f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_a0966f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_a0966f() {
+  vec4 res = vec4(1.55740773677825927734f);
+}
+void main() {
+  tan_a0966f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_a0966f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_a0966f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_a0966f() {
+  vec4 res = vec4(1.55740773677825927734f);
+}
+void main() {
+  tan_a0966f();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_a0966f();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_a0966f();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.ir.glsl
index d4bb1c9..453e57f 100644
--- a/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/ae26ae.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_ae26ae() {
+  vec3 res = vec3(1.55740773677825927734f);
+}
+void main() {
+  tan_ae26ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_ae26ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_ae26ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_ae26ae() {
+  vec3 res = vec3(1.55740773677825927734f);
+}
+void main() {
+  tan_ae26ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_ae26ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_ae26ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tan_ae26ae() {
+  vec3 res = vec3(1.55740773677825927734f);
+}
+void main() {
+  tan_ae26ae();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tan_ae26ae();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tan_ae26ae();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.ir.glsl
index 6c6485e..b051583 100644
--- a/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/d4d491.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tan_d4d491() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_d4d491();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_d4d491();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_d4d491();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tan_d4d491() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_d4d491();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_d4d491();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_d4d491();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tan_d4d491() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_d4d491();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_d4d491();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_d4d491();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.ir.glsl
index 6c6485e..50c6231 100644
--- a/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tan/db0456.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tan_db0456() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_db0456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_db0456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_db0456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tan_db0456() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_db0456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_db0456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_db0456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tan_db0456() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = tan(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tan_db0456();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tan_db0456();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tan_db0456();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.ir.glsl
index 6c6485e..58fd9ab 100644
--- a/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/06a4fe.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tanh_06a4fe() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_06a4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tanh_06a4fe() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_06a4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 tanh_06a4fe() {
+  f16vec3 arg_0 = f16vec3(1.0hf);
+  f16vec3 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_06a4fe();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_06a4fe();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.ir.glsl
index d4bb1c9..63d9b15 100644
--- a/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/313aa1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_313aa1() {
+  float res = 0.76159417629241943359f;
+}
+void main() {
+  tanh_313aa1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_313aa1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_313aa1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_313aa1() {
+  float res = 0.76159417629241943359f;
+}
+void main() {
+  tanh_313aa1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_313aa1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_313aa1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_313aa1() {
+  float res = 0.76159417629241943359f;
+}
+void main() {
+  tanh_313aa1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_313aa1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_313aa1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.ir.glsl
index 6c6485e..15f7c73 100644
--- a/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/5663c5.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tanh_5663c5() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5663c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tanh_5663c5() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5663c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 tanh_5663c5() {
+  vec4 arg_0 = vec4(1.0f);
+  vec4 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5663c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5663c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.ir.glsl
index 6c6485e..d1b5a11 100644
--- a/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/5724b3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tanh_5724b3() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5724b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tanh_5724b3() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5724b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 tanh_5724b3() {
+  vec2 arg_0 = vec2(1.0f);
+  vec2 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5724b3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5724b3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.ir.glsl
index 6c6485e..f967f9e 100644
--- a/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/5b19af.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tanh_5b19af() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5b19af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tanh_5b19af() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5b19af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t tanh_5b19af() {
+  float16_t arg_0 = 1.0hf;
+  float16_t res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_5b19af();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_5b19af();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.ir.glsl
index d4bb1c9..1467d1c 100644
--- a/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/6289fd.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_6289fd() {
+  vec3 res = vec3(0.76159417629241943359f);
+}
+void main() {
+  tanh_6289fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_6289fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_6289fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_6289fd() {
+  vec3 res = vec3(0.76159417629241943359f);
+}
+void main() {
+  tanh_6289fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_6289fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_6289fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_6289fd() {
+  vec3 res = vec3(0.76159417629241943359f);
+}
+void main() {
+  tanh_6289fd();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_6289fd();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_6289fd();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.ir.glsl
index 6c6485e..37209c6 100644
--- a/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/6d105a.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tanh_6d105a() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_6d105a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tanh_6d105a() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_6d105a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 tanh_6d105a() {
+  f16vec2 arg_0 = f16vec2(1.0hf);
+  f16vec2 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_6d105a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_6d105a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.ir.glsl
index 6c6485e..5f91afd 100644
--- a/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/9f9fb9.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tanh_9f9fb9() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_9f9fb9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tanh_9f9fb9() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_9f9fb9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 tanh_9f9fb9() {
+  vec3 arg_0 = vec3(1.0f);
+  vec3 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_9f9fb9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_9f9fb9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.ir.glsl
index d4bb1c9..0c4670b 100644
--- a/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/ac5d33.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_ac5d33() {
+  vec4 res = vec4(0.76159417629241943359f);
+}
+void main() {
+  tanh_ac5d33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_ac5d33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_ac5d33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_ac5d33() {
+  vec4 res = vec4(0.76159417629241943359f);
+}
+void main() {
+  tanh_ac5d33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_ac5d33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_ac5d33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_ac5d33() {
+  vec4 res = vec4(0.76159417629241943359f);
+}
+void main() {
+  tanh_ac5d33();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_ac5d33();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_ac5d33();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.ir.glsl
index 6c6485e..85be66a 100644
--- a/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/c15fdb.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tanh_c15fdb() {
+  float arg_0 = 1.0f;
+  float res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_c15fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tanh_c15fdb() {
+  float arg_0 = 1.0f;
+  float res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_c15fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float tanh_c15fdb() {
+  float arg_0 = 1.0f;
+  float res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_c15fdb();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_c15fdb();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.ir.glsl
index d4bb1c9..ee7de12 100644
--- a/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/c48aa6.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_c48aa6() {
+  vec2 res = vec2(0.76159417629241943359f);
+}
+void main() {
+  tanh_c48aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_c48aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_c48aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_c48aa6() {
+  vec2 res = vec2(0.76159417629241943359f);
+}
+void main() {
+  tanh_c48aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_c48aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_c48aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void tanh_c48aa6() {
+  vec2 res = vec2(0.76159417629241943359f);
+}
+void main() {
+  tanh_c48aa6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  tanh_c48aa6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tanh_c48aa6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.ir.glsl
index 6c6485e..8e1ae18 100644
--- a/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/tanh/e8efb3.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tanh_e8efb3() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_e8efb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tanh_e8efb3() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_e8efb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 tanh_e8efb3() {
+  f16vec4 arg_0 = f16vec4(1.0hf);
+  f16vec4 res = tanh(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = tanh_e8efb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = tanh_e8efb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/textureBarrier/3d0f7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureBarrier/3d0f7e.wgsl.expected.ir.glsl
index 6c6485e..2280075 100644
--- a/test/tint/builtins/gen/var/textureBarrier/3d0f7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureBarrier/3d0f7e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/00229f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/00229f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/00229f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/00229f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.ir.glsl
index 107f0e3..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/00348c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/01e21e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/01edb1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/022903.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0276ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/029589.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0329b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/033195.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/033ea7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/038847.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/03f81e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/07f1ba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/088918.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0890c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/08e371.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/09140b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0973c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0baa0d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0c0b0c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0d4a7c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0de70c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/0ff9a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/135176.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/13f8db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1417dd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/15aa17.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/15b577.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/18160d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/18160d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/18160d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/18160d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/18f19f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/18f19f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/18f19f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/18f19f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1a2be7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1b720f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1bc428.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1bd78c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/1e4024.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/20eaad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/20ecef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/212362.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/224113.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/22b5b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/24db07.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/25d284.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/25d284.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/25d284.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/25d284.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2674d8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/268ddb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/26d6bf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/282978.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/282978.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/282978.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/282978.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/283b58.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/284c27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2a58b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2bafdf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2dc5c5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2e443d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2fd2a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/2ff32a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/305dd5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/31799c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/31d00d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/325338.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/346fee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/35a7e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/35ee69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/36eeb7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/378a65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/382b16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3834f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/38c9ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3963d0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/397dab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3a5bb1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3a7b69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3af3e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3b38f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3baab5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3bf12a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3c66f0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.ir.glsl
index 107f0e3..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3f3474.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3fc3dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/3ff0a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/40c671.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/40da20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/40da20.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/40da20.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/40da20.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/40ecf4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/41545f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/423519.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/427f92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/439651.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/445376.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/44b358.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/452fc1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/46f0fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4716a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/475c10.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/49a067.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4acec7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4b26ef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4be71b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4d1f71.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4d27b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4df14c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/4e540a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/528c0e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/52cf60.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/534ef8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/542c62.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/542c62.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/542c62.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/542c62.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/55fdeb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/5703b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/578e75.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/578e75.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/578e75.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/578e75.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/579eee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/58a82d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/591981.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/599ab5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/5b4b10.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/5df042.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/607979.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/609d34.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/617dc8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/62cb5a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/62e7ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/64dc74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/674058.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6dae40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6dbef4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6e6c7a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6e72c5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/6f1b5d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/709357.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/70dd33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/715917.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7228de.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7327fa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/740e7c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/756031.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/756304.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/790e57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/795fbb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/797c30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/79d168.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7a3890.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7a9e30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7c753b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7c7c64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7d8439.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7ea4b5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/7edb05.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8057cb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8243a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/835f90.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/841ebe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/84f363.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/867ead.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/879b73.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/87b42d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/881dd4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8a2b17.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8a35f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/8af728.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8af728.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8af728.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8af728.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8b9906.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8bd369.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8e15f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8e5de6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/8efd47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/902179.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/904b0f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/90dd74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/91e3b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/920006.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/92552e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9573f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/965645.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/98b2d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/991ea9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9944d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9b10a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9b223b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9baf27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9c7a00.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9cd4ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9cd8ad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9d0bac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9d68b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9dc27a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9e0794.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/9fcc3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a105a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a14386.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a1598a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/a20ba2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a20ba2.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a20ba2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a20ba2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a25d9b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a2ba5e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a3ea91.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a48049.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a4cd56.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a65776.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/a7ae4c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/aa4353.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/aac604.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ad7d3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ae4595.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ae75a7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/af46ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b16352.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b284b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b3ab5e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b46d97.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b51345.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b56112.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b5ba03.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b5d68e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b6bbf4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b8287f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/b9e7ef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bb95d9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bbe285.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bc96f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bd94c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bec716.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/bf9170.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c1189e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c1dbf6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c27466.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.ir.glsl
index 5e1cda8..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c2cdd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c44fc1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c5a36e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c6b44c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/c6b985.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c6b985.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c6b985.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c6b985.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c7ea63.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c82420.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/c871f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ca10cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cad3b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cc947b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cd3033.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.ir.glsl
index 8fef837..6df2b75 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cdc6c9.wgsl.expected.ir.glsl
@@ -1,11 +1,202 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct tint_GammaTransferParams {
+  float G;
+  float A;
+  float B;
+  float C;
+  float D;
+  float E;
+  float F;
+  uint padding;
+};
+
+struct tint_ExternalTextureParams {
+  uint numPlanes;
+  uint doYuvToRgbConversionOnly;
+  mat3x4 yuvToRgbConversionMatrix;
+  tint_GammaTransferParams gammaDecodeParams;
+  tint_GammaTransferParams gammaEncodeParams;
+  mat3 gamutConversionMatrix;
+  mat3x2 sampleTransform;
+  mat3x2 loadTransform;
+  vec2 samplePlane0RectMin;
+  vec2 samplePlane0RectMax;
+  vec2 samplePlane1RectMin;
+  vec2 samplePlane1RectMax;
+  uvec2 visibleSize;
+  vec2 plane1CoordFactor;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uniform highp sampler2D arg_0_plane0;
+uniform highp sampler2D arg_0_plane1;
+uniform tint_ExternalTextureParams arg_0_params;
+uvec2 textureDimensions_cdc6c9() {
+  uvec2 res = (arg_0_params.visibleSize + uvec2(1u));
+  return res;
+}
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureDimensions_cdc6c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct tint_GammaTransferParams {
+  float G;
+  float A;
+  float B;
+  float C;
+  float D;
+  float E;
+  float F;
+  uint padding;
+};
+
+struct tint_ExternalTextureParams {
+  uint numPlanes;
+  uint doYuvToRgbConversionOnly;
+  mat3x4 yuvToRgbConversionMatrix;
+  tint_GammaTransferParams gammaDecodeParams;
+  tint_GammaTransferParams gammaEncodeParams;
+  mat3 gamutConversionMatrix;
+  mat3x2 sampleTransform;
+  mat3x2 loadTransform;
+  vec2 samplePlane0RectMin;
+  vec2 samplePlane0RectMax;
+  vec2 samplePlane1RectMin;
+  vec2 samplePlane1RectMax;
+  uvec2 visibleSize;
+  vec2 plane1CoordFactor;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uniform highp sampler2D arg_0_plane0;
+uniform highp sampler2D arg_0_plane1;
+uniform tint_ExternalTextureParams arg_0_params;
+uvec2 textureDimensions_cdc6c9() {
+  uvec2 res = (arg_0_params.visibleSize + uvec2(1u));
+  return res;
+}
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureDimensions_cdc6c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:51: 'main' : function already has a body 
+ERROR: 0:51: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct tint_GammaTransferParams {
+  float G;
+  float A;
+  float B;
+  float C;
+  float D;
+  float E;
+  float F;
+  uint padding;
+};
+
+struct tint_ExternalTextureParams {
+  uint numPlanes;
+  uint doYuvToRgbConversionOnly;
+  mat3x4 yuvToRgbConversionMatrix;
+  tint_GammaTransferParams gammaDecodeParams;
+  tint_GammaTransferParams gammaEncodeParams;
+  mat3 gamutConversionMatrix;
+  mat3x2 sampleTransform;
+  mat3x2 loadTransform;
+  vec2 samplePlane0RectMin;
+  vec2 samplePlane0RectMax;
+  vec2 samplePlane1RectMin;
+  vec2 samplePlane1RectMax;
+  uvec2 visibleSize;
+  vec2 plane1CoordFactor;
+};
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec2 prevent_dce;
+};
+
+uvec2 prevent_dce;
+uniform highp sampler2D arg_0_plane0;
+uniform highp sampler2D arg_0_plane1;
+uniform tint_ExternalTextureParams arg_0_params;
+uvec2 textureDimensions_cdc6c9() {
+  uvec2 res = (arg_0_params.visibleSize + uvec2(1u));
+  return res;
+}
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = textureDimensions_cdc6c9();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = textureDimensions_cdc6c9();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:50: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:50: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cedabd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/cf2b50.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d0778e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d08a94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d1b882.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d3accd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d44ac3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d44dd1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d63c28.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d6f3cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d8ba68.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/d8f887.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/da30d2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/daf0fe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/db7131.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/dc83ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/de03c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/deb3c0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/dee461.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/dfdc32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e122fe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e18a8b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.ir.glsl
index 107f0e3..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e4bfd2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e4e310.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e4f021.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e50eb8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e5a203.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e738f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e824b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/e99308.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ea066c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ea25bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eafe19.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb03b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb10d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb1249.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/eb9f4d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ed1030.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/ef2e58.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f17acd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f264a3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f3a2ac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f406ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f4321c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f48886.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f4e469.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f55a94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f626b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f7bac5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f8522e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f93ece.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/f94e55.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/fbb15a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/fdbae8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/fdbae8.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/fdbae8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/fdbae8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureDimensions/fdf6e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/0166ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/04fa78.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/10c554.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/11b2db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/17baac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/1bf0ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/1f7f6b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/22e930.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/238ec4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/24b0bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/269250.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/2a4f40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/2cc066.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/2e0ed5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/32c4e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/3b32cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/43025d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/445793.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/49b07f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/4b8103.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/4e8ac5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/5266da.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/59372a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/5ba85f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/5bd491.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/6b7b74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/751f8a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/788010.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/7c3828.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/7dd226.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/829357.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/831549.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/8578bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/89680f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/8b754c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/8fae00.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/92ea47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/986700.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/9a6358.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/9ab41e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/a0372b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/a68027.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/aaf6bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/af55b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/bb3ac5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/bd33b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/be276f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/c0640c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/ccadde.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/ce5578.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/cf9112.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/d1f187.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/d4b5c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/d6507c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/d8e958.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/d90605.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/d98d59.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/dc6661.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/e2acac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/e3165f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/e9d390.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/ea8eb4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGather/f2c6e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/144a9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/182fd4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/2e409c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/313add.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/60d2d1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/6d9352.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/783e65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/b5bc43.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureGatherCompare/f585cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/012e11.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/019da0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/01cd01.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/026217.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/02c48d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/02ef1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/03e03e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/045ec9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/04b911.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/050c33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/054350.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/0674b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/06ac37.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/072e26.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/078bc4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/0b515a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/0cb698.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/10db82.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/126466.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/127e12.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1373dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/13d539.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/13e90c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/143d84.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1471b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/14cc4c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1561a7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/15e675.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1619bf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/168dc8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/170593.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/17095b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/18ac11.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/19cf87.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/19d6be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/19e5ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/19e5ca.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/19e5ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/19e5ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1a062f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1a8452.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1aa950.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1b051f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1b4332.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1b8588.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1bc5ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1bfdfb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1c562a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1d43ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1e6baa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1eb93f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1f2016.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/1fde63.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/1fde63.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/1fde63.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/1fde63.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/206a08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/20fa2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/216c37.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/21d1c4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/223246.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/22e963.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/23007a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2363be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/23ff89.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/25b67f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/26b8f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/26c4f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/26d7f1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/272e7a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/276643.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/276643.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/276643.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/276643.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/276a2c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2887d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2a82d9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2ae485.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2c72ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2cee30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2d479c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2d6cf7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2dbfc2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2e09aa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2e3552.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/2eaf31.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/313c73.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/31db4b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/321210.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/32a7b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/33d3aa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/348827.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/34d97c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/35a5e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/35a5e2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/35a5e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/35a5e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/35d464.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/35d464.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/35d464.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/35d464.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/374351.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/388688.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/38f8ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/39016c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/395447.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/39ef40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3a2350.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3aea13.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3bbc2b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3c0d9e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3c9587.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3c96e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3cfb9c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3d001b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3d3fd1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3d9c90.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3da3ed.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/3e16a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3e16a8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/3e16a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3e16a8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/3e5f6a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/40ee8b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4212a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/424afd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/42a631.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/43484a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/439e2a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/43cd86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/44c826.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4542ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/454347.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4638a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/469912.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/46a93f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/46dbf5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/473d3e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/47e818.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/482627.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/484344.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4951bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4951bb.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4951bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4951bb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/49f76f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4a5c55.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4acb64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c15b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c1a1e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c423f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4c67be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4ccf9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4cdca5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4db25c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4e2c5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4f5496.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4f90bb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4fa6ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/4fd803.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/505aa2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/50915c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5154e1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/519ab5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/53378a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/53941c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/53e142.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/54a59b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/54e0ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/54fb38.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/55e745.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/560573.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/56a000.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/582015.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/589eaa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5a2f9d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5abbf2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5b0f5b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5b4947.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5bb7fb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5c69f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5cd3fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5cee3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5d0a2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5d4042.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5dd4c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5dd4c7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5dd4c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5dd4c7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5e17a7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5e1843.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5e8d3f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5ed6ad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5ed6ad.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5ed6ad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5ed6ad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5f4473.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/5feb4d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6154d4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/61e2e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/620caa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/622278.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6273b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/62d125.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/62d1de.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/639962.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/63be18.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/64c372.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/656d76.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/65a4d0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/666010.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6678b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/66be47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/67d826.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/67edca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/68d273.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6925bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/69fee5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6a6871.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6b77d4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6b8ba6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6ba9ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6bf3e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6bf4b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6d1fb4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6d376a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6d7bb5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6e903f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6f0370.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6f0370.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f0370.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f0370.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f0ea8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f1750.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/6f8927.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/714471.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/72bb3c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/72c9c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/72c9c3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/72c9c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/72c9c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/742f1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/749704.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/74a387.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/773c46.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/789045.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/79e697.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/7ab4df.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/7b63e0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/7bee94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/7c90e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/7dab57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/7dd3d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/7dd3d5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/7dd3d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/7dd3d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/7e5cbc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/7fd822.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/80dae1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/81c381.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/83162f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/83cea4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/83d6e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/848d85.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/84a438.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/84c728.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/84dee1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8527b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/862833.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/878e24.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/87be85.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/87f0a6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/881349.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/89620b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/897cf3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8a291b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8a9988.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8acf41.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8b62fb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8bf8c2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8c6176.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8ccbe3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8d64c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8db0ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8e5032.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8e68c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8fc29b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/8ff033.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/91ede5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9242e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/92dd61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/92dd61.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/92dd61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/92dd61.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/92eb1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/936952.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/93f23e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/947107.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/947107.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/947107.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/947107.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/96efd5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/970308.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9885b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/99d8fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/99d8fa.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/99d8fa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/99d8fa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9a7c90.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9a8c1e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9aa733.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9b2667.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9b5343.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9c2376.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9c2a14.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9cf7df.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9d70e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9de6f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9ed19e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9fa9fd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9fbfd9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/9fd7be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a03af1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a24be1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a2b3f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a3733f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a3f122.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a548a8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a54e11.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a583c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a5c4e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a5e0a5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a64b1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a6a85a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a6b61d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7444c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7a3c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7bcb4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a7c171.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a8549b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a92b18.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/a9a9f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/aa2579.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/aa6130.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/aa8a0d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/aae7f6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/aae9c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ac64f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/acf22f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ad551e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/aeae73.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/aebc09.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/af0507.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b1bf79.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b1ca35.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b24d27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b25644.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b27c33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b29f71.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b4d6c4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b58c6d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b60a86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b60db7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b6ba5d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b6c458.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b73f6b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b75c8f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b75d4a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b7f74f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b80e7e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/b94d15.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ba023a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ba74b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/babdf3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/bba04a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/bbb762.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/bc3201.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/bc882d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/bc882d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/bc882d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/bc882d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/bcbb3c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/bd990a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/bdc67a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/bfd154.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c02b74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c07013.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c16e00.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c21b33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c2a480.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c2d09a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c378ee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c40dcb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c456bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c5791b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c5c86d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c66b20.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c7cbed.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c7e313.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c80691.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c8ed19.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c98bf4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c9b083.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c9cc40.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/c9f310.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/cac876.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/cad5f2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/cb57c2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/cdbcf6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/cdccd2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/cdd343.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/cddf6b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/cec477.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/cece6c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/cece6c.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/cece6c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/cece6c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d02afc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d0e351.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d357bb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d37a08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d3d8fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d41c72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d4df19.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d5c48d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d72de9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d7996a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d79c5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d80ff3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d81c57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d85d61.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d8617f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d8be5a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/d91f37.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/dab04f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/dbd554.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/dd5859.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/dd8776.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ddeed3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/de5a0e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/dee8e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/defd9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/dfdf3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e1c3cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e2292f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e2b3a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e2d7da.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e33285.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e35f72.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e3b08b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e3d2cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e4051a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e4051a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/e4051a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e4051a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e57e92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e59fdf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e65916.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e893d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e92dd0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/e9eb65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ea2abd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/eb573b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ebfb92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ecc823.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ed55a8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ee33c5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/eecf7d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ef2ec3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ef5405.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/efa787.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f0514a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f06b69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f0abad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f1c549.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f2a7ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f2bdd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f2bdd4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/f2bdd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f2bdd4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f2c311.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f348d9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f35ac7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f379e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f56e6f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f5aee2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f5aee2.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f5aee2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f5aee2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f5fbc6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f74bd8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f7f3bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f7f936.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f81792.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f82eb2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f85291.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f8a2e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f92c2d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/f9eaaf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/fc47ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/fc6d36.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/fcd23d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/fd6442.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/fd9606.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/fdebd0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/fe0565.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/fe222a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/fe2c1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.ir.glsl
index 8dee2cd..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/feab99.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureLoad/ff1119.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/014a3b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/071ebc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/0856ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/0ec222.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/0fe8dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/17ccad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/1f858a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/24d572.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/26c9f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/2a48dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/2d95ea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/327d70.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/32ca10.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3465ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/34cefa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3580ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/379cc5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/37bc8a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/380a60.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3ad143.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/3eff89.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/485774.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.ir.glsl
index ba913ae..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/48ef47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/4adaad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/4c4333.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/520086.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/52dfc5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/54a654.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/555f67.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/59cc27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/59cc27.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/59cc27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/59cc27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/59eb57.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/5ee8f2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/5f20d1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/61bd23.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/622aa2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/6b4321.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/6da0eb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/77be7b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/7895f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/7f28cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8356f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/8356f7.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8356f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8356f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/878dea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/87faad.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8ac32a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8bd987.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8dbf23.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/8e1bd0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/90b8cc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/9695c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/98a9cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/9c60e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/a54655.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.ir.glsl
index ba913ae..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/a9d3f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/aac630.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/aac630.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/aac630.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/aac630.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/bf2f76.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.ir.glsl
index 8fef837..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/c1eca9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/d3e21f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/d3f655.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/d75a0b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/de8087.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/e47aac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.ir.glsl
index 8dee2cd..f4ea61b 100644
--- a/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLayers/f1783f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLayers
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/181090.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/1a3fa9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/1a7fc3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/2267d8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/24b2c6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.ir.glsl
index ba913ae..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/2bea6c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/2df1ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/46dbd8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/60d9b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/903920.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/9a1a65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/adc783.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.ir.glsl
index ba913ae..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/ae911c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/c386c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/c399f9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.ir.glsl
index ba913ae..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/c8c25c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.ir.glsl
index ba913ae..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/d63126.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/d8f73b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/ef7944.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/efd6df.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/f742c0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumLevels/fe2171.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.ir.glsl
index 107f0e3..3adf1b1 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/50f399.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.ir.glsl
index 107f0e3..3adf1b1 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/c1a777.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.ir.glsl
index 107f0e3..3adf1b1 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/dbb799.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.ir.glsl
index 5e1cda8..3adf1b1 100644
--- a/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureNumSamples/ecd321.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/0dff6c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/0dff6c.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/0dff6c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/0dff6c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/17e988.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/17e988.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/17e988.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/17e988.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/193203.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/193203.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/193203.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/193203.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/1a4e1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/1a4e1b.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/1a4e1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/1a4e1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/2149ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/2149ec.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/2149ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/2149ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/38bbb9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/38bbb9.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/38bbb9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/38bbb9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/3b50bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/3b50bd.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/3b50bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/3b50bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/4703d0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/4703d0.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/4703d0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/4703d0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/4dd1bf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/51b514.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/51b514.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/51b514.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/51b514.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/60bf45.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/6717ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/6717ca.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/6717ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/6717ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/6e64fb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/6e64fb.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/6e64fb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/6e64fb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/7e9ffd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/7fd8cb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/7fd8cb.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/7fd8cb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/7fd8cb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/85c4ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/85c4ba.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/85c4ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/85c4ba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/bc7477.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/bc7477.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/bc7477.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/bc7477.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/c2f4e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/d6b281.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/d6b281.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/d6b281.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/d6b281.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/e53267.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/e53267.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/e53267.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/e53267.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSample/ea7030.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSample/ea7030.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSample/ea7030.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSample/ea7030.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/7c04e6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBaseClampToEdge/9ca02c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/1c707e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/53b9f7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/594824.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/594824.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/594824.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/594824.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/6a9113.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/80e579.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/87915c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/87915c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/87915c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/87915c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/9dbb51.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/a161cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/a161cf.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/a161cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/a161cf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/c6953d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/d3fa1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleBias/eed7c4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompare/1912e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompare/1912e5.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompare/1912e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompare/1912e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompare/3a5923.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompare/3a5923.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompare/3a5923.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompare/3a5923.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompare/63fb83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompare/63fb83.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompare/63fb83.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompare/63fb83.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompare/7b5025.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompare/7b5025.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompare/7b5025.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompare/7b5025.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompare/90ae56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompare/90ae56.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompare/90ae56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompare/90ae56.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompare/a3ca7e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompare/af1051.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompare/dd431d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompare/dec064.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompare/dec064.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompare/dec064.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompare/dec064.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/1116ed.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/1568e3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/2ad2b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/4cf3a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/7dc3c0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/7f2b9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/958c87.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/b6e47c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleCompareLevel/bcb3dd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/21402b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/2ecd8f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/521263.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/5312f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/5884dd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/7cd6de.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/a09131.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/bbb58f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/d4e3c5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/d65515.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleGrad/e383db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/02be59.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/0b0a1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/0bdd9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1b0291.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/1bf73e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/265cc7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/2974eb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/302be4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36780e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/36f0d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/3c3442.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/615583.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/73e892.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/749baf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/941a53.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/a12142.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/aab3b9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/abfcc0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ae5e39.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ae92a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/b7c55c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/c32df7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/c6aca6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/cdfe0f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/dcbecb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/e6ce9e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/f3b2c8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/faa6d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.ir.glsl
index ba913ae..b771681 100644
--- a/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureSampleLevel/ff11bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/00ca64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/0148bd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/031506.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/036d0e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/03e7a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/042b06.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/052a4e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/053664.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/05ce15.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/064c7f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/068641.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/06e49c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/07548b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/09e4d5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/0a1a79.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/0ad124.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/0ad124.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/0ad124.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/0ad124.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/0ade9a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/0af6b5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/0c3dff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/0cc825.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/0ff97a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/101325.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/102722.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/145061.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/158cf0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/178e69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1839f2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/195d1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/197637.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/1a264d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1a264d.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1a264d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1a264d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1a6c0b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1a7d35.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1af236.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1bbd08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1c02e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1dc954.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1e20f2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1e79f0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1e79f0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1e79f0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1e79f0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1e9fbd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1efc36.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1f1ef8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/1fef04.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2046db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/207fdd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2173fd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/22d955.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/22f045.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2383fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/24e6b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/258ab0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/26a26d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/26bf70.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/27063a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/272f5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/272f5a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/272f5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/272f5a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2796b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/285218.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/28a7ec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/28e109.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2a60c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2ac6c7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2addd6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2c76db.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2d2835.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2e4245.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/2e512f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2e512f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/2e512f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2e512f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2e6102.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2eb2a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2ed2a3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/2f29ea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/30b0b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/312f27.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/31745b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/319029.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/32d3d6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/32f368.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/330b7c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3310d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/331aee.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/33cec0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/345332.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/37eeef.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/37eeef.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/37eeef.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/37eeef.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/37ffd4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/38e8d7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3a52ac.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3bb7a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3bec15.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3c1937.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3d1ebe.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3d6f01.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3d96a4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3e0dc4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3f61ca.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/3fb31f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/40c455.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4288fc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/43d1df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/43d1df.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/43d1df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/43d1df.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/441222.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/441ba8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4483e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/44b372.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/44daa7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/473ead.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/47bd70.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/486500.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/48cb56.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/48eae1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/48eae1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/48eae1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/48eae1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4bf1fd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4c454f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4c76b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4cce74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4d359d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4ddf52.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4e2b3a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/4fc057.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5030f5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/506a71.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/51ec82.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5246b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/52f503.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/53a68b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5425ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/544f06.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/55f9dc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/574a31.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/579b93.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5841f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/58fc35.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/59a0ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5a2f8f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5a8b41.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5b17eb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5b4522.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5bc4f3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5ddc61.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5ec6b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5ee194.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/5f9a49.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/602b5a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/60975f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/614b58.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/635584.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/63f34a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/646dbc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/658a74.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/65b6aa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/65ba8b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/65ba8b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/65ba8b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/65ba8b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/682fd6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/699a1b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6b75c3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6b80d2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6be9e0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6c4a70.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6cff2e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6d1809.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6d259f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6da692.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6e6cc0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/6f0c92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6f0c92.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/6f0c92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6f0c92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6f3542.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6f8642.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6fb99b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/6fd2b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/6fd2b1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/6fd2b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/6fd2b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/704e1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/706236.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/706560.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/726472.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/726d6d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/72fa64.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/731349.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/73a735.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/73bbbc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/74886f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/74886f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/74886f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/74886f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/751256.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/752da6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/75bbd5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/76affd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/7792fa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/779d14.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/77c0ae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/7b8f86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/7bb211.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/7cec8d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/7cf6e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/7d10e0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/7dd042.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/7e787a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/7f7fae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/803a10.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/803a10.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/803a10.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/803a10.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/804942.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/805dae.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/80bf1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/818df6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/81ae31.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/820272.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/83bcc1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/84d435.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/84f4f4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8676c9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/86f713.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/872747.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/877c92.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8815b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/885921.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/88ce7e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8a16b0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8a46ff.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8a85b9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8a8681.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8ae0bc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8b9310.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8bb287.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8c76e9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8cd611.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8cd611.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8cd611.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8cd611.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8cd841.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8dc54f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8e0479.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8ebdc9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8ed9f8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8f71a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/8ff674.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/90960e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/90a553.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/958353.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/959d94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/95e452.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/969534.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/976636.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9938b7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9a3ecc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9aedd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9ba5c1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9cea9e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9d7c62.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9d8668.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9d9cd5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9e3ec5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/9e5bc2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9e5bc2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/9e5bc2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9e5bc2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9f5318.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/9f7cea.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a0022f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a0f96e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a1352c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a14041.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a165b8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a19a12.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a24491.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a4c338.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a5b88e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a5c925.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a5e80d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a66ca4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a6a986.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a6e78f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a702b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/a7fc47.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a7fc47.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/a7fc47.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a7fc47.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a9298c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/a9426c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ab03b6.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ab788e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/abdd21.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ac0a55.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ac67aa.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/ae6a2a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ae6a2a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/ae6a2a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ae6a2a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/aeb38a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/aedea3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b16110.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b286b4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b36bc1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b42fd3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b4389e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b706b1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b70ded.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b71c13.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b7232c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b76ff3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b77161.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b89ffb.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/b91b86.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b91b86.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/b91b86.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b91b86.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b9c81a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/b9d863.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/bbcb7f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/bc1423.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/bcc97a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/bd6602.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/be6e30.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/bedbfc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/bf775c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c06463.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c1c664.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c1f29e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c1f760.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c2ca46.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c32905.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c33478.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c35268.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c5af1e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c63f05.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c79451.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c863be.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/c9d780.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/cb3b0b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ccac20.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/cd6755.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ceb832.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d0d62c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d0fadc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d19db4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d1ab82.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d26166.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d2b565.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d3a22b.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d4aa95.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d55e65.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d73b5c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d82b0a.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/d86d33.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/da530c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/db5128.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/db92a2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/dce0e2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/dd7d81.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/dd8b29.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/dde364.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/de38e5.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/de4b94.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/df0c51.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/df2ca4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/dfa9a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/dffb13.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e077e7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e0b666.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e1784d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e38281.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e46fd8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e72bdc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e7c6d8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e87f6e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e885e8.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/e8cbf7.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ea30d2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/eb702f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/eb78b9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/ed6198.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ed6198.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/ed6198.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ed6198.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ee6acc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ef9f2f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/f05928.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/f1e6d3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/f64d69.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/f6f392.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/f7b0ab.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/f7b0ab.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/f7b0ab.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/f7b0ab.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/f8aaf9.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/f8dead.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/f975a0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/f9be83.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/fb9a8f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/fbf53f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/fc916e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/fcbe66.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/fd350c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.ir.glsl
index d16ee16..73a2897 100644
--- a/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/textureStore/ff23b3.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: INVALID
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:466 internal compiler error: TINT_UNREACHABLE 
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:698 internal compiler error: TINT_UNREACHABLE 
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/builtins/gen/var/transpose/06794e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/06794e.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/06794e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/06794e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/2585cd.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/31d679.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/31e37e.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.ir.glsl
index d4bb1c9..0709d10 100644
--- a/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/32dd64.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_32dd64() {
+  mat4x3 res = mat4x3(vec3(1.0f), vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_32dd64();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_32dd64();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_32dd64();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_32dd64() {
+  mat4x3 res = mat4x3(vec3(1.0f), vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_32dd64();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_32dd64();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_32dd64();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_32dd64() {
+  mat4x3 res = mat4x3(vec3(1.0f), vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_32dd64();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_32dd64();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_32dd64();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/4ce359.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/4dc9a1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.ir.glsl
index d4bb1c9..0780c52 100644
--- a/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/553e90.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_553e90() {
+  mat2x4 res = mat2x4(vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_553e90();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_553e90();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_553e90();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_553e90() {
+  mat2x4 res = mat2x4(vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_553e90();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_553e90();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_553e90();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_553e90() {
+  mat2x4 res = mat2x4(vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_553e90();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_553e90();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_553e90();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.ir.glsl
index d4bb1c9..e7f0b44 100644
--- a/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/5c133c.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_5c133c() {
+  mat3x4 res = mat3x4(vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_5c133c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_5c133c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_5c133c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_5c133c() {
+  mat3x4 res = mat3x4(vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_5c133c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_5c133c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_5c133c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_5c133c() {
+  mat3x4 res = mat3x4(vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_5c133c();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_5c133c();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_5c133c();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/transpose/5edd96.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/5edd96.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/5edd96.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/5edd96.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/5f36bf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/5f36bf.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/5f36bf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/5f36bf.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.ir.glsl
index d4bb1c9..8fb501e 100644
--- a/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/66fce8.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_66fce8() {
+  mat3 res = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_66fce8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_66fce8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_66fce8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_66fce8() {
+  mat3 res = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_66fce8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_66fce8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_66fce8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_66fce8() {
+  mat3 res = mat3(vec3(1.0f), vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_66fce8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_66fce8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_66fce8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.ir.glsl
index d4bb1c9..8041e2f 100644
--- a/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/70ca11.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_70ca11() {
+  mat3x2 res = mat3x2(vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_70ca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_70ca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_70ca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_70ca11() {
+  mat3x2 res = mat3x2(vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_70ca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_70ca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_70ca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_70ca11() {
+  mat3x2 res = mat3x2(vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_70ca11();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_70ca11();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_70ca11();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/transpose/7be8b2.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/7be8b2.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/7be8b2.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/7be8b2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.ir.glsl
index d4bb1c9..9cb49f1 100644
--- a/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/7eb2c5.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_7eb2c5() {
+  mat2 res = mat2(vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_7eb2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_7eb2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_7eb2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_7eb2c5() {
+  mat2 res = mat2(vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_7eb2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_7eb2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_7eb2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_7eb2c5() {
+  mat2 res = mat2(vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_7eb2c5();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_7eb2c5();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_7eb2c5();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/transpose/844869.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/844869.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/844869.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/844869.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.ir.glsl
index d4bb1c9..a5b39fb 100644
--- a/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/84a763.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_84a763() {
+  mat4x2 res = mat4x2(vec2(1.0f), vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_84a763();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_84a763();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_84a763();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_84a763() {
+  mat4x2 res = mat4x2(vec2(1.0f), vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_84a763();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_84a763();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_84a763();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_84a763() {
+  mat4x2 res = mat4x2(vec2(1.0f), vec2(1.0f), vec2(1.0f), vec2(1.0f));
+}
+void main() {
+  transpose_84a763();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_84a763();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_84a763();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/854336.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/8c06ce.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/8c06ce.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/8c06ce.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/8c06ce.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.ir.glsl
index d4bb1c9..d8d864c 100644
--- a/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/ace596.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_ace596() {
+  mat2x3 res = mat2x3(vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_ace596();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_ace596();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_ace596();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_ace596() {
+  mat2x3 res = mat2x3(vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_ace596();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_ace596();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_ace596();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_ace596() {
+  mat2x3 res = mat2x3(vec3(1.0f), vec3(1.0f));
+}
+void main() {
+  transpose_ace596();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_ace596();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_ace596();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/transpose/b9ad1f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/b9ad1f.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/b9ad1f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/b9ad1f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/c1b600.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/d6faec.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/d6faec.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/d6faec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/d6faec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/d8f8ba.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.ir.glsl
index d4bb1c9..b92b502 100644
--- a/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/dc671a.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_dc671a() {
+  mat4 res = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_dc671a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_dc671a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_dc671a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_dc671a() {
+  mat4 res = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_dc671a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_dc671a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_dc671a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void transpose_dc671a() {
+  mat4 res = mat4(vec4(1.0f), vec4(1.0f), vec4(1.0f), vec4(1.0f));
+}
+void main() {
+  transpose_dc671a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  transpose_dc671a();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  transpose_dc671a();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/ed4bdc.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/transpose/faeb05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/transpose/faeb05.wgsl.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/builtins/gen/var/transpose/faeb05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/transpose/faeb05.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.ir.glsl
index 6c6485e..34e2e08 100644
--- a/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/103ab8.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 trunc_103ab8() {
+  f16vec3 arg_0 = f16vec3(1.5hf);
+  f16vec3 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_103ab8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 trunc_103ab8() {
+  f16vec3 arg_0 = f16vec3(1.5hf);
+  f16vec3 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_103ab8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec3 prevent_dce;
+};
+
+f16vec3 prevent_dce;
+f16vec3 trunc_103ab8() {
+  f16vec3 arg_0 = f16vec3(1.5hf);
+  f16vec3 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_103ab8();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec3(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_103ab8();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.ir.glsl
index d4bb1c9..e7bb6f0 100644
--- a/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/117396.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_117396() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  trunc_117396();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_117396();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_117396();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_117396() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  trunc_117396();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_117396();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_117396();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_117396() {
+  vec3 res = vec3(1.0f);
+}
+void main() {
+  trunc_117396();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_117396();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_117396();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.ir.glsl
index 6c6485e..73246f4 100644
--- a/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/562d05.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 trunc_562d05() {
+  vec3 arg_0 = vec3(1.5f);
+  vec3 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_562d05();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_562d05();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_562d05();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 trunc_562d05() {
+  vec3 arg_0 = vec3(1.5f);
+  vec3 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_562d05();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_562d05();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_562d05();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec3 prevent_dce;
+};
+
+vec3 prevent_dce;
+vec3 trunc_562d05() {
+  vec3 arg_0 = vec3(1.5f);
+  vec3 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_562d05();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_562d05();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec3(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_562d05();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.ir.glsl
index d4bb1c9..c42cc92 100644
--- a/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/7d6ded.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_7d6ded() {
+  float res = 1.0f;
+}
+void main() {
+  trunc_7d6ded();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_7d6ded();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_7d6ded();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_7d6ded() {
+  float res = 1.0f;
+}
+void main() {
+  trunc_7d6ded();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_7d6ded();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_7d6ded();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_7d6ded() {
+  float res = 1.0f;
+}
+void main() {
+  trunc_7d6ded();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_7d6ded();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_7d6ded();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.ir.glsl
index 6c6485e..4f6123a 100644
--- a/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/a56109.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 trunc_a56109() {
+  f16vec2 arg_0 = f16vec2(1.5hf);
+  f16vec2 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_a56109();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_a56109();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_a56109();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 trunc_a56109() {
+  f16vec2 arg_0 = f16vec2(1.5hf);
+  f16vec2 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_a56109();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_a56109();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_a56109();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec2 prevent_dce;
+};
+
+f16vec2 prevent_dce;
+f16vec2 trunc_a56109() {
+  f16vec2 arg_0 = f16vec2(1.5hf);
+  f16vec2 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_a56109();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_a56109();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec2(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_a56109();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.ir.glsl
index d4bb1c9..39f30c0 100644
--- a/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/c12555.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_c12555() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  trunc_c12555();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_c12555();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_c12555();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_c12555() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  trunc_c12555();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_c12555();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_c12555();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_c12555() {
+  vec2 res = vec2(1.0f);
+}
+void main() {
+  trunc_c12555();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_c12555();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_c12555();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.ir.glsl
index 6c6485e..afc223f 100644
--- a/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/cc2b0d.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t trunc_cc2b0d() {
+  float16_t arg_0 = 1.5hf;
+  float16_t res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_cc2b0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t trunc_cc2b0d() {
+  float16_t arg_0 = 1.5hf;
+  float16_t res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_cc2b0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float16_t prevent_dce;
+};
+
+float16_t prevent_dce;
+float16_t trunc_cc2b0d() {
+  float16_t arg_0 = 1.5hf;
+  float16_t res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_cc2b0d();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0hf);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_cc2b0d();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.ir.glsl
index 6c6485e..37c4dbd 100644
--- a/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/ce7c17.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 trunc_ce7c17() {
+  f16vec4 arg_0 = f16vec4(1.5hf);
+  f16vec4 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_ce7c17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 trunc_ce7c17() {
+  f16vec4 arg_0 = f16vec4(1.5hf);
+  f16vec4 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_ce7c17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function already has a body 
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  f16vec4 prevent_dce;
+};
+
+f16vec4 prevent_dce;
+f16vec4 trunc_ce7c17() {
+  f16vec4 arg_0 = f16vec4(1.5hf);
+  f16vec4 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_ce7c17();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), f16vec4(0.0hf));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_ce7c17();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.ir.glsl
index 6c6485e..633d64b 100644
--- a/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/e183aa.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 trunc_e183aa() {
+  vec4 arg_0 = vec4(1.5f);
+  vec4 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_e183aa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 trunc_e183aa() {
+  vec4 arg_0 = vec4(1.5f);
+  vec4 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_e183aa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 trunc_e183aa() {
+  vec4 arg_0 = vec4(1.5f);
+  vec4 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_e183aa();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_e183aa();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.ir.glsl
index 6c6485e..4d8c776 100644
--- a/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/eb83df.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float trunc_eb83df() {
+  float arg_0 = 1.5f;
+  float res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_eb83df();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float trunc_eb83df() {
+  float arg_0 = 1.5f;
+  float res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_eb83df();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  float prevent_dce;
+};
+
+float prevent_dce;
+float trunc_eb83df() {
+  float arg_0 = 1.5f;
+  float res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_eb83df();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), 0.0f);
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_eb83df();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.ir.glsl
index d4bb1c9..d8868b1 100644
--- a/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/f0f1a1.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_f0f1a1() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  trunc_f0f1a1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_f0f1a1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_f0f1a1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_f0f1a1() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  trunc_f0f1a1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_f0f1a1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_f0f1a1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function already has a body 
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+};
+
+void trunc_f0f1a1() {
+  vec4 res = vec4(1.0f);
+}
+void main() {
+  trunc_f0f1a1();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  trunc_f0f1a1();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  trunc_f0f1a1();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.ir.glsl
index 6c6485e..64b9ed7 100644
--- a/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/trunc/f370d3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 trunc_f370d3() {
+  vec2 arg_0 = vec2(1.5f);
+  vec2 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_f370d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 trunc_f370d3() {
+  vec2 arg_0 = vec2(1.5f);
+  vec2 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_f370d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 trunc_f370d3() {
+  vec2 arg_0 = vec2(1.5f);
+  vec2 res = trunc(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = trunc_f370d3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = trunc_f370d3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.ir.glsl
index 6c6485e..0c5b240 100644
--- a/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/unpack2x16float/32a5cf.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16float_32a5cf() {
+  uint arg_0 = 1u;
+  vec2 res = unpackHalf2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16float_32a5cf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16float_32a5cf() {
+  uint arg_0 = 1u;
+  vec2 res = unpackHalf2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16float_32a5cf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16float_32a5cf() {
+  uint arg_0 = 1u;
+  vec2 res = unpackHalf2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16float_32a5cf();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16float_32a5cf();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl
index 6c6485e..36a056e 100644
--- a/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/unpack2x16snorm/b4aea6.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16snorm_b4aea6() {
+  uint arg_0 = 1u;
+  vec2 res = unpackSnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16snorm_b4aea6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16snorm_b4aea6() {
+  uint arg_0 = 1u;
+  vec2 res = unpackSnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16snorm_b4aea6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16snorm_b4aea6() {
+  uint arg_0 = 1u;
+  vec2 res = unpackSnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16snorm_b4aea6();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16snorm_b4aea6();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl
index 6c6485e..4c30b86 100644
--- a/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/unpack2x16unorm/7699c0.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16unorm_7699c0() {
+  uint arg_0 = 1u;
+  vec2 res = unpackUnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16unorm_7699c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16unorm_7699c0() {
+  uint arg_0 = 1u;
+  vec2 res = unpackUnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16unorm_7699c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec2 prevent_dce;
+};
+
+vec2 prevent_dce;
+vec2 unpack2x16unorm_7699c0() {
+  uint arg_0 = 1u;
+  vec2 res = unpackUnorm2x16(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack2x16unorm_7699c0();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec2(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack2x16unorm_7699c0();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl
index 6c6485e..0fb1b52 100644
--- a/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/unpack4x8snorm/523fb3.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8snorm_523fb3() {
+  uint arg_0 = 1u;
+  vec4 res = unpackSnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8snorm_523fb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8snorm_523fb3() {
+  uint arg_0 = 1u;
+  vec4 res = unpackSnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8snorm_523fb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8snorm_523fb3() {
+  uint arg_0 = 1u;
+  vec4 res = unpackSnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8snorm_523fb3();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8snorm_523fb3();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.ir.glsl
index 6c6485e..99cd54f 100644
--- a/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/unpack4x8unorm/750c74.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8unorm_750c74() {
+  uint arg_0 = 1u;
+  vec4 res = unpackUnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8unorm_750c74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8unorm_750c74() {
+  uint arg_0 = 1u;
+  vec4 res = unpackUnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8unorm_750c74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function already has a body 
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  vec4 prevent_dce;
+};
+
+vec4 prevent_dce;
+vec4 unpack4x8unorm_750c74() {
+  uint arg_0 = 1u;
+  vec4 res = unpackUnorm4x8(arg_0);
+  return res;
+}
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4x8unorm_750c74();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4x8unorm_750c74();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/unpack4xI8/830900.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.ir.glsl
index 72ca17c..a36f314 100644
--- a/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/unpack4xU8/a5ea55.wgsl.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 unpack4xU8_a5ea55() {
+  uint arg_0 = 1u;
+  uint v = arg_0;
+  uvec4 v_1 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_2 = (uvec4(v) >> v_1);
+  uvec4 res = (v_2 & uvec4(255u));
+  return res;
+}
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4xU8_a5ea55();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 unpack4xU8_a5ea55() {
+  uint arg_0 = 1u;
+  uint v = arg_0;
+  uvec4 v_1 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_2 = (uvec4(v) >> v_1);
+  uvec4 res = (v_2 & uvec4(255u));
+  return res;
+}
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4xU8_a5ea55();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:24: 'main' : function already has a body 
+ERROR: 0:24: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct VertexOutput {
+  vec4 pos;
+  uvec4 prevent_dce;
+};
+
+uvec4 prevent_dce;
+uvec4 unpack4xU8_a5ea55() {
+  uint arg_0 = 1u;
+  uint v = arg_0;
+  uvec4 v_1 = uvec4(0u, 8u, 16u, 24u);
+  uvec4 v_2 = (uvec4(v) >> v_1);
+  uvec4 res = (v_2 & uvec4(255u));
+  return res;
+}
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  prevent_dce = unpack4xU8_a5ea55();
+}
+VertexOutput main() {
+  VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec4(0u));
+  tint_symbol.pos = vec4(0.0f);
+  tint_symbol.prevent_dce = unpack4xU8_a5ea55();
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:23: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
+ERROR: 0:23: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/gen/var/workgroupBarrier/a17f7f.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/workgroupBarrier/a17f7f.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/var/workgroupBarrier/a17f7f.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/workgroupBarrier/a17f7f.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/37307c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/7a857c.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/9d33de.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/gen/var/workgroupUniformLoad/e07d08.wgsl.expected.ir.glsl b/test/tint/builtins/gen/var/workgroupUniformLoad/e07d08.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/gen/var/workgroupUniformLoad/e07d08.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/gen/var/workgroupUniformLoad/e07d08.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.ir.glsl b/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/insertBits/scalar/i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.ir.glsl b/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/insertBits/scalar/u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.ir.glsl b/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/insertBits/vec3/i32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.ir.glsl b/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.ir.glsl
index 72ca17c..3ed1835 100644
--- a/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/insertBits/vec3/u32.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: insertBits
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/modf/scalar/mixed.wgsl.expected.ir.glsl b/test/tint/builtins/modf/scalar/mixed.wgsl.expected.ir.glsl
index d4bb1c9..8fcd1ed 100644
--- a/test/tint/builtins/modf/scalar/mixed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/modf/scalar/mixed.wgsl.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float runtime_in = 1.25f;
+  modf_result_f32 res = modf_result_f32(0.25f, 1.0f);
+  res = modf(runtime_in);
+  res = modf_result_f32(0.25f, 1.0f);
+  float tint_symbol_1 = res.fract;
+  float whole = res.whole;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'modf' : no matching overloaded function found 
+ERROR: 0:12: 'assign' :  cannot convert from ' const float' to ' temp structure{ global highp float fract,  global highp float whole}'
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/modf/scalar/runtime.wgsl.expected.ir.glsl b/test/tint/builtins/modf/scalar/runtime.wgsl.expected.ir.glsl
index 6c6485e..4d81a3d 100644
--- a/test/tint/builtins/modf/scalar/runtime.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/modf/scalar/runtime.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_f32 {
+  float fract;
+  float whole;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float tint_symbol_1 = 1.25f;
+  modf_result_f32 res = modf(tint_symbol_1);
+  float tint_symbol_2 = res.fract;
+  float whole = res.whole;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'modf' : no matching overloaded function found 
+ERROR: 0:11: '=' :  cannot convert from ' const float' to ' temp structure{ global highp float fract,  global highp float whole}'
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/modf/vector/mixed.wgsl.expected.ir.glsl b/test/tint/builtins/modf/vector/mixed.wgsl.expected.ir.glsl
index d4bb1c9..2f460a9 100644
--- a/test/tint/builtins/modf/vector/mixed.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/modf/vector/mixed.wgsl.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vec2 runtime_in = vec2(1.25f, 3.75f);
+  modf_result_vec2_f32 res = modf_result_vec2_f32(vec2(0.25f, 0.75f), vec2(1.0f, 3.0f));
+  res = modf(runtime_in);
+  res = modf_result_vec2_f32(vec2(0.25f, 0.75f), vec2(1.0f, 3.0f));
+  vec2 tint_symbol_1 = res.fract;
+  vec2 whole = res.whole;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'modf' : no matching overloaded function found 
+ERROR: 0:12: 'assign' :  cannot convert from ' const float' to ' temp structure{ global highp 2-component vector of float fract,  global highp 2-component vector of float whole}'
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/modf/vector/runtime.wgsl.expected.ir.glsl b/test/tint/builtins/modf/vector/runtime.wgsl.expected.ir.glsl
index 6c6485e..f31ab0a 100644
--- a/test/tint/builtins/modf/vector/runtime.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/modf/vector/runtime.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct modf_result_vec2_f32 {
+  vec2 fract;
+  vec2 whole;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vec2 tint_symbol_1 = vec2(1.25f, 3.75f);
+  modf_result_vec2_f32 res = modf(tint_symbol_1);
+  vec2 tint_symbol_2 = res.fract;
+  vec2 whole = res.whole;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'modf' : no matching overloaded function found 
+ERROR: 0:11: '=' :  cannot convert from ' const float' to ' temp structure{ global highp 2-component vector of float fract,  global highp 2-component vector of float whole}'
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/builtins/radians.spvasm.expected.ir.glsl b/test/tint/builtins/radians.spvasm.expected.ir.glsl
index d4bb1c9..0eb6a29 100644
--- a/test/tint/builtins/radians.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/radians.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: radians
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/repeated_use.wgsl.expected.ir.glsl b/test/tint/builtins/repeated_use.wgsl.expected.ir.glsl
index 6c6485e..87886fe 100644
--- a/test/tint/builtins/repeated_use.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/repeated_use.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: degrees
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.ir.glsl b/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.ir.glsl
index 5e1cda8..d0115e4 100644
--- a/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/textureDimensions/depth_ms.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/f32/alpha.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/f32/alpha.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/f32/alpha.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/f32/alpha.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/f32/blue.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/f32/blue.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/f32/blue.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/f32/blue.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/f32/green.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/f32/green.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/f32/green.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/f32/green.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/f32/red.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/f32/red.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/f32/red.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/f32/red.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/i32/alpha.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/i32/alpha.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/i32/alpha.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/i32/alpha.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/i32/blue.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/i32/blue.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/i32/blue.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/i32/blue.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/i32/green.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/i32/green.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/i32/green.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/i32/green.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/i32/red.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/i32/red.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/i32/red.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/i32/red.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/u32/alpha.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/u32/alpha.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/u32/alpha.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/u32/alpha.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/u32/blue.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/u32/blue.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/u32/blue.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/u32/blue.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/u32/green.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/u32/green.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/u32/green.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/u32/green.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureGather/u32/red.wgsl.expected.ir.glsl b/test/tint/builtins/textureGather/u32/red.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/builtins/textureGather/u32/red.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureGather/u32/red.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.ir.glsl b/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/textureLoad/depth_ms.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.ir.glsl b/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureLoad/texture_external_param.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureLoad/texture_param.wgsl.expected.ir.glsl b/test/tint/builtins/textureLoad/texture_param.wgsl.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/builtins/textureLoad/texture_param.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureLoad/texture_param.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.ir.glsl b/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.ir.glsl
index 5e1cda8..3adf1b1 100644
--- a/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.ir.glsl
+++ b/test/tint/builtins/textureNumSamples/depth_ms.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.ir.glsl b/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureStore/bgraunorm.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/textureStore/loop_continuing_read_write_texture.wgsl.expected.ir.glsl b/test/tint/builtins/textureStore/loop_continuing_read_write_texture.wgsl.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/builtins/textureStore/loop_continuing_read_write_texture.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/textureStore/loop_continuing_read_write_texture.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/array_overridable_count.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/array_overridable_count_aliased.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/bool.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/for_loop.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/if_condition.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/matrix.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/structures.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/structures.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/structures.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/structures.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/vec.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.ir.glsl b/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.ir.glsl
index 6c6485e..56f48c5 100644
--- a/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.ir.glsl
+++ b/test/tint/builtins/workgroupUniformLoad/via_param.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/const/global/global.wgsl.expected.ir.glsl b/test/tint/const/global/global.wgsl.expected.ir.glsl
index 443ff0e..0ca58db 100644
--- a/test/tint/const/global/global.wgsl.expected.ir.glsl
+++ b/test/tint/const/global/global.wgsl.expected.ir.glsl
@@ -1,6 +1,9 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 vec4 main() {
   int v1 = 1;
@@ -14,8 +17,8 @@
   return vec4(0.0f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:6: 'float' :  entry point cannot return a value
+ERROR: 0:6: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/const/inferred/function.wgsl.expected.ir.glsl b/test/tint/const/inferred/function.wgsl.expected.ir.glsl
index 16c75cc..a5209bc 100644
--- a/test/tint/const/inferred/function.wgsl.expected.ir.glsl
+++ b/test/tint/const/inferred/function.wgsl.expected.ir.glsl
@@ -1,6 +1,9 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 void const_decls() {
 }
@@ -8,8 +11,8 @@
   return vec4(0.0f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:5: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:5: '' : compilation terminated 
+ERROR: 0:8: 'float' :  entry point cannot return a value
+ERROR: 0:8: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/diagnostic_filtering/case_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/case_body_attribute.wgsl.expected.ir.glsl
index d117f9e..5ba6ced 100644
--- a/test/tint/diagnostic_filtering/case_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/case_body_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   switch (i32(x)) {
               ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/compound_statement_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/compound_statement_attribute.wgsl.expected.ir.glsl
index b32744e..fb9c820 100644
--- a/test/tint/diagnostic_filtering/compound_statement_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/compound_statement_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
     if (x > 0) {
         ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/default_case_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/default_case_body_attribute.wgsl.expected.ir.glsl
index e33425b..1078885 100644
--- a/test/tint/diagnostic_filtering/default_case_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/default_case_body_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   switch (i32(x)) {
               ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/directive.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/directive.wgsl.expected.ir.glsl
index ef31864..993f0c7 100644
--- a/test/tint/diagnostic_filtering/directive.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/directive.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   if (x > 0) {
       ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/else_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/else_body_attribute.wgsl.expected.ir.glsl
index 12309c1..9e2e839 100644
--- a/test/tint/diagnostic_filtering/else_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/else_body_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   if (x > 0) {
       ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/else_if_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/else_if_body_attribute.wgsl.expected.ir.glsl
index 3c4ea8b..b5d2447 100644
--- a/test/tint/diagnostic_filtering/else_if_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/else_if_body_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   if (x > 0) {
       ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/for_loop_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/for_loop_attribute.wgsl.expected.ir.glsl
index 8b8ed14..522ef36 100644
--- a/test/tint/diagnostic_filtering/for_loop_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/for_loop_attribute.wgsl.expected.ir.glsl
@@ -12,12 +12,37 @@
   for (; x > v.x && dpdx(1.0) > 0.0; ) {
                     ^^^^^^^^^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main(float x) {
+  vec4 v = vec4(0.0f);
+  {
+    while(true) {
+      bool v_1 = false;
+      if ((x > v.x)) {
+        v_1 = (dFdx(1.0f) > 0.0f);
+      } else {
+        v_1 = false;
+      }
+      if (v_1) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/diagnostic_filtering/for_loop_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/for_loop_body_attribute.wgsl.expected.ir.glsl
index a03f89c..e77e5a7 100644
--- a/test/tint/diagnostic_filtering/for_loop_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/for_loop_body_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
     v = textureSample(t, s, vec2(0, 0));
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/function_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/function_attribute.wgsl.expected.ir.glsl
index 81a4467..58705d4 100644
--- a/test/tint/diagnostic_filtering/function_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/function_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   if (x > 0) {
       ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/function_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/function_body_attribute.wgsl.expected.ir.glsl
index 67471ad..c9b8e21 100644
--- a/test/tint/diagnostic_filtering/function_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/function_body_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   if (x > 0) {
       ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/if_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/if_body_attribute.wgsl.expected.ir.glsl
index 3f92d8b..ab7b847 100644
--- a/test/tint/diagnostic_filtering/if_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/if_body_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   if (x > 0) @diagnostic(warning, derivative_uniformity) {
       ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/if_statement_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/if_statement_attribute.wgsl.expected.ir.glsl
index 16c9b18..170ee56 100644
--- a/test/tint/diagnostic_filtering/if_statement_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/if_statement_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   if (x > 0) {
       ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/loop_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/loop_attribute.wgsl.expected.ir.glsl
index 9485192..1b21217 100644
--- a/test/tint/diagnostic_filtering/loop_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/loop_attribute.wgsl.expected.ir.glsl
@@ -12,12 +12,28 @@
       break if x > 0.0;
                ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main(float x) {
+  {
+    while(true) {
+      dFdx(1.0f);
+      {
+        if ((x > 0.0f)) { break; }
+      }
+      continue;
+    }
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/diagnostic_filtering/loop_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/loop_body_attribute.wgsl.expected.ir.glsl
index 7b3fc70..ef93c8a 100644
--- a/test/tint/diagnostic_filtering/loop_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/loop_body_attribute.wgsl.expected.ir.glsl
@@ -12,12 +12,28 @@
       break if x > 0.0;
                ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main(float x) {
+  {
+    while(true) {
+      dFdx(1.0f);
+      {
+        if ((x > 0.0f)) { break; }
+      }
+      continue;
+    }
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/diagnostic_filtering/loop_continuing_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/loop_continuing_attribute.wgsl.expected.ir.glsl
index 1b58fa8..d0cb570 100644
--- a/test/tint/diagnostic_filtering/loop_continuing_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/loop_continuing_attribute.wgsl.expected.ir.glsl
@@ -12,12 +12,28 @@
       break if x > 0.0;
                ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main(float x) {
+  {
+    while(true) {
+      {
+        dFdx(1.0f);
+        if ((x > 0.0f)) { break; }
+      }
+      continue;
+    }
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/diagnostic_filtering/switch_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/switch_body_attribute.wgsl.expected.ir.glsl
index 5f33dfb..b360357 100644
--- a/test/tint/diagnostic_filtering/switch_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/switch_body_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   switch (i32(x)) @diagnostic(warning, derivative_uniformity) {
               ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Switch
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/switch_statement_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/switch_statement_attribute.wgsl.expected.ir.glsl
index 9f47785..d70dd2a 100644
--- a/test/tint/diagnostic_filtering/switch_statement_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/switch_statement_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
   switch (i32(x == 0.0 && dpdx(1.0) == 0.0)) {
               ^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/diagnostic_filtering/while_loop_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/while_loop_attribute.wgsl.expected.ir.glsl
index 5514aee..e281865 100644
--- a/test/tint/diagnostic_filtering/while_loop_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/while_loop_attribute.wgsl.expected.ir.glsl
@@ -12,12 +12,37 @@
   while (x > 0.0 && dpdx(1.0) > 0.0)  {
                     ^^^^^^^^^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main(float x) {
+  vec4 v = vec4(0.0f);
+  {
+    while(true) {
+      bool v_1 = false;
+      if ((x > 0.0f)) {
+        v_1 = (dFdx(1.0f) > 0.0f);
+      } else {
+        v_1 = false;
+      }
+      if (v_1) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/diagnostic_filtering/while_loop_body_attribute.wgsl.expected.ir.glsl b/test/tint/diagnostic_filtering/while_loop_body_attribute.wgsl.expected.ir.glsl
index 4464d62..da3e232 100644
--- a/test/tint/diagnostic_filtering/while_loop_body_attribute.wgsl.expected.ir.glsl
+++ b/test/tint/diagnostic_filtering/while_loop_body_attribute.wgsl.expected.ir.glsl
@@ -12,7 +12,7 @@
     v = textureSample(t, s, vec2(0, 0));
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -20,4 +20,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.ir.glsl b/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.ir.glsl
index ae9b6d0..8e69e93 100644
--- a/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/bit-and/scalar-scalar/bool.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  bool a = true;
+  bool b = false;
+  bool r = (a & b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '&' :  wrong operand types: no operation '&' exists that takes a left-hand operand of type ' temp bool' and a right operand of type ' temp bool' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.ir.glsl b/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.ir.glsl
index ae9b6d0..27f8a80 100644
--- a/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/bit-and/vec3-vec3/bool.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  bvec3 a = bvec3(true, true, false);
+  bvec3 b = bvec3(true, false, true);
+  bvec3 r = (a & b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '&' :  wrong operand types: no operation '&' exists that takes a left-hand operand of type ' temp 3-component vector of bool' and a right operand of type ' temp 3-component vector of bool' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div/scalar-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div/scalar-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.ir.glsl
index 37c14ad..f297654 100644
--- a/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div/scalar-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.ir.glsl
index 37c14ad..f297654 100644
--- a/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div/scalar-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div/vec3-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div/vec3-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div/vec3-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div/vec3-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.ir.glsl
index 37c14ad..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.ir.glsl
index 37c14ad..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/div_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/scalar-scalar/f16.wgsl.expected.ir.glsl
index ae9b6d0..a862921 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float16_t a = 1.0hf;
+  float16_t b = 2.0hf;
+  float16_t r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp float16_t' and a right operand of type ' temp float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.ir.glsl
index ae9b6d0..24332de 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float a = 1.0f;
+  float b = 2.0f;
+  float r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp float' and a right operand of type ' temp highp float' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/scalar-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/scalar-vec3/f16.wgsl.expected.ir.glsl
index ae9b6d0..b6611a7 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float16_t a = 4.0hf;
+  f16vec3 b = f16vec3(1.0hf, 2.0hf, 3.0hf);
+  f16vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp float16_t' and a right operand of type ' temp 3-component vector of float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '=' :  cannot convert from ' temp float16_t' to ' temp 3-component vector of float16_t'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.ir.glsl
index ae9b6d0..96f7374 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float a = 4.0f;
+  vec3 b = vec3(1.0f, 2.0f, 3.0f);
+  vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp float' and a right operand of type ' temp highp 3-component vector of float' (or there is no acceptable conversion)
+ERROR: 0:7: '=' :  cannot convert from ' temp highp float' to ' temp highp 3-component vector of float'
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.ir.glsl
index 37c14ad..f297654 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.ir.glsl
index 37c14ad..f297654 100644
--- a/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/scalar-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/vec3-scalar/f16.wgsl.expected.ir.glsl
index ae9b6d0..08f7325 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  f16vec3 a = f16vec3(1.0hf, 2.0hf, 3.0hf);
+  float16_t b = 4.0hf;
+  f16vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp 3-component vector of float16_t' and a right operand of type ' temp float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.ir.glsl
index ae9b6d0..330bfab 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vec3 a = vec3(1.0f, 2.0f, 3.0f);
+  float b = 4.0f;
+  vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp 3-component vector of float' and a right operand of type ' temp highp float' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/vec3-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/vec3-vec3/f16.wgsl.expected.ir.glsl
index ae9b6d0..66d7acc 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  f16vec3 a = f16vec3(1.0hf, 2.0hf, 3.0hf);
+  f16vec3 b = f16vec3(4.0hf, 5.0hf, 6.0hf);
+  f16vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp 3-component vector of float16_t' and a right operand of type ' temp 3-component vector of float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.ir.glsl
index ae9b6d0..c251261 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vec3 a = vec3(1.0f, 2.0f, 3.0f);
+  vec3 b = vec3(4.0f, 5.0f, 6.0f);
+  vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp 3-component vector of float' and a right operand of type ' temp highp 3-component vector of float' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod/vec3-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.ir.glsl
index ae9b6d0..e211e38 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float16_t a = 1.0hf;
+  float16_t b = 0.0hf;
+  float16_t r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp float16_t' and a right operand of type ' temp float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.ir.glsl
index ae9b6d0..3c6a28c 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float a = 1.0f;
+  float b = 0.0f;
+  float r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp float' and a right operand of type ' temp highp float' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.ir.glsl
index 37c14ad..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.ir.glsl
index 37c14ad..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/scalar-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.ir.glsl
index ae9b6d0..0037c1a 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  f16vec3 a = f16vec3(1.0hf, 2.0hf, 3.0hf);
+  f16vec3 b = f16vec3(0.0hf, 5.0hf, 0.0hf);
+  f16vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp 3-component vector of float16_t' and a right operand of type ' temp 3-component vector of float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.ir.glsl
index ae9b6d0..8422419 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vec3 a = vec3(1.0f, 2.0f, 3.0f);
+  vec3 b = vec3(0.0f, 5.0f, 0.0f);
+  vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp 3-component vector of float' and a right operand of type ' temp highp 3-component vector of float' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_constant/vec3-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.ir.glsl
index ae9b6d0..3170931 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float16_t a = 1.0hf;
+  float16_t b = 0.0hf;
+  float16_t r = (a % (b + b));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp float16_t' and a right operand of type ' temp float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.ir.glsl
index ae9b6d0..019536a 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float a = 1.0f;
+  float b = 0.0f;
+  float r = (a % (b + b));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp float' and a right operand of type ' temp highp float' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/scalar-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.ir.glsl
index ae9b6d0..44fc283 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  f16vec3 a = f16vec3(1.0hf, 2.0hf, 3.0hf);
+  f16vec3 b = f16vec3(0.0hf, 5.0hf, 0.0hf);
+  f16vec3 r = (a % (b + b));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp 3-component vector of float16_t' and a right operand of type ' temp 3-component vector of float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.ir.glsl
index ae9b6d0..8db025c 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vec3 a = vec3(1.0f, 2.0f, 3.0f);
+  vec3 b = vec3(0.0f, 5.0f, 0.0f);
+  vec3 r = (a % (b + b));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp 3-component vector of float' and a right operand of type ' temp highp 3-component vector of float' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_expression/vec3-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.ir.glsl
index ae9b6d0..e211e38 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float16_t a = 1.0hf;
+  float16_t b = 0.0hf;
+  float16_t r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp float16_t' and a right operand of type ' temp float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.ir.glsl
index ae9b6d0..3c6a28c 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  float a = 1.0f;
+  float b = 0.0f;
+  float r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp float' and a right operand of type ' temp highp float' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/scalar-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-scalar/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.ir.glsl
index ae9b6d0..0037c1a 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f16.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  f16vec3 a = f16vec3(1.0hf, 2.0hf, 3.0hf);
+  f16vec3 b = f16vec3(0.0hf, 5.0hf, 0.0hf);
+  f16vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp 3-component vector of float16_t' and a right operand of type ' temp 3-component vector of float16_t' (or there is no acceptable conversion)
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.ir.glsl
index ae9b6d0..8422419 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  vec3 a = vec3(1.0f, 2.0f, 3.0f);
+  vec3 b = vec3(0.0f, 5.0f, 0.0f);
+  vec3 r = (a % b);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:7: '%' :  wrong operand types: no operation '%' exists that takes a left-hand operand of type ' temp highp 3-component vector of float' and a right operand of type ' temp highp 3-component vector of float' (or there is no acceptable conversion)
+ERROR: 0:7: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mod_by_zero/by_identifier/vec3-vec3/u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.ir.glsl
index ae9b6d0..e1ebe27 100644
--- a/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mul/mat3x2-vec3/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  mat3x2 matrix;
+  vec3 vector;
+};
+precision highp float;
+precision highp int;
+
+
+uniform S data;
+void main() {
+  vec2 x = (data.matrix * data.vector);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.ir.glsl
index ae9b6d0..8161d94 100644
--- a/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mul/mat3x3-vec3/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  mat3 matrix;
+  vec3 vector;
+};
+precision highp float;
+precision highp int;
+
+
+uniform S data;
+void main() {
+  vec3 x = (data.matrix * data.vector);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.ir.glsl
index ae9b6d0..68cb908 100644
--- a/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mul/vec3-mat3x3/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  mat3 matrix;
+  vec3 vector;
+};
+precision highp float;
+precision highp int;
+
+
+uniform S data;
+void main() {
+  vec3 x = (data.vector * data.matrix);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.ir.glsl b/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.ir.glsl
index ae9b6d0..5cb3d62 100644
--- a/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/binary/mul/vec3-mat4x3/f32.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  mat4x3 matrix;
+  vec3 vector;
+};
+precision highp float;
+precision highp int;
+
+
+uniform S data;
+void main() {
+  vec4 x = (data.vector * data.matrix);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4f32-vec4u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4i32-vec4u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/128bit/vec4u32-vec4u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/16bit/f16-f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/16bit/f16-f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/16bit/f16-f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/16bit/f16-f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/f32-vec2f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/f32-vec2f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/f32-vec2f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/f32-vec2f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/i32-vec2f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/i32-vec2f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/i32-vec2f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/i32-vec2f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/u32-vec2f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/u32-vec2f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/u32-vec2f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/u32-vec2f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/vec2f16-f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/vec2f16-f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/vec2f16-f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/vec2f16-f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/vec2f16-i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/vec2f16-i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/vec2f16-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/vec2f16-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/vec2f16-u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/vec2f16-u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/vec2f16-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/vec2f16-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/32bit/vec2f16-vec2f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/32bit/vec2f16-vec2f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/32bit/vec2f16-vec2f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/32bit/vec2f16-vec2f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/48bit/vec3f16-vec3f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/48bit/vec3f16-vec3f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/48bit/vec3f16-vec3f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/48bit/vec3f16-vec3f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec2u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec4f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec4f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2f32-vec4f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2f32-vec4f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec2u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec4f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec4f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2i32-vec4f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2i32-vec4f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec2u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec4f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec4f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec2u32-vec4f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec2u32-vec4f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec2u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec4f16.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec4f16.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/64bit/vec4f16-vec4f16.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/64bit/vec4f16-vec4f16.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3f32-vec3u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3i32-vec3u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.ir.glsl b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/bitcast/let/96bit/vec3u32-vec3u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/scalar/function/f16-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/scalar/function/f16-i32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/scalar/function/f16-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/scalar/function/f16-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/scalar/function/f16-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/scalar/function/f16-u32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/scalar/function/f16-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/scalar/function/f16-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/scalar/function/f32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/scalar/function/f32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/scalar/var/f16-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/scalar/var/f16-i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/scalar/var/f16-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/scalar/var/f16-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/scalar/var/f16-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/scalar/var/f16-u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/scalar/var/f16-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/scalar/var/f16-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/scalar/var/f32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/scalar/var/f32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec2/function/f16-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec2/function/f16-i32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec2/function/f16-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec2/function/f16-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec2/function/f16-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec2/function/f16-u32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec2/function/f16-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec2/function/f16-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec2/function/f32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec2/function/f32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec2/var/f16-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec2/var/f16-i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec2/var/f16-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec2/var/f16-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec2/var/f16-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec2/var/f16-u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec2/var/f16-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec2/var/f16-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec2/var/f32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec2/var/f32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec3/function/f16-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec3/function/f16-i32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec3/function/f16-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec3/function/f16-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec3/function/f16-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec3/function/f16-u32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec3/function/f16-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec3/function/f16-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec3/function/f32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec3/function/f32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec3/var/f16-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec3/var/f16-i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec3/var/f16-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec3/var/f16-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec3/var/f16-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec3/var/f16-u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec3/var/f16-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec3/var/f16-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec3/var/f32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec3/var/f32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec4/function/f16-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec4/function/f16-i32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec4/function/f16-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec4/function/f16-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec4/function/f16-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec4/function/f16-u32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec4/function/f16-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec4/function/f16-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec4/function/f32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec4/function/f32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec4/var/f16-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec4/var/f16-i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec4/var/f16-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec4/var/f16-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec4/var/f16-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec4/var/f16-u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec4/var/f16-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec4/var/f16-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec4/var/f32-i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.ir.glsl b/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.ir.glsl
+++ b/test/tint/expressions/type_conv/vec4/var/f32-u32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.ir.glsl b/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.ir.glsl
index d4bb1c9..e6a46ba 100644
--- a/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/dual_source_blending/input_output.wgsl.expected.ir.glsl
@@ -1,11 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct FragOutput {
+  vec4 color;
+  vec4 blend;
+};
+precision highp float;
+precision highp int;
+
+
+struct FragInput {
+  vec4 a;
+  vec4 b;
+};
+
+FragOutput main(FragInput tint_symbol) {
+  FragOutput tint_symbol_1 = FragOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol_1.color = tint_symbol.a;
+  tint_symbol_1.blend = tint_symbol.b;
+  return tint_symbol_1;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/dual_source_blending/output.wgsl.expected.ir.glsl b/test/tint/extensions/dual_source_blending/output.wgsl.expected.ir.glsl
index d4bb1c9..f0cce58 100644
--- a/test/tint/extensions/dual_source_blending/output.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/dual_source_blending/output.wgsl.expected.ir.glsl
@@ -1,11 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct FragOutput {
+  vec4 color;
+  vec4 blend;
+};
+precision highp float;
+precision highp int;
+
+
+FragOutput main() {
+  FragOutput tint_symbol = FragOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol.color = vec4(0.5f, 0.5f, 0.5f, 1.0f);
+  tint_symbol.blend = vec4(0.5f, 0.5f, 0.5f, 1.0f);
+  return tint_symbol;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/parsing/basic.wgsl.expected.ir.glsl b/test/tint/extensions/parsing/basic.wgsl.expected.ir.glsl
index 4704e65..8161e01 100644
--- a/test/tint/extensions/parsing/basic.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/parsing/basic.wgsl.expected.ir.glsl
@@ -1,13 +1,16 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 vec4 main() {
   return vec4(0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:6: 'float' :  entry point cannot return a value
+ERROR: 0:6: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.ir.glsl b/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.ir.glsl
index 4704e65..8161e01 100644
--- a/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/parsing/duplicated_extensions.wgsl.expected.ir.glsl
@@ -1,13 +1,16 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 vec4 main() {
   return vec4(0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:6: 'float' :  entry point cannot return a value
+ERROR: 0:6: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/extensions/parsing/multiple.wgsl.expected.ir.glsl b/test/tint/extensions/parsing/multiple.wgsl.expected.ir.glsl
index 4704e65..8161e01 100644
--- a/test/tint/extensions/parsing/multiple.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/parsing/multiple.wgsl.expected.ir.glsl
@@ -1,13 +1,16 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 vec4 main() {
   return vec4(0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:6: 'float' :  entry point cannot return a value
+ERROR: 0:6: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_and_location_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/builtin_in_struct_and_location_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/invariant_builtin_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.ir.glsl
index 1e74e77..f297654 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/additional_params/location_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.ir.glsl
index d4bb1c9..aed01fb 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/multiple_attachments.wgsl.expected.ir.glsl
@@ -1,11 +1,33 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+  int b;
+  float c;
+};
+
+struct Out {
+  vec4 x;
+  vec4 y;
+  vec4 z;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+Out main() {
+  P.a = (P.a + 42u);
+  return Out(vec4(10.0f), vec4(20.0f), vec4(30.0f));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.ir.glsl
index d4bb1c9..cef6e14 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/multiple_outputs/single_attachment.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+};
+
+struct Out {
+  vec4 x;
+  vec4 y;
+  vec4 z;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+Out main() {
+  P.a = (P.a + 42u);
+  return Out(vec4(10.0f), vec4(20.0f), vec4(30.0f));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.ir.glsl
index d4bb1c9..82ce66b 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/one_output/multiple_attachments.wgsl.expected.ir.glsl
@@ -1,11 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+  int b;
+  float c;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+vec4 main() {
+  P.a = (P.a + 42u);
+  return vec4(2.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.ir.glsl
index d4bb1c9..612435e 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/one_output/single_attachment.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+vec4 main() {
+  P.a = (P.a + 42u);
+  return vec4(2.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'float' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.ir.glsl
index d4bb1c9..8bc7f50 100644
--- a/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/entry_point_use/zero_outputs/multiple_attachments.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+  int b;
+  float c;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+void main() {
+  P.a = (P.a + 42u);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.ir.glsl
index d4bb1c9..6eb2bdb 100644
--- a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/multiple_attachments.wgsl.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+  int b;
+  float c;
+};
+
+struct Out {
+  vec4 x;
+  vec4 y;
+  vec4 z;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+void f0() {
+  P.a = (P.a + 9u);
+}
+void f1() {
+  f0();
+  P.a = (P.a + 8u);
+}
+void f2() {
+  P.a = (P.a + 7u);
+  f1();
+}
+Out main() {
+  f2();
+  return Out(vec4(10.0f), vec4(20.0f), vec4(30.0f));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.ir.glsl
index d4bb1c9..bbbe4b1 100644
--- a/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/indirect_use/multiple_outputs/single_attachment.wgsl.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+};
+
+struct Out {
+  vec4 x;
+  vec4 y;
+  vec4 z;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+void f0() {
+  P.a = (P.a + 9u);
+}
+void f1() {
+  f0();
+  P.a = (P.a + 8u);
+}
+void f2() {
+  P.a = (P.a + 7u);
+  f1();
+}
+Out main() {
+  f2();
+  return Out(vec4(10.0f), vec4(20.0f), vec4(30.0f));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.ir.glsl
index d4bb1c9..317556a 100644
--- a/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/indirect_use/one_output/multiple_attachments.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+  int b;
+  float c;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+void f0() {
+  P.a = (P.a + 9u);
+}
+void f1() {
+  f0();
+  P.a = (P.a + 8u);
+}
+void f2() {
+  P.a = (P.a + 7u);
+  f1();
+}
+vec4 main() {
+  f2();
+  return vec4(2.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.ir.glsl
index d4bb1c9..9ef76bc 100644
--- a/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/indirect_use/one_output/single_attachment.wgsl.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+void f0() {
+  P.a = (P.a + 9u);
+}
+void f1() {
+  f0();
+  P.a = (P.a + 8u);
+}
+void f2() {
+  P.a = (P.a + 7u);
+  f1();
+}
+vec4 main() {
+  f2();
+  return vec4(2.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'float' :  entry point cannot return a value
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.ir.glsl
index d4bb1c9..73d90056 100644
--- a/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/indirect_use/zero_outputs/multiple_attachments.wgsl.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct PixelLocal {
+  uint a;
+  int b;
+  float c;
+};
+precision highp float;
+precision highp int;
+
+
+PixelLocal P;
+void f0() {
+  P.a = (P.a + 9u);
+}
+void f1() {
+  f0();
+  P.a = (P.a + 8u);
+}
+void f2() {
+  P.a = (P.a + 7u);
+  f1();
+}
+void main() {
+  f2();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.ir.glsl b/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/pixel_local/ptr/local.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/extensions/texel_fetch/additional_params/a.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/a.wgsl.expected.ir.glsl
index 1e74e77..f24fd3e 100644
--- a/test/tint/extensions/texel_fetch/additional_params/a.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/a.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct In {
+  vec4 uv;
+};
+
+void g(float a, float b, float c) {
+}
+void main(vec4 pos, vec4 fbf, In tint_symbol) {
+  g(pos[0u], fbf[0u], tint_symbol.uv[0u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/additional_params/b.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/b.wgsl.expected.ir.glsl
index 1e74e77..e96ac4e 100644
--- a/test/tint/extensions/texel_fetch/additional_params/b.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/b.wgsl.expected.ir.glsl
@@ -1,11 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void g(float a, float b, float c) {
+}
+void main(vec4 pos, vec4 uv, vec4 fbf) {
+  g(pos[0u], uv[0u], fbf[0u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/additional_params/c.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/c.wgsl.expected.ir.glsl
index 1e74e77..e65d95c 100644
--- a/test/tint/extensions/texel_fetch/additional_params/c.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/c.wgsl.expected.ir.glsl
@@ -1,11 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct In {
+  vec4 pos;
+  vec4 uv;
+  vec4 fbf;
+};
+
+void g(float a, float b, float c) {
+}
+void main(In tint_symbol) {
+  g(tint_symbol.pos[0u], tint_symbol.uv[0u], tint_symbol.fbf[1u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'main' : function cannot take any parameter(s) 
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/additional_params/d.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/d.wgsl.expected.ir.glsl
index 1e74e77..d126b8e 100644
--- a/test/tint/extensions/texel_fetch/additional_params/d.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/d.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct In {
+  vec4 pos;
+};
+
+void g(int a, float b, float c, uint d) {
+}
+void main(ivec4 fbf_2, In tint_symbol, vec4 uv, uvec4 fbf_0) {
+  g(fbf_2[2u], tint_symbol.pos[0u], uv[0u], fbf_0[1u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/additional_params/e.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/e.wgsl.expected.ir.glsl
index 1e74e77..89442b1 100644
--- a/test/tint/extensions/texel_fetch/additional_params/e.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/e.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct In {
+  ivec4 fbf;
+  vec4 pos;
+};
+
+void g(int a, float b) {
+}
+void main(In tint_symbol) {
+  g(tint_symbol.fbf[3u], tint_symbol.pos[0u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/additional_params/f.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/f.wgsl.expected.ir.glsl
index 1e74e77..8e2b36e 100644
--- a/test/tint/extensions/texel_fetch/additional_params/f.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/f.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct In {
+  vec4 pos;
+};
+
+void g(float a, float b) {
+}
+void main(In tint_symbol, vec4 fbf) {
+  g(tint_symbol.pos[0u], fbf[1u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/additional_params/g.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/g.wgsl.expected.ir.glsl
index 1e74e77..d1cc2ad 100644
--- a/test/tint/extensions/texel_fetch/additional_params/g.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/g.wgsl.expected.ir.glsl
@@ -1,11 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void g(float a, float b) {
+}
+void main(vec4 fbf, vec4 pos) {
+  g(fbf[3u], pos[0u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/additional_params/h.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/h.wgsl.expected.ir.glsl
index 1e74e77..66d8399 100644
--- a/test/tint/extensions/texel_fetch/additional_params/h.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/h.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct FBF {
+  vec4 c1;
+  ivec4 c3;
+};
+
+void g(float a, float b, int c) {
+}
+void main(vec4 pos, FBF fbf) {
+  g(fbf.c1[0u], pos[1u], fbf.c3[2u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/additional_params/i.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/i.wgsl.expected.ir.glsl
index 1e74e77..a05f7aa 100644
--- a/test/tint/extensions/texel_fetch/additional_params/i.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/i.wgsl.expected.ir.glsl
@@ -1,11 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct In {
+  vec4 a;
+  vec4 b;
+  ivec4 fbf;
+};
+
+void g(float a, float b, int c) {
+}
+void main(In tint_symbol) {
+  g(tint_symbol.a[0u], tint_symbol.b[1u], tint_symbol.fbf[0u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'main' : function cannot take any parameter(s) 
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/additional_params/j.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/additional_params/j.wgsl.expected.ir.glsl
index 1e74e77..e48c8a0 100644
--- a/test/tint/extensions/texel_fetch/additional_params/j.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/additional_params/j.wgsl.expected.ir.glsl
@@ -1,11 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void g(float a, float b, float c) {
+}
+void main(vec4 a, vec4 b, vec4 fbf) {
+  g(a[0u], b[1u], fbf[0u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/multiple_outputs/multiple_inputs.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/multiple_outputs/multiple_inputs.wgsl.expected.ir.glsl
index 37c14ad..6fb7fd3 100644
--- a/test/tint/extensions/texel_fetch/multiple_outputs/multiple_inputs.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/multiple_outputs/multiple_inputs.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Out {
+  vec4 x;
+  vec4 y;
+  vec4 z;
+};
+precision highp float;
+precision highp int;
+
+
+Out main(vec4 fbf_1, vec4 fbf_3) {
+  return Out(fbf_1, vec4(20.0f), fbf_3);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/multiple_outputs/single_input.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/multiple_outputs/single_input.wgsl.expected.ir.glsl
index 37c14ad..435d8ff 100644
--- a/test/tint/extensions/texel_fetch/multiple_outputs/single_input.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/multiple_outputs/single_input.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Out {
+  vec4 x;
+  vec4 y;
+  vec4 z;
+};
+precision highp float;
+precision highp int;
+
+
+Out main(vec4 fbf) {
+  return Out(vec4(10.0f), fbf, vec4(30.0f));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/one_output/multiple_inputs.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/one_output/multiple_inputs.wgsl.expected.ir.glsl
index ae9b6d0..fae3bf1 100644
--- a/test/tint/extensions/texel_fetch/one_output/multiple_inputs.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/one_output/multiple_inputs.wgsl.expected.ir.glsl
@@ -1,11 +1,20 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 main(vec4 fbf_1, vec4 fbf_3) {
+  return (fbf_1 + fbf_3);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: 'float' :  entry point cannot return a value
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/one_output/single_input.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/one_output/single_input.wgsl.expected.ir.glsl
index a0821a5..8ece893 100644
--- a/test/tint/extensions/texel_fetch/one_output/single_input.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/one_output/single_input.wgsl.expected.ir.glsl
@@ -1,14 +1,18 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 vec4 main(vec4 fbf) {
   return fbf;
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: '' : compilation terminated 
-ERROR: 2 compilation errors.  No code generated.
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: 'float' :  entry point cannot return a value
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
 
 
 
diff --git a/test/tint/extensions/texel_fetch/zero_outputs/multiple_inputs.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/zero_outputs/multiple_inputs.wgsl.expected.ir.glsl
index 1e74e77..3d5b404 100644
--- a/test/tint/extensions/texel_fetch/zero_outputs/multiple_inputs.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/zero_outputs/multiple_inputs.wgsl.expected.ir.glsl
@@ -1,11 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void g(float a, float b) {
+}
+void main(vec4 fbf_1, vec4 fbf_3) {
+  g(fbf_1[0u], fbf_3[1u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/extensions/texel_fetch/zero_outputs/single_input.wgsl.expected.ir.glsl b/test/tint/extensions/texel_fetch/zero_outputs/single_input.wgsl.expected.ir.glsl
index 1e74e77..99fb68b 100644
--- a/test/tint/extensions/texel_fetch/zero_outputs/single_input.wgsl.expected.ir.glsl
+++ b/test/tint/extensions/texel_fetch/zero_outputs/single_input.wgsl.expected.ir.glsl
@@ -1,11 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void g(float a) {
+}
+void main(vec4 fbf) {
+  g(fbf[1u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/let/inferred/function.wgsl.expected.ir.glsl b/test/tint/let/inferred/function.wgsl.expected.ir.glsl
index 37c14ad..edaa642 100644
--- a/test/tint/let/inferred/function.wgsl.expected.ir.glsl
+++ b/test/tint/let/inferred/function.wgsl.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct MyStruct {
+  float f1;
+};
+precision highp float;
+precision highp int;
+
+
+int ret_i32() {
+  return 1;
+}
+uint ret_u32() {
+  return 1u;
+}
+float ret_f32() {
+  return 1.0f;
+}
+MyStruct ret_MyStruct() {
+  return MyStruct(0.0f);
+}
+float[10] ret_MyArray() {
+  return float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+}
+void let_decls() {
+  int v1 = 1;
+  uint v2 = 1u;
+  float v3 = 1.0f;
+  ivec3 v4 = ivec3(1);
+  uvec3 v5 = uvec3(1u);
+  vec3 v6 = vec3(1.0f);
+  mat3 v7 = mat3(v6, v6, v6);
+  MyStruct v8 = MyStruct(1.0f);
+  float v9[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int v10 = ret_i32();
+  uint v11 = ret_u32();
+  float v12 = ret_f32();
+  MyStruct v13 = ret_MyStruct();
+  MyStruct v14 = ret_MyStruct();
+  float v15[10] = ret_MyArray();
+}
+vec4 main() {
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/ptr_ref/access/matrix.wgsl.expected.ir.glsl b/test/tint/ptr_ref/access/matrix.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/ptr_ref/access/matrix.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/access/matrix.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.ir.glsl
index ae9b6d0..4687334 100644
--- a/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/local/ptr_function.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.ir.glsl
index ae9b6d0..4687334 100644
--- a/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/local/ptr_uniform.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/local/ptr_workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.ir.glsl
index 72ca17c..56f48c5 100644
--- a/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/param/workgroup/array_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.ir.glsl
index 72ca17c..56f48c5 100644
--- a/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/param/workgroup/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.ir.glsl
index 72ca17c..56f48c5 100644
--- a/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/param/workgroup/i32_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.ir.glsl
index 72ca17c..56f48c5 100644
--- a/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/param/workgroup/struct_in_array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.ir.glsl
index 72ca17c..56f48c5 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.ir.glsl
index 72ca17c..56f48c5 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec4_f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.ir.glsl
index 72ca17c..56f48c5 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.ir.glsl
index 72ca17c..56f48c5 100644
--- a/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/load/param/workgroup/vec4_f32_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/store/local/i32.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/local/i32.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/ptr_ref/store/local/i32.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/store/local/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/store/param/workgroup/array_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/store/param/workgroup/i32.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/workgroup/i32.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/i32.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/store/param/workgroup/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/store/param/workgroup/i32_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/store/param/workgroup/struct_in_array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec2_f32_in_mat2x2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec4_f32.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/workgroup/vec4_f32.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec4_f32.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec4_f32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_mat2x4.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.ir.glsl b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_ref/store/param/workgroup/vec4_f32_in_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_sugar/array.wgsl.expected.ir.glsl b/test/tint/ptr_sugar/array.wgsl.expected.ir.glsl
index 72ca17c..4687334 100644
--- a/test/tint/ptr_sugar/array.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_sugar/array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_sugar/builtin_struct.wgsl.expected.ir.glsl b/test/tint/ptr_sugar/builtin_struct.wgsl.expected.ir.glsl
index 72ca17c..4687334 100644
--- a/test/tint/ptr_sugar/builtin_struct.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_sugar/builtin_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.ir.glsl b/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.ir.glsl
index 1268749..4687334 100644
--- a/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_sugar/compound_assign_index.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::StoreVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_sugar/compound_assign_member.wgsl.expected.ir.glsl b/test/tint/ptr_sugar/compound_assign_member.wgsl.expected.ir.glsl
index 1268749..4687334 100644
--- a/test/tint/ptr_sugar/compound_assign_member.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_sugar/compound_assign_member.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::StoreVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_sugar/matrix.wgsl.expected.ir.glsl b/test/tint/ptr_sugar/matrix.wgsl.expected.ir.glsl
index 72ca17c..4687334 100644
--- a/test/tint/ptr_sugar/matrix.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_sugar/matrix.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_sugar/struct.wgsl.expected.ir.glsl b/test/tint/ptr_sugar/struct.wgsl.expected.ir.glsl
index 72ca17c..4687334 100644
--- a/test/tint/ptr_sugar/struct.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_sugar/struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_sugar/vector_index.wgsl.expected.ir.glsl b/test/tint/ptr_sugar/vector_index.wgsl.expected.ir.glsl
index 4a20bc7..4687334 100644
--- a/test/tint/ptr_sugar/vector_index.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_sugar/vector_index.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_sugar/vector_member.wgsl.expected.ir.glsl b/test/tint/ptr_sugar/vector_member.wgsl.expected.ir.glsl
index 4a20bc7..4687334 100644
--- a/test/tint/ptr_sugar/vector_member.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_sugar/vector_member.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/ptr_sugar/vector_swizzle.wgsl.expected.ir.glsl b/test/tint/ptr_sugar/vector_swizzle.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/ptr_sugar/vector_swizzle.wgsl.expected.ir.glsl
+++ b/test/tint/ptr_sugar/vector_swizzle.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/samples/compute_boids.wgsl.expected.ir.glsl b/test/tint/samples/compute_boids.wgsl.expected.ir.glsl
index cb792a4..173acb9 100644
--- a/test/tint/samples/compute_boids.wgsl.expected.ir.glsl
+++ b/test/tint/samples/compute_boids.wgsl.expected.ir.glsl
@@ -1,11 +1,381 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreUnary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct SimParams {
+  float deltaT;
+  float rule1Distance;
+  float rule2Distance;
+  float rule3Distance;
+  float rule1Scale;
+  float rule2Scale;
+  float rule3Scale;
+};
+
+struct Particle {
+  vec2 pos;
+  vec2 vel;
+};
+
+struct Particles {
+  Particle particles[5];
+};
+precision highp float;
+precision highp int;
+
+
+uniform SimParams params;
+Particles particlesA;
+Particles particlesB;
+vec4 main(vec2 a_particlePos, vec2 a_particleVel, vec2 a_pos) {
+  float angle = -(atan(a_particleVel[0u], a_particleVel[1u]));
+  float v = (a_pos[0u] * cos(angle));
+  float v_1 = (v - (a_pos[1u] * sin(angle)));
+  float v_2 = (a_pos[0u] * sin(angle));
+  vec2 pos = vec2(v_1, (v_2 + (a_pos[1u] * cos(angle))));
+  return vec4((pos + a_particlePos), 0.0f, 1.0f);
+}
+vec4 main() {
+  return vec4(1.0f);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 tint_symbol) {
+  uint index = tint_symbol[0u];
+  if ((index >= 5u)) {
+    return;
+  }
+  vec2 vPos = particlesA.particles[index].pos;
+  vec2 vVel = particlesA.particles[index].vel;
+  vec2 cMass = vec2(0.0f);
+  vec2 cVel = vec2(0.0f);
+  vec2 colVel = vec2(0.0f);
+  int cMassCount = 0;
+  int cVelCount = 0;
+  vec2 pos = vec2(0.0f);
+  vec2 vel = vec2(0.0f);
+  {
+    uint i = 0u;
+    while(true) {
+      if ((i < 5u)) {
+      } else {
+        break;
+      }
+      if ((i == index)) {
+        {
+          i = (i + 1u);
+        }
+        continue;
+      }
+      pos = particlesA.particles[i].pos.xy;
+      vel = particlesA.particles[i].vel.xy;
+      float v_3 = distance(pos, vPos);
+      if ((v_3 < params.rule1Distance)) {
+        cMass = (cMass + pos);
+        cMassCount = (cMassCount + 1);
+      }
+      float v_4 = distance(pos, vPos);
+      if ((v_4 < params.rule2Distance)) {
+        colVel = (colVel - (pos - vPos));
+      }
+      float v_5 = distance(pos, vPos);
+      if ((v_5 < params.rule3Distance)) {
+        cVel = (cVel + vel);
+        cVelCount = (cVelCount + 1);
+      }
+      {
+        i = (i + 1u);
+      }
+      continue;
+    }
+  }
+  if ((cMassCount > 0)) {
+    vec2 v_6 = cMass;
+    float v_7 = float(cMassCount);
+    vec2 v_8 = (v_6 / vec2(v_7, float(cMassCount)));
+    cMass = (v_8 - vPos);
+  }
+  if ((cVelCount > 0)) {
+    vec2 v_9 = cVel;
+    float v_10 = float(cVelCount);
+    cVel = (v_9 / vec2(v_10, float(cVelCount)));
+  }
+  vVel = (((vVel + (cMass * params.rule1Scale)) + (colVel * params.rule2Scale)) + (cVel * params.rule3Scale));
+  vec2 v_11 = normalize(vVel);
+  vVel = (v_11 * clamp(length(vVel), 0.0f, 0.10000000149011611938f));
+  vPos = (vPos + (vVel * params.deltaT));
+  if ((vPos.x < -1.0f)) {
+    vPos[0u] = 1.0f;
+  }
+  if ((vPos.x > 1.0f)) {
+    vPos[0u] = -1.0f;
+  }
+  if ((vPos.y < -1.0f)) {
+    vPos[1u] = 1.0f;
+  }
+  if ((vPos.y > 1.0f)) {
+    vPos[1u] = -1.0f;
+  }
+  particlesB.particles[index].pos = vPos;
+  particlesB.particles[index].vel = vVel;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:28: 'main' : function cannot take any parameter(s) 
+ERROR: 0:28: 'float' :  entry point cannot return a value
+ERROR: 0:28: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct SimParams {
+  float deltaT;
+  float rule1Distance;
+  float rule2Distance;
+  float rule3Distance;
+  float rule1Scale;
+  float rule2Scale;
+  float rule3Scale;
+};
+
+struct Particle {
+  vec2 pos;
+  vec2 vel;
+};
+
+struct Particles {
+  Particle particles[5];
+};
+precision highp float;
+precision highp int;
+
+
+uniform SimParams params;
+Particles particlesA;
+Particles particlesB;
+vec4 main(vec2 a_particlePos, vec2 a_particleVel, vec2 a_pos) {
+  float angle = -(atan(a_particleVel[0u], a_particleVel[1u]));
+  float v = (a_pos[0u] * cos(angle));
+  float v_1 = (v - (a_pos[1u] * sin(angle)));
+  float v_2 = (a_pos[0u] * sin(angle));
+  vec2 pos = vec2(v_1, (v_2 + (a_pos[1u] * cos(angle))));
+  return vec4((pos + a_particlePos), 0.0f, 1.0f);
+}
+vec4 main() {
+  return vec4(1.0f);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 tint_symbol) {
+  uint index = tint_symbol[0u];
+  if ((index >= 5u)) {
+    return;
+  }
+  vec2 vPos = particlesA.particles[index].pos;
+  vec2 vVel = particlesA.particles[index].vel;
+  vec2 cMass = vec2(0.0f);
+  vec2 cVel = vec2(0.0f);
+  vec2 colVel = vec2(0.0f);
+  int cMassCount = 0;
+  int cVelCount = 0;
+  vec2 pos = vec2(0.0f);
+  vec2 vel = vec2(0.0f);
+  {
+    uint i = 0u;
+    while(true) {
+      if ((i < 5u)) {
+      } else {
+        break;
+      }
+      if ((i == index)) {
+        {
+          i = (i + 1u);
+        }
+        continue;
+      }
+      pos = particlesA.particles[i].pos.xy;
+      vel = particlesA.particles[i].vel.xy;
+      float v_3 = distance(pos, vPos);
+      if ((v_3 < params.rule1Distance)) {
+        cMass = (cMass + pos);
+        cMassCount = (cMassCount + 1);
+      }
+      float v_4 = distance(pos, vPos);
+      if ((v_4 < params.rule2Distance)) {
+        colVel = (colVel - (pos - vPos));
+      }
+      float v_5 = distance(pos, vPos);
+      if ((v_5 < params.rule3Distance)) {
+        cVel = (cVel + vel);
+        cVelCount = (cVelCount + 1);
+      }
+      {
+        i = (i + 1u);
+      }
+      continue;
+    }
+  }
+  if ((cMassCount > 0)) {
+    vec2 v_6 = cMass;
+    float v_7 = float(cMassCount);
+    vec2 v_8 = (v_6 / vec2(v_7, float(cMassCount)));
+    cMass = (v_8 - vPos);
+  }
+  if ((cVelCount > 0)) {
+    vec2 v_9 = cVel;
+    float v_10 = float(cVelCount);
+    cVel = (v_9 / vec2(v_10, float(cVelCount)));
+  }
+  vVel = (((vVel + (cMass * params.rule1Scale)) + (colVel * params.rule2Scale)) + (cVel * params.rule3Scale));
+  vec2 v_11 = normalize(vVel);
+  vVel = (v_11 * clamp(length(vVel), 0.0f, 0.10000000149011611938f));
+  vPos = (vPos + (vVel * params.deltaT));
+  if ((vPos.x < -1.0f)) {
+    vPos[0u] = 1.0f;
+  }
+  if ((vPos.x > 1.0f)) {
+    vPos[0u] = -1.0f;
+  }
+  if ((vPos.y < -1.0f)) {
+    vPos[1u] = 1.0f;
+  }
+  if ((vPos.y > 1.0f)) {
+    vPos[1u] = -1.0f;
+  }
+  particlesB.particles[index].pos = vPos;
+  particlesB.particles[index].vel = vVel;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct SimParams {
+  float deltaT;
+  float rule1Distance;
+  float rule2Distance;
+  float rule3Distance;
+  float rule1Scale;
+  float rule2Scale;
+  float rule3Scale;
+};
+
+struct Particle {
+  vec2 pos;
+  vec2 vel;
+};
+
+struct Particles {
+  Particle particles[5];
+};
+precision highp float;
+precision highp int;
+
+
+uniform SimParams params;
+Particles particlesA;
+Particles particlesB;
+vec4 main(vec2 a_particlePos, vec2 a_particleVel, vec2 a_pos) {
+  float angle = -(atan(a_particleVel[0u], a_particleVel[1u]));
+  float v = (a_pos[0u] * cos(angle));
+  float v_1 = (v - (a_pos[1u] * sin(angle)));
+  float v_2 = (a_pos[0u] * sin(angle));
+  vec2 pos = vec2(v_1, (v_2 + (a_pos[1u] * cos(angle))));
+  return vec4((pos + a_particlePos), 0.0f, 1.0f);
+}
+vec4 main() {
+  return vec4(1.0f);
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 tint_symbol) {
+  uint index = tint_symbol[0u];
+  if ((index >= 5u)) {
+    return;
+  }
+  vec2 vPos = particlesA.particles[index].pos;
+  vec2 vVel = particlesA.particles[index].vel;
+  vec2 cMass = vec2(0.0f);
+  vec2 cVel = vec2(0.0f);
+  vec2 colVel = vec2(0.0f);
+  int cMassCount = 0;
+  int cVelCount = 0;
+  vec2 pos = vec2(0.0f);
+  vec2 vel = vec2(0.0f);
+  {
+    uint i = 0u;
+    while(true) {
+      if ((i < 5u)) {
+      } else {
+        break;
+      }
+      if ((i == index)) {
+        {
+          i = (i + 1u);
+        }
+        continue;
+      }
+      pos = particlesA.particles[i].pos.xy;
+      vel = particlesA.particles[i].vel.xy;
+      float v_3 = distance(pos, vPos);
+      if ((v_3 < params.rule1Distance)) {
+        cMass = (cMass + pos);
+        cMassCount = (cMassCount + 1);
+      }
+      float v_4 = distance(pos, vPos);
+      if ((v_4 < params.rule2Distance)) {
+        colVel = (colVel - (pos - vPos));
+      }
+      float v_5 = distance(pos, vPos);
+      if ((v_5 < params.rule3Distance)) {
+        cVel = (cVel + vel);
+        cVelCount = (cVelCount + 1);
+      }
+      {
+        i = (i + 1u);
+      }
+      continue;
+    }
+  }
+  if ((cMassCount > 0)) {
+    vec2 v_6 = cMass;
+    float v_7 = float(cMassCount);
+    vec2 v_8 = (v_6 / vec2(v_7, float(cMassCount)));
+    cMass = (v_8 - vPos);
+  }
+  if ((cVelCount > 0)) {
+    vec2 v_9 = cVel;
+    float v_10 = float(cVelCount);
+    cVel = (v_9 / vec2(v_10, float(cVelCount)));
+  }
+  vVel = (((vVel + (cMass * params.rule1Scale)) + (colVel * params.rule2Scale)) + (cVel * params.rule3Scale));
+  vec2 v_11 = normalize(vVel);
+  vVel = (v_11 * clamp(length(vVel), 0.0f, 0.10000000149011611938f));
+  vPos = (vPos + (vVel * params.deltaT));
+  if ((vPos.x < -1.0f)) {
+    vPos[0u] = 1.0f;
+  }
+  if ((vPos.x > 1.0f)) {
+    vPos[0u] = -1.0f;
+  }
+  if ((vPos.y < -1.0f)) {
+    vPos[1u] = 1.0f;
+  }
+  if ((vPos.y > 1.0f)) {
+    vPos[1u] = -1.0f;
+  }
+  particlesB.particles[index].pos = vPos;
+  particlesB.particles[index].vel = vVel;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:28: 'main' : function cannot take any parameter(s) 
+ERROR: 0:28: 'float' :  entry point cannot return a value
+ERROR: 0:28: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/samples/cube.wgsl.expected.ir.glsl b/test/tint/samples/cube.wgsl.expected.ir.glsl
index d4bb1c9..36f3538 100644
--- a/test/tint/samples/cube.wgsl.expected.ir.glsl
+++ b/test/tint/samples/cube.wgsl.expected.ir.glsl
@@ -1,11 +1,77 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Uniforms {
+  mat4 modelViewProjectionMatrix;
+};
+
+struct VertexOutput {
+  vec4 vtxFragColor;
+  vec4 Position;
+};
+
+struct VertexInput {
+  vec4 cur_position;
+  vec4 color;
+};
+precision highp float;
+precision highp int;
+
+
+uniform Uniforms uniforms;
+VertexOutput main(VertexInput tint_symbol) {
+  VertexOutput tint_symbol_1 = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol_1.Position = (uniforms.modelViewProjectionMatrix * tint_symbol.cur_position);
+  tint_symbol_1.vtxFragColor = tint_symbol.color;
+  return tint_symbol_1;
+}
+vec4 main(vec4 fragColor) {
+  return fragColor;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:21: 'main' : function cannot take any parameter(s) 
+ERROR: 0:21: 'structure' :  entry point cannot return a value
+ERROR: 0:21: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct Uniforms {
+  mat4 modelViewProjectionMatrix;
+};
+
+struct VertexOutput {
+  vec4 vtxFragColor;
+  vec4 Position;
+};
+
+struct VertexInput {
+  vec4 cur_position;
+  vec4 color;
+};
+precision highp float;
+precision highp int;
+
+
+uniform Uniforms uniforms;
+VertexOutput main(VertexInput tint_symbol) {
+  VertexOutput tint_symbol_1 = VertexOutput(vec4(0.0f), vec4(0.0f));
+  tint_symbol_1.Position = (uniforms.modelViewProjectionMatrix * tint_symbol.cur_position);
+  tint_symbol_1.vtxFragColor = tint_symbol.color;
+  return tint_symbol_1;
+}
+vec4 main(vec4 fragColor) {
+  return fragColor;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/samples/simple.wgsl.expected.ir.glsl b/test/tint/samples/simple.wgsl.expected.ir.glsl
index 989c67b..6beaacd 100644
--- a/test/tint/samples/simple.wgsl.expected.ir.glsl
+++ b/test/tint/samples/simple.wgsl.expected.ir.glsl
@@ -1,6 +1,9 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 void bar() {
 }
@@ -10,8 +13,8 @@
   return vec4(0.40000000596046447754f, 0.40000000596046447754f, 0.80000001192092895508f, 1.0f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:5: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:5: '' : compilation terminated 
+ERROR: 0:8: 'float' :  entry point cannot return a value
+ERROR: 0:8: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/samples/simple_vertex.spvasm.expected.ir.glsl b/test/tint/samples/simple_vertex.spvasm.expected.ir.glsl
index d4bb1c9..239d5e5 100644
--- a/test/tint/samples/simple_vertex.spvasm.expected.ir.glsl
+++ b/test/tint/samples/simple_vertex.spvasm.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol = vec4(0.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/samples/triangle.wgsl.expected.ir.glsl b/test/tint/samples/triangle.wgsl.expected.ir.glsl
index 37c14ad..86263c2 100644
--- a/test/tint/samples/triangle.wgsl.expected.ir.glsl
+++ b/test/tint/samples/triangle.wgsl.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+vec4 main(uint VertexIndex) {
+  return vec4(vec2[3](vec2(0.0f, 0.5f), vec2(-0.5f), vec2(0.5f, -0.5f))[VertexIndex], 0.0f, 1.0f);
+}
+vec4 main() {
+  return vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: 'float' :  entry point cannot return a value
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+vec4 main(uint VertexIndex) {
+  return vec4(vec2[3](vec2(0.0f, 0.5f), vec2(-0.5f), vec2(0.5f, -0.5f))[VertexIndex], 0.0f, 1.0f);
+}
+vec4 main() {
+  return vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: 'float' :  entry point cannot return a value
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/shadowing/short_names/renamer/function.wgsl.expected.ir.glsl b/test/tint/shadowing/short_names/renamer/function.wgsl.expected.ir.glsl
index 69f590c..f297654 100644
--- a/test/tint/shadowing/short_names/renamer/function.wgsl.expected.ir.glsl
+++ b/test/tint/shadowing/short_names/renamer/function.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/shadowing/short_names/renamer/type.wgsl.expected.ir.glsl b/test/tint/shadowing/short_names/renamer/type.wgsl.expected.ir.glsl
index 69f590c..f297654 100644
--- a/test/tint/shadowing/short_names/renamer/type.wgsl.expected.ir.glsl
+++ b/test/tint/shadowing/short_names/renamer/type.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.ir.glsl
index 288bf3d..7570bbb 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.ir.glsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array.wgsl.expected.ir.glsl
@@ -1,31 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1764920==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55d7401ba4d3 bp 0x7ffe2c0fde60 sp 0x7ffe2c0fdc80 T0)
-==1764920==The signal is caused by a READ memory access.
-==1764920==Hint: address points to the zero page.
-    #0 0x55d7401ba4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55d7401cd17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55d7401ccfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55d7401cc72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55d7401b7704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55d7401b6a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55d7401b493a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55d7401b3b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55d7401b302b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55d73fcffebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55d73f51b455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55d73f503d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55d73f4eb861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fd77fe43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fd77fe43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55d73f410000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1764920==ABORTING
+struct Uniforms {
+  uint i;
+};
+
+struct InnerS {
+  int v;
+};
+
+struct OuterS {
+  InnerS a1[];
+};
+
+uniform Uniforms uniforms;
+OuterS s1;
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  InnerS v = InnerS(0);
+  s1.a1[uniforms.i] = v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: '' : array size required 
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.ir.glsl
index d12f793..1348baf 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.ir.glsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/struct_dynamic_array_struct_array.wgsl.expected.ir.glsl
@@ -1,31 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1764921==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5588d70da4d3 bp 0x7ffca4d4c540 sp 0x7ffca4d4c360 T0)
-==1764921==The signal is caused by a READ memory access.
-==1764921==Hint: address points to the zero page.
-    #0 0x5588d70da4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5588d70ed17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5588d70ecfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5588d70ec72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5588d70d7704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5588d70d6a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5588d70d493a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5588d70d3b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5588d70d302b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5588d6c1febb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5588d643b455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5588d6423d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5588d640b861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f7d36564b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f7d36564c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5588d6330000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1764921==ABORTING
+struct Uniforms {
+  uint i;
+  uint j;
+};
+
+struct InnerS {
+  int v;
+};
+
+struct S1 {
+  InnerS a2[8];
+};
+
+struct OuterS {
+  S1 a1[];
+};
+
+uniform Uniforms uniforms;
+OuterS s;
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  InnerS v = InnerS(0);
+  s.a1[uniforms.i].a2[uniforms.j] = v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: '' : array size required 
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.ir.glsl b/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.ir.glsl
index 1e74e77..4687334 100644
--- a/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.ir.glsl
+++ b/test/tint/statements/assign/indexed_assign_to_array_in_struct/via_pointer.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/assign/phony/addr_of_non_constructable.wgsl.expected.ir.glsl b/test/tint/statements/assign/phony/addr_of_non_constructable.wgsl.expected.ir.glsl
index 64a2a39..1ebd34c 100644
--- a/test/tint/statements/assign/phony/addr_of_non_constructable.wgsl.expected.ir.glsl
+++ b/test/tint/statements/assign/phony/addr_of_non_constructable.wgsl.expected.ir.glsl
@@ -1,31 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1764929==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5567cfc324d3 bp 0x7fffdb0070e0 sp 0x7fffdb006f00 T0)
-==1764929==The signal is caused by a READ memory access.
-==1764929==Hint: address points to the zero page.
-    #0 0x5567cfc324d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5567cfc4517c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5567cfc44fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5567cfc4472f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5567cfc2f704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5567cfc2ea63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5567cfc2c93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5567cfc2bb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5567cfc2b02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5567cf777ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5567cef93455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5567cef7bd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5567cef63861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f8643764b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f8643764c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5567cee88000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1764929==ABORTING
+struct S {
+  int arr[];
+};
+
+S s;
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: '' : array size required 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/statements/assign/phony/addr_of_runtime_array.wgsl.expected.ir.glsl b/test/tint/statements/assign/phony/addr_of_runtime_array.wgsl.expected.ir.glsl
index 42bb8af..1ebd34c 100644
--- a/test/tint/statements/assign/phony/addr_of_runtime_array.wgsl.expected.ir.glsl
+++ b/test/tint/statements/assign/phony/addr_of_runtime_array.wgsl.expected.ir.glsl
@@ -1,31 +1,21 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1764930==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55e0689dd4d3 bp 0x7ffe96a5f4a0 sp 0x7ffe96a5f2c0 T0)
-==1764930==The signal is caused by a READ memory access.
-==1764930==Hint: address points to the zero page.
-    #0 0x55e0689dd4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55e0689f017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55e0689effd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55e0689ef72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55e0689da704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55e0689d9a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55e0689d793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55e0689d6b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55e0689d602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55e068522ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55e067d3e455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55e067d26d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55e067d0e861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f7c0e643b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f7c0e643c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55e067c33000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1764930==ABORTING
+struct S {
+  int arr[];
+};
+
+S s;
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: '' : array size required 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/complex_lhs.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/divide_by_zero.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/for_loop.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/for_loop.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/statements/compound_assign/for_loop.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/for_loop.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/function.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/function.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/statements/compound_assign/function.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/function.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/private.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/private.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/statements/compound_assign/private.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/private.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/scalar/divide.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/divide.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/statements/compound_assign/scalar/divide.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/scalar/divide.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/scalar/modulo.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/vector/divide.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/divide.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/statements/compound_assign/vector/divide.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/vector/divide.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/vector/modulo-scalar.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/vector/modulo.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/compound_assign/workgroup.wgsl.expected.ir.glsl b/test/tint/statements/compound_assign/workgroup.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/statements/compound_assign/workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/statements/compound_assign/workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/decrement/complex.wgsl.expected.ir.glsl b/test/tint/statements/decrement/complex.wgsl.expected.ir.glsl
index 207c755..4687334 100644
--- a/test/tint/statements/decrement/complex.wgsl.expected.ir.glsl
+++ b/test/tint/statements/decrement/complex.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1764984==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55d9d999e4d3 bp 0x7ffd02025640 sp 0x7ffd02025460 T0)
-==1764984==The signal is caused by a READ memory access.
-==1764984==Hint: address points to the zero page.
-    #0 0x55d9d999e4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55d9d99b117c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55d9d99b0fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55d9d99b072f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55d9d999b704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55d9d999aa63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55d9d999893a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55d9d9997b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55d9d999702b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55d9d94e3ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55d9d8cff455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55d9d8ce79a6 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1140:16
-    #12 0x55d9d8ccf861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f2ad6c43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f2ad6c43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55d9d8bf4000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1764984==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.ir.glsl b/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.ir.glsl
index c620578..072de26 100644
--- a/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.ir.glsl
+++ b/test/tint/statements/discard/atomic_cmpxchg.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Atomic
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.ir.glsl b/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.ir.glsl
+++ b/test/tint/statements/discard/atomic_in_for_loop_continuing.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/statements/increment/complex.wgsl.expected.ir.glsl b/test/tint/statements/increment/complex.wgsl.expected.ir.glsl
index e06d6cc..4687334 100644
--- a/test/tint/statements/increment/complex.wgsl.expected.ir.glsl
+++ b/test/tint/statements/increment/complex.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765019==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5582459e14d3 bp 0x7ffcfa4cdc20 sp 0x7ffcfa4cda40 T0)
-==1765019==The signal is caused by a READ memory access.
-==1765019==Hint: address points to the zero page.
-    #0 0x5582459e14d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5582459f417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5582459f3fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5582459f372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5582459de704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5582459dda63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5582459db93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5582459dab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5582459da02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x558245526ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x558244d42455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x558244d2a9a6 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1140:16
-    #12 0x558244d12861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f4926816b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f4926816c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x558244c37000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765019==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/buffers/storage.wgsl.expected.ir.glsl b/test/tint/types/buffers/storage.wgsl.expected.ir.glsl
index 2d2c92c..332e24e 100644
--- a/test/tint/types/buffers/storage.wgsl.expected.ir.glsl
+++ b/test/tint/types/buffers/storage.wgsl.expected.ir.glsl
@@ -1,31 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765040==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x56442d6474d3 bp 0x7fff924753e0 sp 0x7fff92475200 T0)
-==1765040==The signal is caused by a READ memory access.
-==1765040==Hint: address points to the zero page.
-    #0 0x56442d6474d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x56442d65a17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x56442d659fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x56442d65972f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x56442d644704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x56442d643a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x56442d64193a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x56442d640b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x56442d64002b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x56442d18cebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x56442c9a8455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x56442c990d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x56442c978861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f4a5ce43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f4a5ce43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x56442c89d000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
+precision highp float;
+precision highp int;
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765040==ABORTING
+
+float weights[];
+void main() {
+  float a = weights[0];
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/types/function_scope_declarations.wgsl.expected.ir.glsl b/test/tint/types/function_scope_declarations.wgsl.expected.ir.glsl
index 21c32fe..4687334 100644
--- a/test/tint/types/function_scope_declarations.wgsl.expected.ir.glsl
+++ b/test/tint/types/function_scope_declarations.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:264 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
diff --git a/test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.ir.glsl
index d4bb1c9..84afb45 100644
--- a/test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/attributes_on_struct_not_used_for_interface.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  float f;
+  uint u;
+  vec4 v;
+};
+precision highp float;
+precision highp int;
+
+
+S tint_symbol;
+void tint_store_and_preserve_padding(inout S target, S value_param) {
+  target.f = value_param.f;
+  target.u = value_param.u;
+  target.v = value_param.v;
+}
+void main() {
+  tint_store_and_preserve_padding(tint_symbol, S(1.0f, 2u, vec4(3.0f)));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.ir.glsl
index ae9b6d0..3469963 100644
--- a/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/compute_input_builtins.wgsl.expected.ir.glsl
@@ -1,11 +1,17 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 local_invocation_id, uint local_invocation_index, uvec3 global_invocation_id, uvec3 workgroup_id, uvec3 num_workgroups) {
+  uint foo = ((((local_invocation_id[0u] + local_invocation_index) + global_invocation_id[0u]) + workgroup_id[0u]) + num_workgroups[0u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'main' : function cannot take any parameter(s) 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.ir.glsl
index ae9b6d0..aaacd81 100644
--- a/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/compute_input_builtins_struct.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct ComputeInputs {
+  uvec3 local_invocation_id;
+  uint local_invocation_index;
+  uvec3 global_invocation_id;
+  uvec3 workgroup_id;
+  uvec3 num_workgroups;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(ComputeInputs inputs) {
+  uint foo = ((((inputs.local_invocation_id[0u] + inputs.local_invocation_index) + inputs.global_invocation_id[0u]) + inputs.workgroup_id[0u]) + inputs.num_workgroups[0u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.ir.glsl
index ae9b6d0..f7b1150 100644
--- a/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/compute_input_mixed.wgsl.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct ComputeInputs0 {
+  uvec3 local_invocation_id;
+};
+
+struct ComputeInputs1 {
+  uvec3 workgroup_id;
+};
+
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(ComputeInputs0 inputs0, uint local_invocation_index, uvec3 global_invocation_id, ComputeInputs1 inputs1) {
+  uint foo = (((inputs0.local_invocation_id[0u] + local_invocation_index) + global_invocation_id[0u]) + inputs1.workgroup_id[0u]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/compute_subgroup_builtins.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/compute_subgroup_builtins.wgsl.expected.ir.glsl
index 0df5274..1278b08 100644
--- a/test/tint/types/functions/shader_io/compute_subgroup_builtins.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/compute_subgroup_builtins.wgsl.expected.ir.glsl
@@ -1,31 +1,17 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765048==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5619c80034d3 bp 0x7ffdf48a3f80 sp 0x7ffdf48a3da0 T0)
-==1765048==The signal is caused by a READ memory access.
-==1765048==Hint: address points to the zero page.
-    #0 0x5619c80034d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5619c801617c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5619c8015fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5619c801572f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5619c8000704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5619c7fffa63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5619c7ffd93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5619c7ffcb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5619c7ffc02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5619c7b48ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5619c7364455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5619c734cd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5619c7334861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fbe69e43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fbe69e43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5619c7259000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765048==ABORTING
+uint tint_symbol[];
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uint subgroup_invocation_id, uint subgroup_size) {
+  tint_symbol[subgroup_invocation_id] = subgroup_size;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/compute_subgroup_builtins_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/compute_subgroup_builtins_struct.wgsl.expected.ir.glsl
index 8ba5eda..393a732 100644
--- a/test/tint/types/functions/shader_io/compute_subgroup_builtins_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/compute_subgroup_builtins_struct.wgsl.expected.ir.glsl
@@ -1,31 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765051==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a19edf64d3 bp 0x7ffcc603b340 sp 0x7ffcc603b160 T0)
-==1765051==The signal is caused by a READ memory access.
-==1765051==Hint: address points to the zero page.
-    #0 0x55a19edf64d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55a19ee0917c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55a19ee08fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55a19ee0872f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55a19edf3704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55a19edf2a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55a19edf093a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55a19edefb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55a19edef02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55a19e93bebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55a19e157455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55a19e13fd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55a19e127861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f6a97243b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f6a97243c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55a19e04c000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765051==ABORTING
+struct ComputeInputs {
+  uint subgroup_invocation_id;
+  uint subgroup_size;
+};
+
+uint tint_symbol[];
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(ComputeInputs inputs) {
+  tint_symbol[inputs.subgroup_invocation_id] = inputs.subgroup_size;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/fragment_f16_io_polyfill.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_f16_io_polyfill.wgsl.expected.ir.glsl
index 37c14ad..d9b6c97 100644
--- a/test/tint/types/functions/shader_io/fragment_f16_io_polyfill.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_f16_io_polyfill.wgsl.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct Outputs {
+  float16_t a;
+  f16vec4 b;
+};
+precision highp float;
+precision highp int;
+
+
+Outputs main(float16_t loc1, f16vec4 loc2) {
+  return Outputs((loc1 * 2.0hf), (loc2 * 3.0hf));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.ir.glsl
index e1168e3..56df566 100644
--- a/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_input_builtins.wgsl.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main(vec4 position, bool front_facing, uint sample_index, uint sample_mask) {
+  if (front_facing) {
+    vec4 foo = position;
+    uint bar = (sample_index + sample_mask);
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.ir.glsl
index e1168e3..b60f5cf 100644
--- a/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_input_builtins_struct.wgsl.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct FragmentInputs {
+  vec4 position;
+  bool front_facing;
+  uint sample_index;
+  uint sample_mask;
+};
+
+void main(FragmentInputs inputs) {
+  if (inputs.front_facing) {
+    vec4 foo = inputs.position;
+    uint bar = (inputs.sample_index + inputs.sample_mask);
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.ir.glsl
index c6730c8..9f8d42f 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations.wgsl.expected.ir.glsl
@@ -1,6 +1,9 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 void main(int loc0, uint loc1, float loc2, vec4 loc3) {
   int i = loc0;
@@ -9,8 +12,8 @@
   vec4 v = loc3;
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.ir.glsl
index e5a1063..3ed55f0 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations_f16.wgsl.expected.ir.glsl
@@ -1,6 +1,9 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 #extension GL_AMD_gpu_shader_half_float: require
 
 void main(int loc0, uint loc1, float loc2, vec4 loc3, float16_t loc4, f16vec3 loc5) {
@@ -12,8 +15,8 @@
   f16vec3 y = loc5;
 }
 error: Error parsing GLSL shader:
-ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:4: '' : compilation terminated 
+ERROR: 0:7: 'main' : function cannot take any parameter(s) 
+ERROR: 0:7: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.ir.glsl
index 1e74e77..ff0ca28 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations_struct.wgsl.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct FragmentInputs {
+  int loc0;
+  uint loc1;
+  float loc2;
+  vec4 loc3;
+};
+
+void main(FragmentInputs inputs) {
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  vec4 v = inputs.loc3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.ir.glsl
index 1e74e77..e62496a 100644
--- a/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_input_locations_struct_f16.wgsl.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct FragmentInputs {
+  int loc0;
+  uint loc1;
+  float loc2;
+  vec4 loc3;
+  float16_t loc4;
+  f16vec3 loc5;
+};
+
+void main(FragmentInputs inputs) {
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  vec4 v = inputs.loc3;
+  float16_t x = inputs.loc4;
+  f16vec3 y = inputs.loc5;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'main' : function cannot take any parameter(s) 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.ir.glsl
index e1168e3..cd09978 100644
--- a/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_input_mixed.wgsl.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct FragmentInputs0 {
+  vec4 position;
+  int loc0;
+};
+
+struct FragmentInputs1 {
+  vec4 loc3;
+  uint sample_mask;
+};
+
+void main(FragmentInputs0 inputs0, bool front_facing, uint loc1, uint sample_index, FragmentInputs1 inputs1, float loc2) {
+  if (front_facing) {
+    vec4 foo = inputs0.position;
+    uint bar = (sample_index + inputs1.sample_mask);
+    int i = inputs0.loc0;
+    uint u = loc1;
+    float f = loc2;
+    vec4 v = inputs1.loc3;
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'main' : function cannot take any parameter(s) 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/fragment_input_mixed_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_input_mixed_f16.wgsl.expected.ir.glsl
index e1168e3..add9442 100644
--- a/test/tint/types/functions/shader_io/fragment_input_mixed_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_input_mixed_f16.wgsl.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+struct FragmentInputs0 {
+  vec4 position;
+  int loc0;
+};
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct FragmentInputs1 {
+  vec4 loc3;
+  f16vec3 loc5;
+  uint sample_mask;
+};
+
+void main(FragmentInputs0 inputs0, bool front_facing, uint loc1, uint sample_index, FragmentInputs1 inputs1, float loc2, float16_t loc4) {
+  if (front_facing) {
+    vec4 foo = inputs0.position;
+    uint bar = (sample_index + inputs1.sample_mask);
+    int i = inputs0.loc0;
+    uint u = loc1;
+    float f = loc2;
+    vec4 v = inputs1.loc3;
+    float16_t x = loc4;
+    f16vec3 y = inputs1.loc5;
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'main' : function cannot take any parameter(s) 
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.ir.glsl
index a869bcf..e022441 100644
--- a/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_output_builtins.wgsl.expected.ir.glsl
@@ -1,6 +1,12 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 float main() {
   return 1.0f;
@@ -9,13 +15,19 @@
   return 1u;
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:9: 'float' :  entry point cannot return a value
+ERROR: 0:9: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 float main() {
   return 1.0f;
@@ -24,8 +36,8 @@
   return 1u;
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:9: 'float' :  entry point cannot return a value
+ERROR: 0:9: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.ir.glsl
index 6268654..ccfc474 100644
--- a/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_output_builtins_struct.wgsl.expected.ir.glsl
@@ -6,6 +6,9 @@
   float frag_depth;
   uint sample_mask;
 };
+precision highp float;
+precision highp int;
+
 
 FragmentOutputs main() {
   return FragmentOutputs(1.0f, 1u);
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.ir.glsl
index 2af0b1a..79861db 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations.wgsl.expected.ir.glsl
@@ -1,6 +1,18 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -15,13 +27,25 @@
   return vec4(1.0f, 2.0f, 3.0f, 4.0f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'int' :  entry point cannot return a value
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:15: 'int' :  entry point cannot return a value
+ERROR: 0:15: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -36,13 +60,25 @@
   return vec4(1.0f, 2.0f, 3.0f, 4.0f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'int' :  entry point cannot return a value
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:15: 'int' :  entry point cannot return a value
+ERROR: 0:15: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -57,13 +93,25 @@
   return vec4(1.0f, 2.0f, 3.0f, 4.0f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'int' :  entry point cannot return a value
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:15: 'int' :  entry point cannot return a value
+ERROR: 0:15: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -78,8 +126,8 @@
   return vec4(1.0f, 2.0f, 3.0f, 4.0f);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'int' :  entry point cannot return a value
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:15: 'int' :  entry point cannot return a value
+ERROR: 0:15: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.ir.glsl
index 4bd15ae..1ca27f4 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations_f16.wgsl.expected.ir.glsl
@@ -1,7 +1,25 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 #extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -22,14 +40,32 @@
   return f16vec3(3.0hf, 5.0hf, 8.0hf);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:4: 'int' :  entry point cannot return a value
-ERROR: 0:4: '' : compilation terminated 
+ERROR: 0:22: 'int' :  entry point cannot return a value
+ERROR: 0:22: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 #extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -50,14 +86,32 @@
   return f16vec3(3.0hf, 5.0hf, 8.0hf);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:4: 'int' :  entry point cannot return a value
-ERROR: 0:4: '' : compilation terminated 
+ERROR: 0:22: 'int' :  entry point cannot return a value
+ERROR: 0:22: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 #extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -78,14 +132,32 @@
   return f16vec3(3.0hf, 5.0hf, 8.0hf);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:4: 'int' :  entry point cannot return a value
-ERROR: 0:4: '' : compilation terminated 
+ERROR: 0:22: 'int' :  entry point cannot return a value
+ERROR: 0:22: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 #extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -106,14 +178,32 @@
   return f16vec3(3.0hf, 5.0hf, 8.0hf);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:4: 'int' :  entry point cannot return a value
-ERROR: 0:4: '' : compilation terminated 
+ERROR: 0:22: 'int' :  entry point cannot return a value
+ERROR: 0:22: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 #extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -134,14 +224,32 @@
   return f16vec3(3.0hf, 5.0hf, 8.0hf);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:4: 'int' :  entry point cannot return a value
-ERROR: 0:4: '' : compilation terminated 
+ERROR: 0:22: 'int' :  entry point cannot return a value
+ERROR: 0:22: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 #extension GL_AMD_gpu_shader_half_float: require
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 int main() {
   return 1;
@@ -162,8 +270,8 @@
   return f16vec3(3.0hf, 5.0hf, 8.0hf);
 }
 error: Error parsing GLSL shader:
-ERROR: 0:4: 'int' :  entry point cannot return a value
-ERROR: 0:4: '' : compilation terminated 
+ERROR: 0:22: 'int' :  entry point cannot return a value
+ERROR: 0:22: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.ir.glsl
index 04f915b..34d2372 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations_struct.wgsl.expected.ir.glsl
@@ -8,6 +8,9 @@
   float loc2;
   vec4 loc3;
 };
+precision highp float;
+precision highp int;
+
 
 FragmentOutputs main() {
   return FragmentOutputs(1, 1u, 1.0f, vec4(1.0f, 2.0f, 3.0f, 4.0f));
diff --git a/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.ir.glsl
index 18d399a..01e2600 100644
--- a/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_output_locations_struct_f16.wgsl.expected.ir.glsl
@@ -11,6 +11,9 @@
   float16_t loc4;
   f16vec3 loc5;
 };
+precision highp float;
+precision highp int;
+
 
 FragmentOutputs main() {
   return FragmentOutputs(1, 1u, 1.0f, vec4(1.0f, 2.0f, 3.0f, 4.0f), 2.25hf, f16vec3(3.0hf, 5.0hf, 8.0hf));
diff --git a/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.ir.glsl
index 793f38c..fc29edb 100644
--- a/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_output_mixed.wgsl.expected.ir.glsl
@@ -10,6 +10,9 @@
   uint sample_mask;
   vec4 loc3;
 };
+precision highp float;
+precision highp int;
+
 
 FragmentOutputs main() {
   return FragmentOutputs(1, 2.0f, 1u, 1.0f, 2u, vec4(1.0f, 2.0f, 3.0f, 4.0f));
diff --git a/test/tint/types/functions/shader_io/fragment_output_mixed_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_output_mixed_f16.wgsl.expected.ir.glsl
index c58088f..3222a74 100644
--- a/test/tint/types/functions/shader_io/fragment_output_mixed_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_output_mixed_f16.wgsl.expected.ir.glsl
@@ -13,6 +13,9 @@
   float16_t loc4;
   f16vec3 loc5;
 };
+precision highp float;
+precision highp int;
+
 
 FragmentOutputs main() {
   return FragmentOutputs(1, 2.0f, 1u, 1.0f, 2u, vec4(1.0f, 2.0f, 3.0f, 4.0f), 2.25hf, f16vec3(3.0hf, 5.0hf, 8.0hf));
diff --git a/test/tint/types/functions/shader_io/fragment_subgroup_builtins.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_subgroup_builtins.wgsl.expected.ir.glsl
index 0da5df3..5ae304a 100644
--- a/test/tint/types/functions/shader_io/fragment_subgroup_builtins.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_subgroup_builtins.wgsl.expected.ir.glsl
@@ -1,3 +1,19 @@
 SKIP: FAILED
 
-signal: segmentation fault
\ No newline at end of file
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+uint tint_symbol[];
+void main(uint subgroup_invocation_id, uint subgroup_size) {
+  tint_symbol[subgroup_invocation_id] = subgroup_size;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/fragment_subgroup_builtins_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/fragment_subgroup_builtins_struct.wgsl.expected.ir.glsl
index 0da5df3..36b0930 100644
--- a/test/tint/types/functions/shader_io/fragment_subgroup_builtins_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/fragment_subgroup_builtins_struct.wgsl.expected.ir.glsl
@@ -1,3 +1,24 @@
 SKIP: FAILED
 
-signal: segmentation fault
\ No newline at end of file
+#version 310 es
+precision highp float;
+precision highp int;
+
+
+struct FragmentInputs {
+  uint subgroup_invocation_id;
+  uint subgroup_size;
+};
+
+uint tint_symbol[];
+void main(FragmentInputs inputs) {
+  tint_symbol[inputs.subgroup_invocation_id] = inputs.subgroup_size;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: '' : array size required 
+ERROR: 1 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/interpolate_input_parameters.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/interpolate_input_parameters.wgsl.expected.ir.glsl
index 41745a3..e3fa2a7 100644
--- a/test/tint/types/functions/shader_io/interpolate_input_parameters.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/interpolate_input_parameters.wgsl.expected.ir.glsl
@@ -1,12 +1,15 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 void main(float none, float tint_symbol_1, float perspective_center, float perspective_centroid, float perspective_sample, float linear_center, float linear_centroid, float linear_sample, float perspective_default, float linear_default) {
 }
 error: Error parsing GLSL shader:
-ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:3: '' : compilation terminated 
+ERROR: 0:6: 'main' : function cannot take any parameter(s) 
+ERROR: 0:6: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.ir.glsl
index 54e0580..e7b78b6 100644
--- a/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/interpolate_input_struct.wgsl.expected.ir.glsl
@@ -1,6 +1,9 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
 
 struct In {
   float none;
@@ -18,8 +21,8 @@
 void main(In tint_symbol_2) {
 }
 error: Error parsing GLSL shader:
-ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
-ERROR: 0:4: '' : compilation terminated 
+ERROR: 0:19: 'main' : function cannot take any parameter(s) 
+ERROR: 0:19: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.ir.glsl
index 1e74e77..3105bf8 100644
--- a/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/interpolate_integers.wgsl.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Interface {
+  int i;
+  uint u;
+  ivec4 vi;
+  uvec4 vu;
+  vec4 pos;
+};
+precision highp float;
+precision highp int;
+
+
+Interface main() {
+  return Interface(0, 0u, ivec4(0), uvec4(0u), vec4(0.0f));
+}
+int main(Interface inputs) {
+  return inputs.i;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct Interface {
+  int i;
+  uint u;
+  ivec4 vi;
+  uvec4 vu;
+  vec4 pos;
+};
+precision highp float;
+precision highp int;
+
+
+Interface main() {
+  return Interface(0, 0u, ivec4(0), uvec4(0u), vec4(0.0f));
+}
+int main(Interface inputs) {
+  return inputs.i;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.ir.glsl
index 1e74e77..7d2e5e3 100644
--- a/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/shared_struct_different_stages.wgsl.expected.ir.glsl
@@ -1,11 +1,54 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Interface {
+  float col1;
+  float col2;
+  vec4 pos;
+};
+precision highp float;
+precision highp int;
+
+
+Interface main() {
+  return Interface(0.40000000596046447754f, 0.60000002384185791016f, vec4(0.0f));
+}
+void main(Interface colors) {
+  float r = colors.col1;
+  float g = colors.col2;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct Interface {
+  float col1;
+  float col2;
+  vec4 pos;
+};
+precision highp float;
+precision highp int;
+
+
+Interface main() {
+  return Interface(0.40000000596046447754f, 0.60000002384185791016f, vec4(0.0f));
+}
+void main(Interface colors) {
+  float r = colors.col1;
+  float g = colors.col2;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.ir.glsl
index 1e74e77..677cf68 100644
--- a/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/shared_struct_different_stages_f16.wgsl.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct Interface {
+  float col1;
+  float16_t col2;
+  vec4 pos;
+};
+precision highp float;
+precision highp int;
+
+
+Interface main() {
+  return Interface(0.40000000596046447754f, 0.599609375hf, vec4(0.0f));
+}
+void main(Interface colors) {
+  float r = colors.col1;
+  float16_t g = colors.col2;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct Interface {
+  float col1;
+  float16_t col2;
+  vec4 pos;
+};
+precision highp float;
+precision highp int;
+
+
+Interface main() {
+  return Interface(0.40000000596046447754f, 0.599609375hf, vec4(0.0f));
+}
+void main(Interface colors) {
+  float r = colors.col1;
+  float16_t g = colors.col2;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.ir.glsl
index 37c14ad..0cbddc6 100644
--- a/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/shared_struct_helper_function.wgsl.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct VertexOutput {
+  vec4 pos;
+  int loc0;
+};
+
+VertexOutput foo(float x) {
+  return VertexOutput(vec4(x, x, x, 1.0f), 42);
+}
+VertexOutput main() {
+  return foo(0.5f);
+}
+VertexOutput main() {
+  return foo(0.25f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+struct VertexOutput {
+  vec4 pos;
+  int loc0;
+};
+
+VertexOutput foo(float x) {
+  return VertexOutput(vec4(x, x, x, 1.0f), 42);
+}
+VertexOutput main() {
+  return foo(0.5f);
+}
+VertexOutput main() {
+  return foo(0.25f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.ir.glsl
index 1e74e77..20a1b5d 100644
--- a/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/shared_struct_storage_buffer.wgsl.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  float f;
+  uint u;
+  vec4 v;
+};
+precision highp float;
+precision highp int;
+
+
+S tint_symbol;
+void tint_store_and_preserve_padding(inout S target, S value_param) {
+  target.f = value_param.f;
+  target.u = value_param.u;
+  target.v = value_param.v;
+}
+void main(S tint_symbol_1) {
+  float f = tint_symbol_1.f;
+  uint u = tint_symbol_1.u;
+  vec4 v = tint_symbol_1.v;
+  tint_store_and_preserve_padding(tint_symbol, tint_symbol_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.ir.glsl
index 1e74e77..21456b6 100644
--- a/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/shared_struct_storage_buffer_f16.wgsl.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  float f;
+  uint u;
+  vec4 v;
+  float16_t x;
+  f16vec3 y;
+};
+precision highp float;
+precision highp int;
+
+
+S tint_symbol;
+void tint_store_and_preserve_padding(inout S target, S value_param) {
+  target.f = value_param.f;
+  target.u = value_param.u;
+  target.v = value_param.v;
+  target.x = value_param.x;
+  target.y = value_param.y;
+}
+void main(S tint_symbol_1) {
+  float f = tint_symbol_1.f;
+  uint u = tint_symbol_1.u;
+  vec4 v = tint_symbol_1.v;
+  float16_t x = tint_symbol_1.x;
+  f16vec3 y = tint_symbol_1.y;
+  tint_store_and_preserve_padding(tint_symbol, tint_symbol_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.ir.glsl
index ae9b6d0..f1f6b23 100644
--- a/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/vertex_input_builtins.wgsl.expected.ir.glsl
@@ -1,11 +1,18 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+vec4 main(uint vertex_index, uint instance_index) {
+  uint foo = (vertex_index + instance_index);
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'main' : function cannot take any parameter(s) 
+ERROR: 0:3: 'float' :  entry point cannot return a value
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.ir.glsl
index ae9b6d0..b84261f 100644
--- a/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/vertex_input_builtins_struct.wgsl.expected.ir.glsl
@@ -1,11 +1,23 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct VertexInputs {
+  uint vertex_index;
+  uint instance_index;
+};
+
+vec4 main(VertexInputs inputs) {
+  uint foo = (inputs.vertex_index + inputs.instance_index);
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: 'float' :  entry point cannot return a value
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.ir.glsl
index 1e74e77..43d99f7 100644
--- a/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/vertex_input_locations_struct.wgsl.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct VertexInputs {
+  int loc0;
+  uint loc1;
+  float loc2;
+  vec4 loc3;
+};
+
+vec4 main(VertexInputs inputs) {
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  vec4 v = inputs.loc3;
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'main' : function cannot take any parameter(s) 
+ERROR: 0:10: 'float' :  entry point cannot return a value
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.ir.glsl
index 1e74e77..ad4d582 100644
--- a/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/vertex_input_locations_struct_f16.wgsl.expected.ir.glsl
@@ -1,11 +1,33 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Access
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+#extension GL_AMD_gpu_shader_half_float: require
 
-tint executable returned error: signal: illegal instruction
+struct VertexInputs {
+  int loc0;
+  uint loc1;
+  float loc2;
+  vec4 loc3;
+  float16_t loc4;
+  f16vec3 loc5;
+};
+
+vec4 main(VertexInputs inputs) {
+  int i = inputs.loc0;
+  uint u = inputs.loc1;
+  float f = inputs.loc2;
+  vec4 v = inputs.loc3;
+  float16_t x = inputs.loc4;
+  f16vec3 y = inputs.loc5;
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'float' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.ir.glsl
index ae9b6d0..ab35d37 100644
--- a/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/vertex_input_mixed.wgsl.expected.ir.glsl
@@ -1,11 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct VertexInputs0 {
+  uint vertex_index;
+  int loc0;
+};
+
+struct VertexInputs1 {
+  float loc2;
+  vec4 loc3;
+};
+
+vec4 main(VertexInputs0 inputs0, uint loc1, uint instance_index, VertexInputs1 inputs1) {
+  uint foo = (inputs0.vertex_index + instance_index);
+  int i = inputs0.loc0;
+  uint u = loc1;
+  float f = inputs1.loc2;
+  vec4 v = inputs1.loc3;
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'float' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/functions/shader_io/vertex_input_mixed_f16.wgsl.expected.ir.glsl b/test/tint/types/functions/shader_io/vertex_input_mixed_f16.wgsl.expected.ir.glsl
index ae9b6d0..8721d13 100644
--- a/test/tint/types/functions/shader_io/vertex_input_mixed_f16.wgsl.expected.ir.glsl
+++ b/test/tint/types/functions/shader_io/vertex_input_mixed_f16.wgsl.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct VertexInputs0 {
+  uint vertex_index;
+  int loc0;
+};
+#extension GL_AMD_gpu_shader_half_float: require
+
+struct VertexInputs1 {
+  float loc2;
+  vec4 loc3;
+  f16vec3 loc5;
+};
+
+vec4 main(VertexInputs0 inputs0, uint loc1, uint instance_index, VertexInputs1 inputs1, float16_t loc4) {
+  uint foo = (inputs0.vertex_index + instance_index);
+  int i = inputs0.loc0;
+  uint u = loc1;
+  float f = inputs1.loc2;
+  vec4 v = inputs1.loc3;
+  float16_t x = loc4;
+  f16vec3 y = inputs1.loc5;
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'main' : function cannot take any parameter(s) 
+ERROR: 0:15: 'float' :  entry point cannot return a value
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/types/module_scope_used_in_functions.wgsl.expected.ir.glsl b/test/tint/types/module_scope_used_in_functions.wgsl.expected.ir.glsl
index 96cee96..56f48c5 100644
--- a/test/tint/types/module_scope_used_in_functions.wgsl.expected.ir.glsl
+++ b/test/tint/types/module_scope_used_in_functions.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765102==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a3fb84f4d3 bp 0x7ffd9bf98f80 sp 0x7ffd9bf98da0 T0)
-==1765102==The signal is caused by a READ memory access.
-==1765102==Hint: address points to the zero page.
-    #0 0x55a3fb84f4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55a3fb86217c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55a3fb861fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55a3fb86172f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55a3fb84c704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55a3fb84ba63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55a3fb84993a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55a3fb848b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55a3fb84802b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55a3fb394ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55a3fabb0455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55a3fab98d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55a3fab80861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f3e2ff37b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f3e2ff37c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55a3faaa5000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765102==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/module_scope_var.wgsl.expected.ir.glsl b/test/tint/types/module_scope_var.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/types/module_scope_var.wgsl.expected.ir.glsl
+++ b/test/tint/types/module_scope_var.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/module_scope_vars_pointers.wgsl.expected.ir.glsl b/test/tint/types/module_scope_vars_pointers.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/types/module_scope_vars_pointers.wgsl.expected.ir.glsl
+++ b/test/tint/types/module_scope_vars_pointers.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/sampler.wgsl.expected.ir.glsl b/test/tint/types/sampler.wgsl.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/types/sampler.wgsl.expected.ir.glsl
+++ b/test/tint/types/sampler.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/depth/2d.wgsl.expected.ir.glsl b/test/tint/types/texture/depth/2d.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/types/texture/depth/2d.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/depth/2d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/depth/2d_array.wgsl.expected.ir.glsl b/test/tint/types/texture/depth/2d_array.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/types/texture/depth/2d_array.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/depth/2d_array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/depth/cube.wgsl.expected.ir.glsl b/test/tint/types/texture/depth/cube.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/types/texture/depth/cube.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/depth/cube.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/depth/cube_array.wgsl.expected.ir.glsl b/test/tint/types/texture/depth/cube_array.wgsl.expected.ir.glsl
index ba913ae..d0115e4 100644
--- a/test/tint/types/texture/depth/cube_array.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/depth/cube_array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/multisampled/2d.wgsl.expected.ir.glsl b/test/tint/types/texture/multisampled/2d.wgsl.expected.ir.glsl
index 107f0e3..d0115e4 100644
--- a/test/tint/types/texture/multisampled/2d.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/multisampled/2d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/sampled/1d.wgsl.expected.ir.glsl b/test/tint/types/texture/sampled/1d.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/types/texture/sampled/1d.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/sampled/1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/sampled/2d.wgsl.expected.ir.glsl b/test/tint/types/texture/sampled/2d.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/types/texture/sampled/2d.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/sampled/2d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/sampled/2d_array.wgsl.expected.ir.glsl b/test/tint/types/texture/sampled/2d_array.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/types/texture/sampled/2d_array.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/sampled/2d_array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/sampled/3d.wgsl.expected.ir.glsl b/test/tint/types/texture/sampled/3d.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/types/texture/sampled/3d.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/sampled/3d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/sampled/cube.wgsl.expected.ir.glsl b/test/tint/types/texture/sampled/cube.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/types/texture/sampled/cube.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/sampled/cube.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/sampled/cube_array.wgsl.expected.ir.glsl b/test/tint/types/texture/sampled/cube_array.wgsl.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/types/texture/sampled/cube_array.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/sampled/cube_array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/storage/1d.wgsl.expected.ir.glsl b/test/tint/types/texture/storage/1d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/types/texture/storage/1d.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/storage/1d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/storage/2d.wgsl.expected.ir.glsl b/test/tint/types/texture/storage/2d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/types/texture/storage/2d.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/storage/2d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/storage/2d_array.wgsl.expected.ir.glsl b/test/tint/types/texture/storage/2d_array.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/types/texture/storage/2d_array.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/storage/2d_array.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/types/texture/storage/3d.wgsl.expected.ir.glsl b/test/tint/types/texture/storage/3d.wgsl.expected.ir.glsl
index 8dee2cd..d0115e4 100644
--- a/test/tint/types/texture/storage/3d.wgsl.expected.ir.glsl
+++ b/test/tint/types/texture/storage/3d.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertUintCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_5.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ConvertUintCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_1D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_2DArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_2DArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_2DArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_2DArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_2DArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_2DArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_2DArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_2DArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_2D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_3D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_3D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_3D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_3D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_3D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_3D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_3D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_3D_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_CubeArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_CubeArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_CubeArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_CubeArray_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_Cube_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_Cube_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_Cube_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_Cube_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Good_Cube_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Good_Cube_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Good_Cube_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Good_Cube_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageFetch_DepthMultisampled_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageFetch_DepthMultisampled_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index 5e1cda8..a475c65 100644
--- a/test/tint/unittest/reader/spirv/ImageFetch_DepthMultisampled_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageFetch_DepthMultisampled_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthMultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageFetch_Depth_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageFetch_Depth_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/unittest/reader/spirv/ImageFetch_Depth_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageFetch_Depth_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageFetch_Multisampled_ConvertSampleOperand_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageFetch_Multisampled_ConvertSampleOperand_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/unittest/reader/spirv/ImageFetch_Multisampled_ConvertSampleOperand_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageFetch_Multisampled_ConvertSampleOperand_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageFetch_Multisampled_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageFetch_Multisampled_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index 107f0e3..a475c65 100644
--- a/test/tint/unittest/reader/spirv/ImageFetch_Multisampled_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageFetch_Multisampled_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index ba913ae..a475c65 100644
--- a/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageFetch_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::DepthTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQueryLevels_UnsignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQueryLevels_UnsignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQueryLevels_UnsignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQueryLevels_UnsignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySamples_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySamples_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySamples_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySamples_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySamples_UnsignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySamples_UnsignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySamples_UnsignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySamples_UnsignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_Arrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySizeLod_NonArrayed_SignedResult_SignedLevel_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySize_Arrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySize_Arrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySize_Arrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySize_Arrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageQuerySize_NonArrayed_SignedResult_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageRead_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageRead_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/unittest/reader/spirv/ImageRead_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageRead_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefExplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingGrad_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleExplicitLod_UsingLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_BothDrefAndNonDref_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_BothDrefAndNonDref_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_BothDrefAndNonDref_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_BothDrefAndNonDref_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_6.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_7.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_8.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjDrefExplicitLod_CheckForLod0_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjDrefExplicitLod_CheckForLod0_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjDrefExplicitLod_CheckForLod0_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjDrefExplicitLod_CheckForLod0_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjDrefExplicitLod_CheckForLod0_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjDrefExplicitLod_CheckForLod0_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjDrefExplicitLod_CheckForLod0_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjDrefExplicitLod_CheckForLod0_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjDrefImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Grad_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Grad_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Grad_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Grad_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Grad_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Grad_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Grad_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Grad_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Lod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Lod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Lod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Lod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Lod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Lod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Lod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjExplicitLod_Lod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_Bias_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_DepthTexture_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageSampleProjImplicitLod_SpvParserHandleTest_SampledImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_6.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_7.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_7.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_7.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Arity_SpvParserHandleTest_ImageAccessTest_Variable_7.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_SameSignedness_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_SameSignedness_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_SameSignedness_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_SameSignedness_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_SameSignedness_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_SameSignedness_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_SameSignedness_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_SameSignedness_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Signedness_AndWidening_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Signedness_AndWidening_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Signedness_AndWidening_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Signedness_AndWidening_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Signedness_AndWidening_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Signedness_AndWidening_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Signedness_AndWidening_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_ConvertTexelOperand_Signedness_AndWidening_SpvParserHandleTest_ImageAccessTest_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/ImageWrite_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/ImageWrite_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/ImageWrite_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/ImageWrite_OptionalParams_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_0.spvasm.expected.ir.glsl
index 8fef837..03b6b53 100644
--- a/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_0.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uniform highp sampler1D x_10;
+void main_1() {
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'sampler1D' : Reserved word. 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_1.spvasm.expected.ir.glsl
index 8fef837..03b6b53 100644
--- a/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_1.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uniform highp sampler1D x_10;
+void main_1() {
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'sampler1D' : Reserved word. 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_2.spvasm.expected.ir.glsl
index 8dee2cd..74be28b 100644
--- a/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Images_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_2.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uniform highp writeonly image1D x_10;
+void main_1() {
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:6: 'image1D' : Reserved word. 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Multisampled_Only2DNonArrayedIsValid_SpvParserHandleTest_ImageDeclTest_DeclareAndUseHandle_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Multisampled_Only2DNonArrayedIsValid_SpvParserHandleTest_ImageDeclTest_DeclareAndUseHandle_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Multisampled_Only2DNonArrayedIsValid_SpvParserHandleTest_ImageDeclTest_DeclareAndUseHandle_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Multisampled_Only2DNonArrayedIsValid_SpvParserHandleTest_ImageDeclTest_DeclareAndUseHandle_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveFloatCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveFloatCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveIntCoords_Arrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_5.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/PreserveIntCoords_NonArrayed_SpvParserHandleTest_ImageCoordsTest_MakeCoordinateOperandsForImageAccess_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samplers_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samplers_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_0.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Samplers_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samplers_SpvParserHandleTest_DeclUnderspecifiedHandle_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_0.spvasm.expected.ir.glsl
index 72ca17c..49694ea 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_0.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uint x_1 = 0u;
+void main_1() {
+  uint x_2 = x_1;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uint x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_1.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_2.spvasm.expected.ir.glsl
index 72ca17c..839d347 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_2.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uvec3 x_1 = uvec3(0u);
+void main_1() {
+  uvec3 x_2 = x_1;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_3.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_4.spvasm.expected.ir.glsl
index 72ca17c..839d347 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_4.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uvec3 x_1 = uvec3(0u);
+void main_1() {
+  uvec3 x_2 = x_1;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_5.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_7.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_7.spvasm.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_7.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_AccessChain_7.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_0.spvasm.expected.ir.glsl
index 72ca17c..49694ea 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_0.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uint x_1 = 0u;
+void main_1() {
+  uint x_2 = x_1;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uint x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_1.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_2.spvasm.expected.ir.glsl
index 72ca17c..839d347 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_2.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uvec3 x_1 = uvec3(0u);
+void main_1() {
+  uvec3 x_2 = x_1;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_3.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_4.spvasm.expected.ir.glsl
index 72ca17c..839d347 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_4.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uvec3 x_1 = uvec3(0u);
+void main_1() {
+  uvec3 x_2 = x_1;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_5.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_7.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_7.spvasm.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_7.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_CopyObject_7.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_0.spvasm.expected.ir.glsl
index 72ca17c..49694ea 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_0.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uint x_1 = 0u;
+void main_1() {
+  uint x_2 = x_1;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uint x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_1.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_2.spvasm.expected.ir.glsl
index 72ca17c..839d347 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_2.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uvec3 x_1 = uvec3(0u);
+void main_1() {
+  uvec3 x_2 = x_1;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_3.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_4.spvasm.expected.ir.glsl
index 72ca17c..839d347 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_4.spvasm.expected.ir.glsl
@@ -1,11 +1,22 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uvec3 x_1 = uvec3(0u);
+void main_1() {
+  uvec3 x_2 = x_1;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main(uvec3 x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'main' : function cannot take any parameter(s) 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_5.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_7.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_7.spvasm.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_7.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvModuleScopeVarParserTest_ComputeBuiltin_Load_Direct_7.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_0.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_0.spvasm.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_0.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.ir.glsl
index 8dee2cd..35602ce 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureStore
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_2.spvasm.expected.ir.glsl
index 8fef837..a475c65 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureLoad
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_3.spvasm.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_4.spvasm.expected.ir.glsl
index 8fef837..d0115e4 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureDimensions
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_5.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_5.spvasm.expected.ir.glsl
index 8fef837..43548a7 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_5.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_5.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumLevels
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_6.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_6.spvasm.expected.ir.glsl
index 107f0e3..3adf1b1 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_6.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_RawImage_Variable_6.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::MultisampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: textureNumSamples
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_2.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_2.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_2.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_3.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_3.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_3.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_3.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_4.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_4.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_4.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_4.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_6.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_6.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_6.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_6.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_7.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_7.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_7.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_7.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_8.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_8.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_8.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_8.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_9.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_9.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_9.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/Samples_SpvParserHandleTest_RegisterHandleUsage_SampledImage_Variable_9.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_10.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_10.spvasm.expected.ir.glsl
index 6c6485e..a549974 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_10.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_10.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  vec2 x_1 = vec2(50.0f, 60.0f);
+  vec2 x_2 = dFdxdFdxFine(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_11.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_11.spvasm.expected.ir.glsl
index 6c6485e..fe6b6fc 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_11.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_11.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  vec3 x_1 = vec3(50.0f, 60.0f, 70.0f);
+  vec3 x_2 = dFdxdFdxFine(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_12.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_12.spvasm.expected.ir.glsl
index 6c6485e..0ff5c74 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_12.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_12.spvasm.expected.ir.glsl
@@ -1,11 +1,23 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  float x_1 = 50.0f;
+  float x_2 = dFdydFdyFine(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_13.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_13.spvasm.expected.ir.glsl
index 6c6485e..4ee1608 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_13.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_13.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  vec2 x_1 = vec2(50.0f, 60.0f);
+  vec2 x_2 = dFdydFdyFine(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_14.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_14.spvasm.expected.ir.glsl
index 6c6485e..ef664a3 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_14.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_14.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  vec3 x_1 = vec3(50.0f, 60.0f, 70.0f);
+  vec3 x_2 = dFdydFdyFine(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyFine' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_18.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_18.spvasm.expected.ir.glsl
index 6c6485e..4d7f553 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_18.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_18.spvasm.expected.ir.glsl
@@ -1,11 +1,23 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  float x_1 = 50.0f;
+  float x_2 = dFdxdFdxCoarse(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_19.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_19.spvasm.expected.ir.glsl
index 6c6485e..a749bbf 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_19.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_19.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  vec2 x_1 = vec2(50.0f, 60.0f);
+  vec2 x_2 = dFdxdFdxCoarse(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_20.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_20.spvasm.expected.ir.glsl
index 6c6485e..2564369 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_20.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_20.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  vec3 x_1 = vec3(50.0f, 60.0f, 70.0f);
+  vec3 x_2 = dFdxdFdxCoarse(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_21.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_21.spvasm.expected.ir.glsl
index 6c6485e..694b76c 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_21.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_21.spvasm.expected.ir.glsl
@@ -1,11 +1,23 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  float x_1 = 50.0f;
+  float x_2 = dFdydFdyCoarse(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_22.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_22.spvasm.expected.ir.glsl
index 6c6485e..bc28596 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_22.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_22.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  vec2 x_1 = vec2(50.0f, 60.0f);
+  vec2 x_2 = dFdydFdyCoarse(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 2-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_23.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_23.spvasm.expected.ir.glsl
index 6c6485e..055d7ba 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_23.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_23.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  vec3 x_1 = vec3(50.0f, 60.0f, 70.0f);
+  vec3 x_2 = dFdydFdyCoarse(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdydFdyCoarse' : no matching overloaded function found 
+ERROR: 0:8: '=' :  cannot convert from ' const float' to ' temp highp 3-component vector of float'
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_9.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_9.spvasm.expected.ir.glsl
index 6c6485e..72182c5 100644
--- a/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_9.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvBinaryDerivativeTest_SpvBinaryDerivativeTest_Derivatives_9.spvasm.expected.ir.glsl
@@ -1,11 +1,23 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+void main_1() {
+  float x_1 = 50.0f;
+  float x_2 = dFdxdFdxFine(x_1);
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'dFdxdFdxFine' : no matching overloaded function found 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BindingDecoration_Valid.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BindingDecoration_Valid.spvasm.expected.ir.glsl
index cdbc3db..c1c2b03 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BindingDecoration_Valid.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BindingDecoration_Valid.spvasm.expected.ir.glsl
@@ -7,8 +7,11 @@
   float field1;
   uint field2[2];
 };
+precision highp float;
+precision highp int;
 
-S x_1 = S(0u, 0.0f, uint[2](0u, 0u));
+
+S x_1;
 void main_1() {
 }
 void main() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_ReadReplaced_Vertex.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_ReadReplaced_Vertex.spvasm.expected.ir.glsl
index d4bb1c9..e319c22 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_ReadReplaced_Vertex.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_ReadReplaced_Vertex.spvasm.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_2_1;
+};
+
+vec4 x_2 = vec4(0.0f);
+float x_900 = 0.0f;
+void main_1() {
+  x_900 = 1.0f;
+}
+main_out main() {
+  main_1();
+  return main_out(x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_Write1_IsErased.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_Write1_IsErased.spvasm.expected.ir.glsl
index 37c14ad..139d152 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_Write1_IsErased.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_Write1_IsErased.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_2_1;
+};
+
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'structure' :  entry point cannot return a value
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_WriteViaCopyObjectPostAccessChainErased.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_WriteViaCopyObjectPostAccessChainErased.spvasm.expected.ir.glsl
index 37c14ad..139d152 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_WriteViaCopyObjectPostAccessChainErased.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_WriteViaCopyObjectPostAccessChainErased.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_2_1;
+};
+
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'structure' :  entry point cannot return a value
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_WriteViaCopyObjectPriorAccess_Erased.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_WriteViaCopyObjectPriorAccess_Erased.spvasm.expected.ir.glsl
index 37c14ad..139d152 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_WriteViaCopyObjectPriorAccess_Erased.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_WriteViaCopyObjectPriorAccess_Erased.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_2_1;
+};
+
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'structure' :  entry point cannot return a value
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_ReadReplaced.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_ReadReplaced.spvasm.expected.ir.glsl
index d4bb1c9..b36056c 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_ReadReplaced.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_ReadReplaced.spvasm.expected.ir.glsl
@@ -1,11 +1,26 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+float x_900 = 0.0f;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  x_900 = 1.0f;
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Write1_IsErased.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Write1_IsErased.spvasm.expected.ir.glsl
index 37c14ad..ddd8c5a 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Write1_IsErased.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_Write1_IsErased.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'structure' :  entry point cannot return a value
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_WriteViaCopyObjectPostAccessChainErased.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_WriteViaCopyObjectPostAccessChainErased.spvasm.expected.ir.glsl
index 37c14ad..ddd8c5a 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_WriteViaCopyObjectPostAccessChainErased.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPointSize_WriteViaCopyObjectPostAccessChainErased.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'structure' :  entry point cannot return a value
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position.spvasm.expected.ir.glsl
index 37c14ad..ddd8c5a 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'structure' :  entry point cannot return a value
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position_Initializer.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position_Initializer.spvasm.expected.ir.glsl
index 37c14ad..42caa1f 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position_Initializer.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position_Initializer.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 tint_symbol = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'structure' :  entry point cannot return a value
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePosition.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePosition.spvasm.expected.ir.glsl
index d4bb1c9..239d5e5 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePosition.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePosition.spvasm.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol = vec4(0.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_OneAccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_OneAccessChain.spvasm.expected.ir.glsl
index 1268749..066ef74 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_OneAccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_OneAccessChain.spvasm.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::StoreVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol[1u] = 0.0f;
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_TwoAccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_TwoAccessChain.spvasm.expected.ir.glsl
index 1268749..066ef74 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_TwoAccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_TwoAccessChain.spvasm.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::StoreVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol[1u] = 0.0f;
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePosition_PerVertexStructOutOfOrderDecl.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePosition_PerVertexStructOutOfOrderDecl.spvasm.expected.ir.glsl
index d4bb1c9..239d5e5 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePosition_PerVertexStructOutOfOrderDecl.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinPosition_StorePosition_PerVertexStructOutOfOrderDecl.spvasm.expected.ir.glsl
@@ -1,11 +1,25 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol = vec4(0.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinVertexIndex.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinVertexIndex.spvasm.expected.ir.glsl
index d4bb1c9..0a71379 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinVertexIndex.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_BuiltinVertexIndex.spvasm.expected.ir.glsl
@@ -1,11 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 position_1_1;
+};
+
+uint x_2 = 0u;
+vec4 position_1 = vec4(0.0f);
+void main_1() {
+}
+main_out main(uint x_2_param) {
+  x_2 = x_2_param;
+  main_1();
+  return main_out(position_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'main' : function cannot take any parameter(s) 
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_ColMajorDecoration_Dropped.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_ColMajorDecoration_Dropped.spvasm.expected.ir.glsl
index c20df10..421334b 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_ColMajorDecoration_Dropped.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_ColMajorDecoration_Dropped.spvasm.expected.ir.glsl
@@ -5,8 +5,11 @@
 struct S {
   mat3x2 field0;
 };
+precision highp float;
+precision highp int;
 
-S myvar = S(mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f)));
+
+S myvar;
 void main_1() {
 }
 void main() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_DescriptorGroupDecoration_Valid.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_DescriptorGroupDecoration_Valid.spvasm.expected.ir.glsl
index cdbc3db..c1c2b03 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_DescriptorGroupDecoration_Valid.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_DescriptorGroupDecoration_Valid.spvasm.expected.ir.glsl
@@ -7,8 +7,11 @@
   float field1;
   uint field2[2];
 };
+precision highp float;
+precision highp int;
 
-S x_1 = S(0u, 0.0f, uint[2](0u, 0u));
+
+S x_1;
 void main_1() {
 }
 void main() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_FragDepth_Out_Initializer.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_FragDepth_Out_Initializer.spvasm.expected.ir.glsl
index 37c14ad..49ec229 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_FragDepth_Out_Initializer.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_FragDepth_Out_Initializer.spvasm.expected.ir.glsl
@@ -1,11 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  float x_1_1;
+};
+precision highp float;
+precision highp int;
+
+
+float x_1 = 0.0f;
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_Input_OppositeSignedness.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_Input_OppositeSignedness.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_Input_OppositeSignedness.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_Input_OppositeSignedness.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_Input_SameSignedness.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_Input_SameSignedness.spvasm.expected.ir.glsl
index 72ca17c..425aa06 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_Input_SameSignedness.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_Input_SameSignedness.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_4_1;
+};
+
+uint x_1 = 0u;
+vec4 x_4 = vec4(0.0f);
+void main_1() {
+  uint x_2 = x_1;
+}
+main_out main(uint x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+  return main_out(x_4);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_In_Signed.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_In_Signed.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_In_Signed.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_In_Signed.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_In_Unsigned.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_In_Unsigned.spvasm.expected.ir.glsl
index d4bb1c9..2dc25a7 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_In_Unsigned.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_In_Unsigned.spvasm.expected.ir.glsl
@@ -1,11 +1,23 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+}
+void main(uint x_1_param) {
+  x_1[0] = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:9: 'main' : function cannot take any parameter(s) 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_Out_Signed_Initializer.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_Out_Signed_Initializer.spvasm.expected.ir.glsl
index 37c14ad..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_Out_Signed_Initializer.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_Out_Signed_Initializer.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_Out_Unsigned_Initializer.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_Out_Unsigned_Initializer.spvasm.expected.ir.glsl
index 37c14ad..b675b38 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_Out_Unsigned_Initializer.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_BuiltinVar_SampleMask_Out_Unsigned_Initializer.spvasm.expected.ir.glsl
@@ -1,11 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  uint x_1_1;
+};
+precision highp float;
+precision highp int;
+
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_1[0]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Flat_Fragment_In.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Flat_Fragment_In.spvasm.expected.ir.glsl
index d4bb1c9..435c527 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Flat_Fragment_In.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Flat_Fragment_In.spvasm.expected.ir.glsl
@@ -1,11 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  float field0;
+  float field1;
+};
+precision highp float;
+precision highp int;
+
+
+float x_1[2] = float[2](0.0f, 0.0f);
+S x_2 = S(0.0f, 0.0f);
+void main_1() {
+}
+void main(float x_1_param, float x_1_param_1, float x_2_param, float x_2_param_1) {
+  x_1[0] = x_1_param;
+  x_1[1] = x_1_param_1;
+  x_2.field0 = x_2_param;
+  x_2.field1 = x_2_param_1;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl
index d4bb1c9..5ef407e 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  float field0;
+  float field1;
+  float field2;
+  float field3;
+  float field4;
+  float field5;
+};
+precision highp float;
+precision highp int;
+
+
+S x_1 = S(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+void main_1() {
+}
+void main(float x_1_param, float x_1_param_1, float x_1_param_2, float x_1_param_3, float x_1_param_4, float x_1_param_5) {
+  x_1.field0 = x_1_param;
+  x_1.field1 = x_1_param_1;
+  x_1.field2 = x_1_param_2;
+  x_1.field3 = x_1_param_3;
+  x_1.field4 = x_1_param_4;
+  x_1.field5 = x_1_param_5;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_Out.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_Out.spvasm.expected.ir.glsl
index 37c14ad..78a98eb 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_Out.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Flatten_Interpolation_Floating_Fragment_Out.spvasm.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  float field0;
+  float field1;
+  float field2;
+  float field3;
+  float field4;
+  float field5;
+};
+
+struct main_out {
+  float x_1_1;
+  float x_1_2;
+  float x_1_3;
+  float x_1_4;
+  float x_1_5;
+  float x_1_6;
+};
+precision highp float;
+precision highp int;
+
+
+S x_1 = S(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_1.field0, x_1.field1, x_1.field2, x_1.field3, x_1.field4, x_1.field5);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_IOLocations.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_IOLocations.spvasm.expected.ir.glsl
index d4bb1c9..0f9cde2 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_IOLocations.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_IOLocations.spvasm.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  uint x_2_1;
+  uint x_4_1;
+};
+precision highp float;
+precision highp int;
+
+
+uint x_1 = 0u;
+uint x_2 = 0u;
+uint x_3 = 0u;
+uint x_4 = 0u;
+void main_1() {
+}
+main_out main(uint x_1_param, uint x_3_param) {
+  x_1 = x_1_param;
+  x_3 = x_3_param;
+  main_1();
+  return main_out(x_2, x_4);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function cannot take any parameter(s) 
+ERROR: 0:17: 'structure' :  entry point cannot return a value
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Interpolation_Flat_Vertex_Output.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Interpolation_Flat_Vertex_Output.spvasm.expected.ir.glsl
index 37c14ad..57a4286 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Interpolation_Flat_Vertex_Output.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Interpolation_Flat_Vertex_Output.spvasm.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  uint x_1_1;
+  uvec2 x_2_1;
+  int x_3_1;
+  ivec2 x_4_1;
+  float x_5_1;
+  vec2 x_6_1;
+  vec4 x_8_1;
+};
+
+uint x_1 = 0u;
+uvec2 x_2 = uvec2(0u);
+int x_3 = 0;
+ivec2 x_4 = ivec2(0);
+float x_5 = 0.0f;
+vec2 x_6 = vec2(0.0f);
+vec4 x_8 = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_1, x_2, x_3, x_4, x_5, x_6, x_8);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'structure' :  entry point cannot return a value
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl
index d4bb1c9..738e45d 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_EntryPointWrapping_Interpolation_Floating_Fragment_In.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+float x_1 = 0.0f;
+float x_2 = 0.0f;
+float x_3 = 0.0f;
+float x_4 = 0.0f;
+float x_5 = 0.0f;
+float x_6 = 0.0f;
+void main_1() {
+}
+void main(float x_1_param, float x_2_param, float x_3_param, float x_4_param, float x_5_param, float x_6_param) {
+  x_1 = x_1_param;
+  x_2 = x_2_param;
+  x_3 = x_3_param;
+  x_4 = x_4_param;
+  x_5 = x_5_param;
+  x_6 = x_6_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'main' : function cannot take any parameter(s) 
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_FlattenStruct_LocOnMembers.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_FlattenStruct_LocOnMembers.spvasm.expected.ir.glsl
index d4bb1c9..3f0d5bc 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_FlattenStruct_LocOnMembers.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_FlattenStruct_LocOnMembers.spvasm.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Communicators {
+  float alice;
+  vec4 bob;
+};
+
+struct main_out {
+  vec4 x_2_1;
+  float x_3_1;
+  vec4 x_3_2;
+};
+
+Communicators x_1 = Communicators(0.0f, vec4(0.0f));
+Communicators x_3 = Communicators(0.0f, vec4(0.0f));
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main(float x_1_param, vec4 x_1_param_1) {
+  x_1.alice = x_1_param;
+  x_1.bob = x_1_param_1;
+  main_1();
+  return main_out(x_2, x_3.alice, x_3.bob);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:19: 'main' : function cannot take any parameter(s) 
+ERROR: 0:19: 'structure' :  entry point cannot return a value
+ERROR: 0:19: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenArray_OneLevel.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenArray_OneLevel.spvasm.expected.ir.glsl
index d4bb1c9..2623fc7 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenArray_OneLevel.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenArray_OneLevel.spvasm.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_2_1;
+};
+
+float x_1[3] = float[3](0.0f, 0.0f, 0.0f);
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main(float x_1_param, float x_1_param_1, float x_1_param_2) {
+  x_1[0] = x_1_param;
+  x_1[1] = x_1_param_1;
+  x_1[2] = x_1_param_2;
+  main_1();
+  return main_out(x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'main' : function cannot take any parameter(s) 
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenMatrix.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenMatrix.spvasm.expected.ir.glsl
index d4bb1c9..244ebfd 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenMatrix.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenMatrix.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_2_1;
+};
+
+mat2x4 x_1 = mat2x4(vec4(0.0f), vec4(0.0f));
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main(vec4 x_1_param, vec4 x_1_param_1) {
+  x_1[0] = x_1_param;
+  x_1[1] = x_1_param_1;
+  main_1();
+  return main_out(x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'main' : function cannot take any parameter(s) 
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenNested.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenNested.spvasm.expected.ir.glsl
index d4bb1c9..ba7a5b4 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenNested.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenNested.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_2_1;
+};
+
+mat2x4 x_1[2] = mat2x4[2](mat2x4(vec4(0.0f), vec4(0.0f)), mat2x4(vec4(0.0f), vec4(0.0f)));
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main(vec4 x_1_param, vec4 x_1_param_1, vec4 x_1_param_2, vec4 x_1_param_3) {
+  x_1[0][0] = x_1_param;
+  x_1[0][1] = x_1_param_1;
+  x_1[1][0] = x_1_param_2;
+  x_1[1][1] = x_1_param_3;
+  main_1();
+  return main_out(x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:11: 'main' : function cannot take any parameter(s) 
+ERROR: 0:11: 'structure' :  entry point cannot return a value
+ERROR: 0:11: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenStruct_LocOnVariable.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenStruct_LocOnVariable.spvasm.expected.ir.glsl
index d4bb1c9..14d881d 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenStruct_LocOnVariable.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Input_FlattenStruct_LocOnVariable.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Communicators {
+  float alice;
+  vec4 bob;
+};
+
+struct main_out {
+  vec4 x_2_1;
+};
+
+Communicators x_1 = Communicators(0.0f, vec4(0.0f));
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main(float x_1_param, vec4 x_1_param_1) {
+  x_1.alice = x_1_param;
+  x_1.bob = x_1_param_1;
+  main_1();
+  return main_out(x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'main' : function cannot take any parameter(s) 
+ERROR: 0:16: 'structure' :  entry point cannot return a value
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_AccessChain.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_AccessChain.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_CopyObject.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_CopyObject.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_Direct.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_I32_Load_Direct.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_AccessChain.spvasm.expected.ir.glsl
index 72ca17c..7a71ae7 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_AccessChain.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 position_1_1;
+};
+
+uint x_4 = 0u;
+vec4 position_1 = vec4(0.0f);
+void main_1() {
+  uint x_2 = x_4;
+}
+main_out main(uint x_4_param) {
+  x_4 = x_4_param;
+  main_1();
+  return main_out(position_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_CopyObject.spvasm.expected.ir.glsl
index 72ca17c..7a71ae7 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_CopyObject.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 position_1_1;
+};
+
+uint x_4 = 0u;
+vec4 position_1 = vec4(0.0f);
+void main_1() {
+  uint x_2 = x_4;
+}
+main_out main(uint x_4_param) {
+  x_4 = x_4_param;
+  main_1();
+  return main_out(position_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_Direct.spvasm.expected.ir.glsl
index 72ca17c..7a71ae7 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_InstanceIndex_U32_Load_Direct.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 position_1_1;
+};
+
+uint x_4 = 0u;
+vec4 position_1 = vec4(0.0f);
+void main_1() {
+  uint x_2 = x_4;
+}
+main_out main(uint x_4_param) {
+  x_4 = x_4_param;
+  main_1();
+  return main_out(position_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.ir.glsl
index 27e74787..a1eef49 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration.spvasm.expected.ir.glsl
@@ -9,8 +9,11 @@
 struct S {
   strided_arr field0[3];
 };
+precision highp float;
+precision highp int;
 
-S myvar = S(strided_arr[3](strided_arr(vec2(0.0f)), strided_arr(vec2(0.0f)), strided_arr(vec2(0.0f))));
+
+S myvar;
 void main_1() {
 }
 void main() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.ir.glsl
index c20df10..421334b 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Dropped.spvasm.expected.ir.glsl
@@ -5,8 +5,11 @@
 struct S {
   mat3x2 field0;
 };
+precision highp float;
+precision highp int;
 
-S myvar = S(mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f)));
+
+S myvar;
 void main_1() {
 }
 void main() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.ir.glsl
index c20df10..421334b 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_MatrixStrideDecoration_Natural_Dropped.spvasm.expected.ir.glsl
@@ -5,8 +5,11 @@
 struct S {
   mat3x2 field0;
 };
+precision highp float;
+precision highp int;
 
-S myvar = S(mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f)));
+
+S myvar;
 void main_1() {
 }
 void main() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenArray_OneLevel.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenArray_OneLevel.spvasm.expected.ir.glsl
index 37c14ad..e0fca8a 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenArray_OneLevel.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenArray_OneLevel.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  float x_1_1;
+  float x_1_2;
+  float x_1_3;
+  vec4 x_2_1;
+};
+
+float x_1[3] = float[3](0.0f, 0.0f, 0.0f);
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_1[0], x_1[1], x_1[2], x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenMatrix.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenMatrix.spvasm.expected.ir.glsl
index 37c14ad..9c0b7ba 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenMatrix.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenMatrix.spvasm.expected.ir.glsl
@@ -1,11 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_1_1;
+  vec4 x_1_2;
+  vec4 x_2_1;
+};
+
+mat2x4 x_1 = mat2x4(vec4(0.0f), vec4(0.0f));
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_1[0], x_1[1], x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenStruct_LocOnVariable.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenStruct_LocOnVariable.spvasm.expected.ir.glsl
index 37c14ad..5baf936 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenStruct_LocOnVariable.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_Output_FlattenStruct_LocOnVariable.spvasm.expected.ir.glsl
@@ -1,11 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct Communicators {
+  float alice;
+  vec4 bob;
+};
+
+struct main_out {
+  float x_1_1;
+  vec4 x_1_2;
+  vec4 x_2_1;
+};
+
+Communicators x_1 = Communicators(0.0f, vec4(0.0f));
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_1.alice, x_1.bob, x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'structure' :  entry point cannot return a value
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_AccessChain.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_AccessChain.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_CopyObject.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_CopyObject.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_Direct.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_I32_Load_Direct.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_AccessChain.spvasm.expected.ir.glsl
index 72ca17c..b9ec6d0 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_AccessChain.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uint x_1 = 0u;
+void main_1() {
+  uint x_2 = x_1;
+}
+void main(uint x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'main' : function cannot take any parameter(s) 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_CopyObject.spvasm.expected.ir.glsl
index 72ca17c..b9ec6d0 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_CopyObject.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uint x_1 = 0u;
+void main_1() {
+  uint x_2 = x_1;
+}
+void main(uint x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'main' : function cannot take any parameter(s) 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_Direct.spvasm.expected.ir.glsl
index 72ca17c..b9ec6d0 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleId_U32_Load_Direct.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uint x_1 = 0u;
+void main_1() {
+  uint x_2 = x_1;
+}
+void main(uint x_1_param) {
+  x_1 = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'main' : function cannot take any parameter(s) 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_AccessChain.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_AccessChain.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_CopyObject.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_CopyObject.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_Direct.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_I32_Direct.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_AccessChain.spvasm.expected.ir.glsl
index 72ca17c..c20593f 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_AccessChain.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+  uint x_4 = x_1[0];
+}
+void main(uint x_1_param) {
+  x_1[0] = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'main' : function cannot take any parameter(s) 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_CopyObject.spvasm.expected.ir.glsl
index 72ca17c..c20593f 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_CopyObject.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+  uint x_4 = x_1[0];
+}
+void main(uint x_1_param) {
+  x_1[0] = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'main' : function cannot take any parameter(s) 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_Direct.spvasm.expected.ir.glsl
index 72ca17c..7b536c5 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_U32_Direct.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+  uint x_3 = x_1[0];
+}
+void main(uint x_1_param) {
+  x_1[0] = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'main' : function cannot take any parameter(s) 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_WithStride.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_WithStride.spvasm.expected.ir.glsl
index 72ca17c..7b536c5 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_WithStride.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_In_WithStride.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
+precision highp float;
+precision highp int;
 
-tint executable returned error: signal: illegal instruction
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+  uint x_3 = x_1[0];
+}
+void main(uint x_1_param) {
+  x_1[0] = x_1_param;
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'main' : function cannot take any parameter(s) 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_AccessChain.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_AccessChain.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_CopyObject.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_CopyObject.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_Direct.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_I32_Direct.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_AccessChain.spvasm.expected.ir.glsl
index d4bb1c9..96c856f 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_AccessChain.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  uint x_1_1;
+};
+precision highp float;
+precision highp int;
+
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+  x_1[0] = 0u;
+}
+main_out main() {
+  main_1();
+  return main_out(x_1[0]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_CopyObject.spvasm.expected.ir.glsl
index d4bb1c9..96c856f 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_CopyObject.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  uint x_1_1;
+};
+precision highp float;
+precision highp int;
+
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+  x_1[0] = 0u;
+}
+main_out main() {
+  main_1();
+  return main_out(x_1[0]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_Direct.spvasm.expected.ir.glsl
index d4bb1c9..96c856f 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_U32_Direct.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  uint x_1_1;
+};
+precision highp float;
+precision highp int;
+
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+  x_1[0] = 0u;
+}
+main_out main() {
+  main_1();
+  return main_out(x_1[0]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_WithStride.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_WithStride.spvasm.expected.ir.glsl
index d4bb1c9..96c856f 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_WithStride.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_SampleMask_Out_WithStride.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  uint x_1_1;
+};
+precision highp float;
+precision highp int;
+
+
+uint x_1[1] = uint[1](0u);
+void main_1() {
+  x_1[0] = 0u;
+}
+main_out main() {
+  main_1();
+  return main_out(x_1[0]);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_AllMembers.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_AllMembers.spvasm.expected.ir.glsl
index 017fadc..5e9e02c 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_AllMembers.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_AllMembers.spvasm.expected.ir.glsl
@@ -6,8 +6,11 @@
   float field0;
   float field1;
 };
+precision highp float;
+precision highp int;
 
-S x_1 = S(0.0f, 0.0f);
+
+S x_1;
 void main_1() {
 }
 void main() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_NotAllMembers.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_NotAllMembers.spvasm.expected.ir.glsl
index 017fadc..5e9e02c 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_NotAllMembers.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_NotAllMembers.spvasm.expected.ir.glsl
@@ -6,8 +6,11 @@
   float field0;
   float field1;
 };
+precision highp float;
+precision highp int;
 
-S x_1 = S(0.0f, 0.0f);
+
+S x_1;
 void main_1() {
 }
 void main() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructInitializer.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructInitializer.spvasm.expected.ir.glsl
index 8012d92..10e0a89 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructInitializer.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructInitializer.spvasm.expected.ir.glsl
@@ -7,6 +7,9 @@
   float field1;
   uint field2[2];
 };
+precision highp float;
+precision highp int;
+
 
 S x_200 = S(1u, 1.5f, uint[2](1u, 2u));
 void main_1() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructMember_NonReadableDecoration_Dropped.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructMember_NonReadableDecoration_Dropped.spvasm.expected.ir.glsl
index cdbc3db..c1c2b03 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructMember_NonReadableDecoration_Dropped.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructMember_NonReadableDecoration_Dropped.spvasm.expected.ir.glsl
@@ -7,8 +7,11 @@
   float field1;
   uint field2[2];
 };
+precision highp float;
+precision highp int;
 
-S x_1 = S(0u, 0.0f, uint[2](0u, 0u));
+
+S x_1;
 void main_1() {
 }
 void main() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructNullInitializer.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructNullInitializer.spvasm.expected.ir.glsl
index a5d13f4..005fa00 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructNullInitializer.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_StructNullInitializer.spvasm.expected.ir.glsl
@@ -7,6 +7,9 @@
   float field1;
   uint field2[2];
 };
+precision highp float;
+precision highp int;
+
 
 S x_200 = S(0u, 0.0f, uint[2](0u, 0u));
 void main_1() {
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_AccessChain.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_AccessChain.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_CopyObject.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_CopyObject.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_Direct.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_I32_Load_Direct.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_AccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_AccessChain.spvasm.expected.ir.glsl
index 72ca17c..621dcc8 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_AccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_AccessChain.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_1_1;
+};
+
+uint x_4 = 0u;
+vec4 x_1 = vec4(0.0f);
+void main_1() {
+  uint x_2 = x_4;
+}
+main_out main(uint x_4_param) {
+  x_4 = x_4_param;
+  main_1();
+  return main_out(x_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_CopyObject.spvasm.expected.ir.glsl
index 72ca17c..621dcc8 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_CopyObject.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_1_1;
+};
+
+uint x_4 = 0u;
+vec4 x_1 = vec4(0.0f);
+void main_1() {
+  uint x_2 = x_4;
+}
+main_out main(uint x_4_param) {
+  x_4 = x_4_param;
+  main_1();
+  return main_out(x_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_Direct.spvasm.expected.ir.glsl
index 72ca17c..621dcc8 100644
--- a/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvModuleScopeVarParserTest_VertexIndex_U32_Load_Direct.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_1_1;
+};
+
+uint x_4 = 0u;
+vec4 x_1 = vec4(0.0f);
+void main_1() {
+  uint x_2 = x_4;
+}
+main_out main(uint x_4_param) {
+  x_4 = x_4_param;
+  main_1();
+  return main_out(x_1);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_MemberDecorate_RelaxedPrecision.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_MemberDecorate_RelaxedPrecision.spvasm.expected.ir.glsl
index 08d11bd..7ab7f98 100644
--- a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_MemberDecorate_RelaxedPrecision.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_MemberDecorate_RelaxedPrecision.spvasm.expected.ir.glsl
@@ -5,6 +5,9 @@
 struct strct {
   float field0;
 };
+precision highp float;
+precision highp int;
+
 
 void main_1() {
   strct myvar = strct(0.0f);
diff --git a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer.spvasm.expected.ir.glsl
index e49ca61..1eedafa 100644
--- a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer.spvasm.expected.ir.glsl
@@ -7,6 +7,9 @@
   float field1;
   uint field2[2];
 };
+precision highp float;
+precision highp int;
+
 
 void main_1() {
   S x_200 = S(1u, 1.5f, uint[2](1u, 2u));
diff --git a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer_Null.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer_Null.spvasm.expected.ir.glsl
index 2d0a13a..f1cbbe2 100644
--- a/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer_Null.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserFunctionVarTest_EmitFunctionVariables_StructInitializer_Null.spvasm.expected.ir.glsl
@@ -7,6 +7,9 @@
   float field1;
   uint field2[2];
 };
+precision highp float;
+precision highp int;
+
 
 void main_1() {
   S x_200 = S(0u, 0.0f, uint[2](0u, 0u));
diff --git a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_CopyObject.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_CopyObject.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_CopyObject.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_CopyObject.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Direct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Direct.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Direct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Direct.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Image.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Image.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Image.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Image.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Load.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Load.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Load.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_Load.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_SampledImage.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_SampledImage.spvasm.expected.ir.glsl
index d9f2802..b771681 100644
--- a/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_SampledImage.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserHandleTest_GetMemoryObjectDeclarationForHandle_Variable_SampledImage.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvParserHandleTest_NeverGenerateConstDeclForHandle_UseVariableDirectly.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserHandleTest_NeverGenerateConstDeclForHandle_UseVariableDirectly.spvasm.expected.ir.glsl
index 8fef837..b771681 100644
--- a/test/tint/unittest/reader/spirv/SpvParserHandleTest_NeverGenerateConstDeclForHandle_UseVariableDirectly.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserHandleTest_NeverGenerateConstDeclForHandle_UseVariableDirectly.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:585 internal compiler error: Switch() matched no cases. Type: tint::core::type::Sampler
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromAccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromAccessChain.spvasm.expected.ir.glsl
index 568c5b8..697d463 100644
--- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromAccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromAccessChain.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765925==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a5e2da84d3 bp 0x7fff8ba565c0 sp 0x7fff8ba563e0 T0)
-==1765925==The signal is caused by a READ memory access.
-==1765925==Hint: address points to the zero page.
-    #0 0x55a5e2da84d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55a5e2dbb17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55a5e2dbafd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55a5e2dba72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55a5e2da5704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55a5e2da4a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55a5e2da293a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55a5e2da1b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55a5e2da102b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55a5e28edebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55a5e2109455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55a5e20f1d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55a5e20d9861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f0509337b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f0509337c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55a5e1ffe000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765925==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromVar.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromVar.spvasm.expected.ir.glsl
index be17fe5..697d463 100644
--- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromVar.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_ArrayLength_FromVar.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765926==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x561d9778a4d3 bp 0x7ffc48a1e180 sp 0x7ffc48a1dfa0 T0)
-==1765926==The signal is caused by a READ memory access.
-==1765926==Hint: address points to the zero page.
-    #0 0x561d9778a4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x561d9779d17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x561d9779cfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x561d9779c72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x561d97787704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x561d97786a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x561d9778493a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x561d97783b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x561d9778302b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x561d972cfebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x561d96aeb455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x561d96ad3d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x561d96abb861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f6a54643b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f6a54643c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x561d969e0000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: arrayLength
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765926==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct.spvasm.expected.ir.glsl
index d4bb1c9..9a5d422 100644
--- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  float field0;
+  float age;
+};
+precision highp float;
+precision highp int;
+
+
+S myvar = S(0.0f, 0.0f);
+void main_1() {
+  myvar.age = 42.0f;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_DifferOnlyMemberName.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_DifferOnlyMemberName.spvasm.expected.ir.glsl
index d4bb1c9..b20d1c8 100644
--- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_DifferOnlyMemberName.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_DifferOnlyMemberName.spvasm.expected.ir.glsl
@@ -1,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  float field0;
+  float age;
+};
+
+struct S_1 {
+  float field0;
+  float ancientness;
+};
+precision highp float;
+precision highp int;
+
+
+S myvar = S(0.0f, 0.0f);
+S_1 myvar2 = S_1(0.0f, 0.0f);
+void main_1() {
+  myvar.age = 42.0f;
+  myvar2.ancientness = 420.0f;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_RuntimeArray.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_RuntimeArray.spvasm.expected.ir.glsl
index 4902591..e7dee5a 100644
--- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_RuntimeArray.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_EmitStatement_AccessChain_Struct_RuntimeArray.spvasm.expected.ir.glsl
@@ -1,31 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765943==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5605c62f64d3 bp 0x7fff800b0500 sp 0x7fff800b0320 T0)
-==1765943==The signal is caused by a READ memory access.
-==1765943==Hint: address points to the zero page.
-    #0 0x5605c62f64d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5605c630917c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5605c6308fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5605c630872f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5605c62f3704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5605c62f2a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5605c62f093a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5605c62efb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5605c62ef02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5605c5e3bebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5605c5657455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5605c563fd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5605c5627861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f869e416b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f869e416c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5605c554c000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765943==ABORTING
+struct S {
+  float field0;
+  float age[];
+};
+precision highp float;
+precision highp int;
+
+
+S myvar;
+void main_1() {
+  myvar.age[2u] = 42.0f;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_Cascaded.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_Cascaded.spvasm.expected.ir.glsl
index 65f9fd1..a2a58c4 100644
--- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_Cascaded.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_Cascaded.spvasm.expected.ir.glsl
@@ -1,31 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765962==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a30df4d4d3 bp 0x7fff1acb4e40 sp 0x7fff1acb4c60 T0)
-==1765962==The signal is caused by a READ memory access.
-==1765962==Hint: address points to the zero page.
-    #0 0x55a30df4d4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55a30df6017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55a30df5ffd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55a30df5f72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55a30df4a704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55a30df49a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55a30df4793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55a30df46b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55a30df4602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55a30da92ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55a30d2ae455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55a30d296d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55a30d27e861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fcd71a16b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fcd71a16c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55a30d1a3000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765962==ABORTING
+struct S {
+  uint field0;
+  uint field1[];
+};
+precision highp float;
+precision highp int;
+
+
+S myvar;
+void main_1() {
+  myvar.field1[1u] = 0u;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: '' : array size required 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded.spvasm.expected.ir.glsl
index 89765c0..d23b472 100644
--- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded.spvasm.expected.ir.glsl
@@ -1,31 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765963==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5605cf3324d3 bp 0x7ffffe370960 sp 0x7ffffe370780 T0)
-==1765963==The signal is caused by a READ memory access.
-==1765963==Hint: address points to the zero page.
-    #0 0x5605cf3324d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5605cf34517c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5605cf344fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5605cf34472f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5605cf32f704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5605cf32ea63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5605cf32c93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5605cf32bb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5605cf32b02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5605cee77ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5605ce693455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5605ce67bd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5605ce663861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fd7bbc16b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fd7bbc16c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5605ce588000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765963==ABORTING
+struct S {
+  uint field0;
+  uint field1[];
+};
+precision highp float;
+precision highp int;
+
+
+S myvar;
+void main_1() {
+  myvar.field0 = 0u;
+  myvar.field1[1u] = 0u;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: '' : array size required 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded_InBoundsAccessChain.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded_InBoundsAccessChain.spvasm.expected.ir.glsl
index db43a54..d23b472 100644
--- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded_InBoundsAccessChain.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_ThroughAccessChain_NonCascaded_InBoundsAccessChain.spvasm.expected.ir.glsl
@@ -1,31 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765965==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5578336394d3 bp 0x7ffc97f2be60 sp 0x7ffc97f2bc80 T0)
-==1765965==The signal is caused by a READ memory access.
-==1765965==Hint: address points to the zero page.
-    #0 0x5578336394d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55783364c17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55783364bfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55783364b72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x557833636704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x557833635a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55783363393a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x557833632b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55783363202b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55783317eebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55783299a455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x557832982d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55783296a861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f7e38564b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f7e38564c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55783288f000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765965==ABORTING
+struct S {
+  uint field0;
+  uint field1[];
+};
+precision highp float;
+precision highp int;
+
+
+S myvar;
+void main_1() {
+  myvar.field0 = 0u;
+  myvar.field1[1u] = 0u;
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: '' : array size required 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_TypesAndVarDeclarations.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_TypesAndVarDeclarations.spvasm.expected.ir.glsl
index 5eb8092..19b8726 100644
--- a/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_TypesAndVarDeclarations.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserMemoryTest_RemapStorageBuffer_TypesAndVarDeclarations.spvasm.expected.ir.glsl
@@ -1,31 +1,27 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1765967==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55d6849d04d3 bp 0x7fffa611e040 sp 0x7fffa611de60 T0)
-==1765967==The signal is caused by a READ memory access.
-==1765967==Hint: address points to the zero page.
-    #0 0x55d6849d04d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55d6849e317c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55d6849e2fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55d6849e272f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55d6849cd704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55d6849cca63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55d6849ca93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55d6849c9b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55d6849c902b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55d684515ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55d683d31455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55d683d19d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55d683d01861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f3268b64b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f3268b64c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55d683c26000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1765967==ABORTING
+struct S {
+  uint field0;
+  uint field1[];
+};
+precision highp float;
+precision highp int;
+
+
+S myvar;
+void main_1() {
+}
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: '' : array size required 
+ERROR: 0:6: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserTestMiscInstruction_OpUndef_InFunction_Struct.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserTestMiscInstruction_OpUndef_InFunction_Struct.spvasm.expected.ir.glsl
index cb6d168..c5ecef3 100644
--- a/test/tint/unittest/reader/spirv/SpvParserTestMiscInstruction_OpUndef_InFunction_Struct.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserTestMiscInstruction_OpUndef_InFunction_Struct.spvasm.expected.ir.glsl
@@ -8,6 +8,9 @@
   int field2;
   float field3;
 };
+precision highp float;
+precision highp int;
+
 
 void main_1() {
   S x_11 = S(false, 0u, 0, 0.0f);
diff --git a/test/tint/unittest/reader/spirv/SpvParserTest_EmitFunctions_Function_EntryPoint_MultipleEntryPoints.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserTest_EmitFunctions_Function_EntryPoint_MultipleEntryPoints.spvasm.expected.ir.glsl
index 29426c7..ea1d347 100644
--- a/test/tint/unittest/reader/spirv/SpvParserTest_EmitFunctions_Function_EntryPoint_MultipleEntryPoints.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserTest_EmitFunctions_Function_EntryPoint_MultipleEntryPoints.spvasm.expected.ir.glsl
@@ -1,6 +1,12 @@
 SKIP: FAILED
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 void first_shader_1() {
 }
@@ -11,13 +17,19 @@
   first_shader_1();
 }
 error: Error parsing GLSL shader:
-ERROR: 0:8: 'main' : function already has a body 
-ERROR: 0:8: '' : compilation terminated 
+ERROR: 0:14: 'main' : function already has a body 
+ERROR: 0:14: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
 
 #version 310 es
+precision highp float;
+precision highp int;
+
+precision highp float;
+precision highp int;
+
 
 void first_shader_1() {
 }
@@ -28,8 +40,8 @@
   first_shader_1();
 }
 error: Error parsing GLSL shader:
-ERROR: 0:8: 'main' : function already has a body 
-ERROR: 0:8: '' : compilation terminated 
+ERROR: 0:14: 'main' : function already has a body 
+ERROR: 0:14: '' : compilation terminated 
 ERROR: 2 compilation errors.  No code generated.
 
 
diff --git a/test/tint/unittest/reader/spirv/SpvParserTest_EmitFunctions_Function_EntryPoint_Vertex.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserTest_EmitFunctions_Function_EntryPoint_Vertex.spvasm.expected.ir.glsl
index 37c14ad..139d152 100644
--- a/test/tint/unittest/reader/spirv/SpvParserTest_EmitFunctions_Function_EntryPoint_Vertex.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserTest_EmitFunctions_Function_EntryPoint_Vertex.spvasm.expected.ir.glsl
@@ -1,11 +1,24 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_2_1;
+};
+
+vec4 x_2 = vec4(0.0f);
+void main_1() {
+}
+main_out main() {
+  main_1();
+  return main_out(x_2);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'structure' :  entry point cannot return a value
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/unittest/reader/spirv/SpvParserTest_GlslStd450_FaceForward_Scalar.spvasm.expected.ir.glsl b/test/tint/unittest/reader/spirv/SpvParserTest_GlslStd450_FaceForward_Scalar.spvasm.expected.ir.glsl
index b02d7ef..f297654 100644
--- a/test/tint/unittest/reader/spirv/SpvParserTest_GlslStd450_FaceForward_Scalar.spvasm.expected.ir.glsl
+++ b/test/tint/unittest/reader/spirv/SpvParserTest_GlslStd450_FaceForward_Scalar.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Let
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/var/inferred/function.wgsl.expected.ir.glsl b/test/tint/var/inferred/function.wgsl.expected.ir.glsl
index 37c14ad..84ebdbd 100644
--- a/test/tint/var/inferred/function.wgsl.expected.ir.glsl
+++ b/test/tint/var/inferred/function.wgsl.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct MyStruct {
+  float f1;
+};
+precision highp float;
+precision highp int;
+
+
+int ret_i32() {
+  return 1;
+}
+uint ret_u32() {
+  return 1u;
+}
+float ret_f32() {
+  return 1.0f;
+}
+MyStruct ret_MyStruct() {
+  return MyStruct(0.0f);
+}
+float[10] ret_MyArray() {
+  return float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+}
+void var_decls() {
+  int v1 = 1;
+  uint v2 = 1u;
+  float v3 = 1.0f;
+  ivec3 v4 = ivec3(1);
+  uvec3 v5 = uvec3(1u);
+  vec3 v6 = vec3(1.0f);
+  mat3 v7 = mat3(v6, v6, v6);
+  MyStruct v8 = MyStruct(1.0f);
+  float v9[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int v10 = ret_i32();
+  uint v11 = ret_u32();
+  float v12 = ret_f32();
+  MyStruct v13 = ret_MyStruct();
+  MyStruct v14 = ret_MyStruct();
+  float v15[10] = ret_MyArray();
+}
+vec4 main() {
+  return vec4(0.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.ir.glsl b/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.ir.glsl
+++ b/test/tint/var/initialization/workgroup/array/array_i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.ir.glsl b/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.ir.glsl
index 0480431..56f48c5 100644
--- a/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.ir.glsl
+++ b/test/tint/var/initialization/workgroup/array/i32.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/var/initialization/workgroup/matrix.wgsl.expected.ir.glsl b/test/tint/var/initialization/workgroup/matrix.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/var/initialization/workgroup/matrix.wgsl.expected.ir.glsl
+++ b/test/tint/var/initialization/workgroup/matrix.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/var/initialization/workgroup/scalar.wgsl.expected.ir.glsl b/test/tint/var/initialization/workgroup/scalar.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/var/initialization/workgroup/scalar.wgsl.expected.ir.glsl
+++ b/test/tint/var/initialization/workgroup/scalar.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/var/initialization/workgroup/struct.wgsl.expected.ir.glsl b/test/tint/var/initialization/workgroup/struct.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/var/initialization/workgroup/struct.wgsl.expected.ir.glsl
+++ b/test/tint/var/initialization/workgroup/struct.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/var/initialization/workgroup/vector.wgsl.expected.ir.glsl b/test/tint/var/initialization/workgroup/vector.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/var/initialization/workgroup/vector.wgsl.expected.ir.glsl
+++ b/test/tint/var/initialization/workgroup/vector.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/var/uses/instance_index.wgsl.expected.ir.glsl b/test/tint/var/uses/instance_index.wgsl.expected.ir.glsl
index 37c14ad..d4c89cd 100644
--- a/test/tint/var/uses/instance_index.wgsl.expected.ir.glsl
+++ b/test/tint/var/uses/instance_index.wgsl.expected.ir.glsl
@@ -1,11 +1,17 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+vec4 main(uint b) {
+  return vec4(float(b));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:3: 'main' : function cannot take any parameter(s) 
+ERROR: 0:3: 'float' :  entry point cannot return a value
+ERROR: 0:3: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/var/uses/many_workgroup_vars.wgsl.expected.ir.glsl b/test/tint/var/uses/many_workgroup_vars.wgsl.expected.ir.glsl
index e1168e3..56f48c5 100644
--- a/test/tint/var/uses/many_workgroup_vars.wgsl.expected.ir.glsl
+++ b/test/tint/var/uses/many_workgroup_vars.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/var/uses/private.wgsl.expected.ir.glsl b/test/tint/var/uses/private.wgsl.expected.ir.glsl
index d4bb1c9..c18d6ac 100644
--- a/test/tint/var/uses/private.wgsl.expected.ir.glsl
+++ b/test/tint/var/uses/private.wgsl.expected.ir.glsl
@@ -1,11 +1,200 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+int a = 0;
+int b = 0;
+int c = 0;
+void uses_a() {
+  a = (a + 1);
+}
+void uses_b() {
+  b = (b * 2);
+}
+void uses_a_and_b() {
+  b = a;
+}
+void no_uses() {
+}
+void outer() {
+  a = 0;
+  uses_a();
+  uses_a_and_b();
+  uses_b();
+  no_uses();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  a = 42;
+  uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  b = 7;
+  uses_b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  outer();
+  no_uses();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  no_uses();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:30: 'main' : function already has a body 
+ERROR: 0:30: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+int a = 0;
+int b = 0;
+int c = 0;
+void uses_a() {
+  a = (a + 1);
+}
+void uses_b() {
+  b = (b * 2);
+}
+void uses_a_and_b() {
+  b = a;
+}
+void no_uses() {
+}
+void outer() {
+  a = 0;
+  uses_a();
+  uses_a_and_b();
+  uses_b();
+  no_uses();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  a = 42;
+  uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  b = 7;
+  uses_b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  outer();
+  no_uses();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  no_uses();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:30: 'main' : function already has a body 
+ERROR: 0:30: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+int a = 0;
+int b = 0;
+int c = 0;
+void uses_a() {
+  a = (a + 1);
+}
+void uses_b() {
+  b = (b * 2);
+}
+void uses_a_and_b() {
+  b = a;
+}
+void no_uses() {
+}
+void outer() {
+  a = 0;
+  uses_a();
+  uses_a_and_b();
+  uses_b();
+  no_uses();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  a = 42;
+  uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  b = 7;
+  uses_b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  outer();
+  no_uses();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  no_uses();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:30: 'main' : function already has a body 
+ERROR: 0:30: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+int a = 0;
+int b = 0;
+int c = 0;
+void uses_a() {
+  a = (a + 1);
+}
+void uses_b() {
+  b = (b * 2);
+}
+void uses_a_and_b() {
+  b = a;
+}
+void no_uses() {
+}
+void outer() {
+  a = 0;
+  uses_a();
+  uses_a_and_b();
+  uses_b();
+  no_uses();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  a = 42;
+  uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  b = 7;
+  uses_b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  outer();
+  no_uses();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  no_uses();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:30: 'main' : function already has a body 
+ERROR: 0:30: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/var/uses/push_constant.wgsl.expected.ir.glsl b/test/tint/var/uses/push_constant.wgsl.expected.ir.glsl
index 72ca17c..cdf9399 100644
--- a/test/tint/var/uses/push_constant.wgsl.expected.ir.glsl
+++ b/test/tint/var/uses/push_constant.wgsl.expected.ir.glsl
@@ -1,11 +1,148 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uniform int a;
+uniform int b;
+uniform int c;
+void uses_a() {
+  int foo = a;
+}
+void uses_uses_a() {
+  uses_a();
+}
+void uses_b() {
+  int foo = b;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+uniform int a;
+uniform int b;
+uniform int c;
+void uses_a() {
+  int foo = a;
+}
+void uses_uses_a() {
+  uses_a();
+}
+void uses_b() {
+  int foo = b;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+uniform int a;
+uniform int b;
+uniform int c;
+void uses_a() {
+  int foo = a;
+}
+void uses_uses_a() {
+  uses_a();
+}
+void uses_b() {
+  int foo = b;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+#version 310 es
+
+uniform int a;
+uniform int b;
+uniform int c;
+void uses_a() {
+  int foo = a;
+}
+void uses_uses_a() {
+  uses_a();
+}
+void uses_b() {
+  int foo = b;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_uses_a();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  uses_b();
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function already has a body 
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/var/uses/push_constant_and_instance_index.wgsl.expected.ir.glsl b/test/tint/var/uses/push_constant_and_instance_index.wgsl.expected.ir.glsl
index 72ca17c..007cb43 100644
--- a/test/tint/var/uses/push_constant_and_instance_index.wgsl.expected.ir.glsl
+++ b/test/tint/var/uses/push_constant_and_instance_index.wgsl.expected.ir.glsl
@@ -1,11 +1,19 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+uniform float a;
+vec4 main(uint b) {
+  float v = a;
+  return vec4((v + float(b)));
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'main' : function cannot take any parameter(s) 
+ERROR: 0:4: 'float' :  entry point cannot return a value
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/var/uses/workgroup.wgsl.expected.ir.glsl b/test/tint/var/uses/workgroup.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/var/uses/workgroup.wgsl.expected.ir.glsl
+++ b/test/tint/var/uses/workgroup.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/0.spvasm.expected.ir.glsl
index d4bb1c9..08efa7e 100644
--- a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/0.spvasm.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct block0 {
+  vec4 in_color;
+};
+
+struct main_out {
+  vec4 tint_symbol;
+  vec4 frag_color_1;
+};
+
+vec4 position_1 = vec4(0.0f);
+vec4 frag_color = vec4(0.0f);
+uniform block0 x_8;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol = position_1;
+  frag_color = x_8.in_color;
+}
+main_out main(vec4 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol, frag_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:20: 'main' : function cannot take any parameter(s) 
+ERROR: 0:20: 'structure' :  entry point cannot return a value
+ERROR: 0:20: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/0.wgsl.expected.ir.glsl
index 72ca17c..ba1243a 100644
--- a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/0.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct block0 {
+  vec4 in_color;
+};
+
+struct main_out {
+  vec4 tint_symbol;
+  vec4 frag_color_1;
+};
+
+vec4 pos = vec4(0.0f);
+vec4 frag_color = vec4(0.0f);
+uniform block0 x_8;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 x_24 = pos;
+  tint_symbol = x_24;
+  vec4 x_27 = x_8.in_color;
+  frag_color = x_27;
+}
+main_out main(vec4 position_param) {
+  pos = position_param;
+  main_1();
+  return main_out(tint_symbol, frag_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:22: 'main' : function cannot take any parameter(s) 
+ERROR: 0:22: 'structure' :  entry point cannot return a value
+ERROR: 0:22: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.spvasm.expected.ir.glsl
index d4bb1c9..2d9ee37 100644
--- a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 final_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 final_color = vec4(0.0f);
+vec4 frag_color = vec4(0.0f);
+void main_1() {
+  final_color = frag_color;
+}
+main_out main(vec4 frag_color_param) {
+  frag_color = frag_color_param;
+  main_1();
+  return main_out(final_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.wgsl.expected.ir.glsl
index 72ca17c..c4e9efd 100644
--- a/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/binding_model/dynamic_offset/shader_reuse_differing_layout_graphics/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 final_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 final_color = vec4(0.0f);
+vec4 frag_color = vec4(0.0f);
+void main_1() {
+  vec4 x_12 = frag_color;
+  final_color = x_12;
+}
+main_out main(vec4 frag_color_param) {
+  frag_color = frag_color_param;
+  main_1();
+  return main_out(final_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/combined_operations/negintdivand/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/combined_operations/negintdivand/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1d6d6b8 100644
--- a/test/tint/vk-gl-cts/combined_operations/negintdivand/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/combined_operations/negintdivand/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+  vec4 frag_color_1;
+};
+
+vec4 position_1 = vec4(0.0f);
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol = position_1;
+  frag_color = (position_1 * 0.5f);
+}
+main_out main(vec4 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol, frag_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'main' : function cannot take any parameter(s) 
+ERROR: 0:15: 'structure' :  entry point cannot return a value
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/combined_operations/negintdivand/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/combined_operations/negintdivand/0-opt.wgsl.expected.ir.glsl
index 72ca17c..4a81972 100644
--- a/test/tint/vk-gl-cts/combined_operations/negintdivand/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/combined_operations/negintdivand/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,33 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+  vec4 frag_color_1;
+};
+
+vec4 pos = vec4(0.0f);
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 x_21 = pos;
+  tint_symbol = x_21;
+  vec4 x_23 = pos;
+  frag_color = (x_23 * 0.5f);
+}
+main_out main(vec4 position_param) {
+  pos = position_param;
+  main_1();
+  return main_out(tint_symbol, frag_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function cannot take any parameter(s) 
+ERROR: 0:17: 'structure' :  entry point cannot return a value
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/combined_operations/negintdivand/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/combined_operations/negintdivand/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/combined_operations/negintdivand/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/combined_operations/negintdivand/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/combined_operations/negintdivand/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/combined_operations/negintdivand/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/combined_operations/negintdivand/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/combined_operations/negintdivand/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..a7ead66 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x = 0;
+  x = 0;
+  if ((vec4(1.0f)[min(max(x, 0), 3)] >= 1.0f)) {
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..ad04177 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/access-new-vector-inside-if-condition/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,33 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x = 0;
+  x = 0;
+  int x_5 = x;
+  if ((vec4(1.0f)[min(max(x_5, 0), 3)] >= 1.0f)) {
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.spvasm.expected.ir.glsl
index 0480431..edb77a7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,171 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+struct tmp_struct {
+  int nmb[1];
+};
+
+uniform buf0 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  int x_24[1] = int[1](0);
+  bool x_68 = false;
+  int x_17 = 0;
+  int x_18 = 0;
+  int x_19 = 0;
+  int x_20 = 0;
+  bool x_69 = false;
+  float tmp_float = 0.0f;
+  vec3 color = vec3(0.0f);
+  {
+    while(true) {
+      bool x_79 = false;
+      int x_25 = 0;
+      int x_26 = 0;
+      vec3 x_101 = vec3(0.0f);
+      float x_75 = x_11.injectionSwitch.y;
+      tmp_float = x_75;
+      vec3 x_76 = vec3(x_75);
+      color = x_76;
+      x_24 = int[1](0);
+      x_68 = false;
+      x_79 = false;
+      {
+        while(true) {
+          int x_21 = 0;
+          bool x_93 = false;
+          x_18 = 1;
+          x_21 = 1;
+          {
+            while(true) {
+              x_25 = 0;
+              x_93 = x_79;
+              if ((x_21 > 10)) {
+              } else {
+                break;
+              }
+              int x_22 = (x_21 - 1);
+              x_19 = x_22;
+              if ((x_24[x_22] == 1)) {
+                x_68 = true;
+                x_17 = 1;
+                x_25 = 1;
+                x_93 = true;
+                break;
+              }
+              x_18 = x_22;
+              {
+                x_21 = x_22;
+              }
+              continue;
+            }
+          }
+          x_26 = x_25;
+          if (x_93) {
+            break;
+          }
+          x_68 = true;
+          x_17 = -1;
+          x_26 = -1;
+          break;
+        }
+      }
+      x_20 = x_26;
+      if ((x_26 == -1)) {
+        continue_execution = false;
+      } else {
+        x_GLF_color = vec4(0.0f);
+        x_101 = vec3(x_76[0u], (x_76.yz + vec2(1.0f)).xy);
+        color = x_101;
+        if ((x_11.injectionSwitch.x > 1.0f)) {
+          x_69 = true;
+          break;
+        }
+      }
+      x_GLF_color = vec4(x_101.x, x_101.y, x_101.z, 1.0f);
+      x_69 = true;
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+int binarySearch_struct_tmp_struct_i1_1_1_(inout tmp_struct obj) {
+  bool x_112 = false;
+  int x_16 = 0;
+  int one = 0;
+  int zero = 0;
+  bool x_114 = false;
+  int x_27 = 0;
+  int x_28 = 0;
+  x_114 = false;
+  {
+    while(true) {
+      int x_15 = 0;
+      bool x_128 = false;
+      one = 1;
+      x_15 = 1;
+      {
+        while(true) {
+          x_27 = 0;
+          x_128 = x_114;
+          if ((x_15 > 10)) {
+          } else {
+            break;
+          }
+          int x_13 = (x_15 - 1);
+          zero = x_13;
+          if ((obj.nmb[x_13] == 1)) {
+            x_112 = true;
+            x_16 = 1;
+            x_27 = 1;
+            x_128 = true;
+            break;
+          }
+          one = x_13;
+          {
+            x_15 = x_13;
+          }
+          continue;
+        }
+      }
+      x_28 = x_27;
+      if (x_128) {
+        break;
+      }
+      x_112 = true;
+      x_16 = -1;
+      x_28 = -1;
+      break;
+    }
+  }
+  return x_28;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.wgsl.expected.ir.glsl
index 0480431..2f731d8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/always-discarding-function/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,187 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+struct tmp_struct {
+  int nmb[1];
+};
+
+uniform buf0 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  int x_24[1] = int[1](0);
+  bool x_68 = false;
+  int x_17 = 0;
+  int x_18 = 0;
+  int x_19 = 0;
+  int x_20 = 0;
+  bool x_69 = false;
+  float tmp_float = 0.0f;
+  vec3 color = vec3(0.0f);
+  {
+    while(true) {
+      int x_25 = 0;
+      vec3 x_101 = vec3(0.0f);
+      bool x_79_phi = false;
+      int x_26_phi = 0;
+      float x_75 = x_11.injectionSwitch.y;
+      tmp_float = x_75;
+      vec3 x_76 = vec3(x_75, x_75, x_75);
+      color = x_76;
+      x_24 = int[1](0);
+      x_68 = false;
+      x_79_phi = false;
+      {
+        while(true) {
+          int x_21_phi = 0;
+          int x_25_phi = 0;
+          bool x_93_phi = false;
+          bool x_79 = x_79_phi;
+          x_18 = 1;
+          x_21_phi = 1;
+          {
+            while(true) {
+              int x_21 = x_21_phi;
+              x_25_phi = 0;
+              x_93_phi = x_79;
+              if ((x_21 > 10)) {
+              } else {
+                break;
+              }
+              int x_22 = (x_21 - 1);
+              x_19 = x_22;
+              int x_23 = x_24[x_22];
+              if ((x_23 == 1)) {
+                x_68 = true;
+                x_17 = 1;
+                x_25_phi = 1;
+                x_93_phi = true;
+                break;
+              }
+              x_18 = x_22;
+              {
+                x_21_phi = x_22;
+              }
+              continue;
+            }
+          }
+          x_25 = x_25_phi;
+          bool x_93 = x_93_phi;
+          x_26_phi = x_25;
+          if (x_93) {
+            break;
+          }
+          x_68 = true;
+          x_17 = -1;
+          x_26_phi = -1;
+          break;
+        }
+      }
+      int x_26 = x_26_phi;
+      x_20 = x_26;
+      if ((x_26 == -1)) {
+        continue_execution = false;
+      } else {
+        x_GLF_color = vec4(0.0f);
+        vec2 x_100 = (vec2(x_76[1u], x_76[2u]) + vec2(1.0f));
+        x_101 = vec3(x_76[0u], x_100[0u], x_100[1u]);
+        color = x_101;
+        float x_103 = x_11.injectionSwitch.x;
+        if ((x_103 > 1.0f)) {
+          x_69 = true;
+          break;
+        }
+      }
+      x_GLF_color = vec4(x_101.x, x_101.y, x_101.z, 1.0f);
+      x_69 = true;
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+int binarySearch_struct_tmp_struct_i1_1_1_(inout tmp_struct obj) {
+  bool x_112 = false;
+  int x_16 = 0;
+  int one = 0;
+  int zero = 0;
+  int x_27 = 0;
+  bool x_114_phi = false;
+  int x_28_phi = 0;
+  x_114_phi = false;
+  {
+    while(true) {
+      int x_15_phi = 0;
+      int x_27_phi = 0;
+      bool x_128_phi = false;
+      bool x_114 = x_114_phi;
+      one = 1;
+      x_15_phi = 1;
+      {
+        while(true) {
+          int x_15 = x_15_phi;
+          x_27_phi = 0;
+          x_128_phi = x_114;
+          if ((x_15 > 10)) {
+          } else {
+            break;
+          }
+          int x_13 = (x_15 - 1);
+          zero = x_13;
+          int x_14 = obj.nmb[x_13];
+          if ((x_14 == 1)) {
+            x_112 = true;
+            x_16 = 1;
+            x_27_phi = 1;
+            x_128_phi = true;
+            break;
+          }
+          one = x_13;
+          {
+            x_15_phi = x_13;
+          }
+          continue;
+        }
+      }
+      x_27 = x_27_phi;
+      bool x_128 = x_128_phi;
+      x_28_phi = x_27;
+      if (x_128) {
+        break;
+      }
+      x_112 = true;
+      x_16 = -1;
+      x_28_phi = -1;
+      break;
+    }
+  }
+  int x_28 = x_28_phi;
+  return x_28;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..46e030d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,159 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_30;
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  temp = obj.numbers[i];
+  int x_95 = i;
+  obj.numbers[x_95] = obj.numbers[j];
+  int x_100 = j;
+  obj.numbers[x_100] = temp;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  pivot = obj.numbers[h];
+  i_1 = (l - 1);
+  j_1 = l;
+  {
+    while(true) {
+      if ((j_1 <= (h - 1))) {
+      } else {
+        break;
+      }
+      if ((obj.numbers[j_1] <= pivot)) {
+        i_1 = (i_1 + 1);
+        param = i_1;
+        param_1 = j_1;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        j_1 = (j_1 + 1);
+      }
+      continue;
+    }
+  }
+  param_2 = (i_1 + 1);
+  param_3 = h;
+  swap_i1_i1_(param_2, param_3);
+  int x_137 = i_1;
+  return (x_137 + 1);
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_141 = (top + 1);
+  top = x_141;
+  stack[x_141] = l_1;
+  int x_145 = (top + 1);
+  top = x_145;
+  stack[x_145] = h_1;
+  {
+    while(true) {
+      if ((top >= 0)) {
+      } else {
+        break;
+      }
+      int x_155 = top;
+      top = (top - 1);
+      h_1 = stack[x_155];
+      int x_159 = top;
+      top = (top - 1);
+      l_1 = stack[x_159];
+      param_4 = l_1;
+      param_5 = h_1;
+      int x_165 = performPartition_i1_i1_(param_4, param_5);
+      p = x_165;
+      if (((p - 1) > l_1)) {
+        int x_173 = (top + 1);
+        top = x_173;
+        stack[x_173] = l_1;
+        int x_177 = (top + 1);
+        top = x_177;
+        stack[x_177] = (p - 1);
+      }
+      if (((p + 1) < h_1)) {
+        int x_188 = (top + 1);
+        top = x_188;
+        stack[x_188] = (p + 1);
+        int x_193 = (top + 1);
+        top = x_193;
+        stack[x_193] = h_1;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  i_2 = 0;
+  {
+    while(true) {
+      if ((i_2 < 10)) {
+      } else {
+        break;
+      }
+      int x_67 = i_2;
+      obj.numbers[x_67] = (10 - i_2);
+      int x_71 = i_2;
+      obj.numbers[x_71] = (obj.numbers[i_2] * obj.numbers[i_2]);
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  if ((obj.numbers[0] < obj.numbers[4])) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 1.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.wgsl.expected.ir.glsl
index 72ca17c..eea9f0b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/arr-value-set-to-arr-value-squared/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,209 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_30;
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  int x_92 = i;
+  int x_94 = obj.numbers[x_92];
+  temp = x_94;
+  int x_95 = i;
+  int x_96 = j;
+  int x_98 = obj.numbers[x_96];
+  obj.numbers[x_95] = x_98;
+  int x_100 = j;
+  int x_101 = temp;
+  obj.numbers[x_100] = x_101;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  int x_104 = h;
+  int x_106 = obj.numbers[x_104];
+  pivot = x_106;
+  int x_107 = l;
+  i_1 = (x_107 - 1);
+  int x_109 = l;
+  j_1 = x_109;
+  {
+    while(true) {
+      int x_114 = j_1;
+      int x_115 = h;
+      if ((x_114 <= (x_115 - 1))) {
+      } else {
+        break;
+      }
+      int x_119 = j_1;
+      int x_121 = obj.numbers[x_119];
+      int x_122 = pivot;
+      if ((x_121 <= x_122)) {
+        int x_126 = i_1;
+        i_1 = (x_126 + 1);
+        int x_128 = i_1;
+        param = x_128;
+        int x_129 = j_1;
+        param_1 = x_129;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        int x_131 = j_1;
+        j_1 = (x_131 + 1);
+      }
+      continue;
+    }
+  }
+  int x_133 = i_1;
+  param_2 = (x_133 + 1);
+  int x_135 = h;
+  param_3 = x_135;
+  swap_i1_i1_(param_2, param_3);
+  int x_137 = i_1;
+  return (x_137 + 1);
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_140 = top;
+  int x_141 = (x_140 + 1);
+  top = x_141;
+  int x_142 = l_1;
+  stack[x_141] = x_142;
+  int x_144 = top;
+  int x_145 = (x_144 + 1);
+  top = x_145;
+  int x_146 = h_1;
+  stack[x_145] = x_146;
+  {
+    while(true) {
+      int x_152 = top;
+      if ((x_152 >= 0)) {
+      } else {
+        break;
+      }
+      int x_155 = top;
+      top = (x_155 - 1);
+      int x_158 = stack[x_155];
+      h_1 = x_158;
+      int x_159 = top;
+      top = (x_159 - 1);
+      int x_162 = stack[x_159];
+      l_1 = x_162;
+      int x_163 = l_1;
+      param_4 = x_163;
+      int x_164 = h_1;
+      param_5 = x_164;
+      int x_165 = performPartition_i1_i1_(param_4, param_5);
+      p = x_165;
+      int x_166 = p;
+      int x_168 = l_1;
+      if (((x_166 - 1) > x_168)) {
+        int x_172 = top;
+        int x_173 = (x_172 + 1);
+        top = x_173;
+        int x_174 = l_1;
+        stack[x_173] = x_174;
+        int x_176 = top;
+        int x_177 = (x_176 + 1);
+        top = x_177;
+        int x_178 = p;
+        stack[x_177] = (x_178 - 1);
+      }
+      int x_181 = p;
+      int x_183 = h_1;
+      if (((x_181 + 1) < x_183)) {
+        int x_187 = top;
+        int x_188 = (x_187 + 1);
+        top = x_188;
+        int x_189 = p;
+        stack[x_188] = (x_189 + 1);
+        int x_192 = top;
+        int x_193 = (x_192 + 1);
+        top = x_193;
+        int x_194 = h_1;
+        stack[x_193] = x_194;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  i_2 = 0;
+  {
+    while(true) {
+      int x_64 = i_2;
+      if ((x_64 < 10)) {
+      } else {
+        break;
+      }
+      int x_67 = i_2;
+      int x_68 = i_2;
+      obj.numbers[x_67] = (10 - x_68);
+      int x_71 = i_2;
+      int x_72 = i_2;
+      int x_74 = obj.numbers[x_72];
+      int x_75 = i_2;
+      int x_77 = obj.numbers[x_75];
+      obj.numbers[x_71] = (x_74 * x_77);
+      {
+        int x_80 = i_2;
+        i_2 = (x_80 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  int x_84 = obj.numbers[0];
+  int x_86 = obj.numbers[4];
+  if ((x_84 < x_86)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 1.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/array-idx-multiplied-by-for-loop-idx/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/array-idx-multiplied-by-for-loop-idx/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/array-idx-multiplied-by-for-loop-idx/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/array-idx-multiplied-by-for-loop-idx/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/array-idx-multiplied-by-for-loop-idx/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/array-idx-multiplied-by-for-loop-idx/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/array-idx-multiplied-by-for-loop-idx/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/array-idx-multiplied-by-for-loop-idx/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..3a9395d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,113 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int data[9] = int[9](0, 0, 0, 0, 0, 0, 0, 0, 0);
+vec4 tint_symbol = vec4(0.0f);
+int temp[7] = int[7](0, 0, 0, 0, 0, 0, 0);
+vec4 x_GLF_color = vec4(0.0f);
+float func_i1_(inout int a) {
+  int b = 0;
+  int i = 0;
+  bool x_115 = false;
+  bool x_116 = false;
+  b = 0;
+  data[0] = 5;
+  data[2] = 0;
+  data[4] = 0;
+  data[6] = 0;
+  data[8] = 0;
+  if ((tint_symbol.x >= 0.0f)) {
+    {
+      while(true) {
+        if ((b <= a)) {
+        } else {
+          break;
+        }
+        if ((b <= 5)) {
+          int x_87 = b;
+          temp[x_87] = data[b];
+          b = (b + 2);
+        }
+        {
+        }
+        continue;
+      }
+    }
+  }
+  i = 0;
+  {
+    while(true) {
+      if ((i < 3)) {
+      } else {
+        break;
+      }
+      int x_101 = i;
+      data[x_101] = (temp[0] + 1);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  bool x_110 = (temp[0] == 5);
+  x_116 = x_110;
+  if (x_110) {
+    x_115 = (data[0] == 6);
+    x_116 = x_115;
+  }
+  if (x_116) {
+    return 1.0f;
+  } else {
+    return 0.0f;
+  }
+  /* unreachable */
+}
+void main_1() {
+  int i_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  i_1 = 0;
+  {
+    while(true) {
+      if ((i_1 < 6)) {
+      } else {
+        break;
+      }
+      param = i_1;
+      float x_55 = func_i1_(param);
+      param_1 = i_1;
+      float x_57 = func_i1_(param_1);
+      if ((x_57 == 1.0f)) {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      } else {
+        x_GLF_color = vec4(0.0f);
+      }
+      {
+        i_1 = (i_1 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..07f85cb 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array-2/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,130 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int data[9] = int[9](0, 0, 0, 0, 0, 0, 0, 0, 0);
+vec4 tint_symbol = vec4(0.0f);
+int temp[7] = int[7](0, 0, 0, 0, 0, 0, 0);
+vec4 x_GLF_color = vec4(0.0f);
+float func_i1_(inout int a) {
+  int b = 0;
+  int i = 0;
+  bool x_115 = false;
+  bool x_116_phi = false;
+  b = 0;
+  data[0] = 5;
+  data[2] = 0;
+  data[4] = 0;
+  data[6] = 0;
+  data[8] = 0;
+  float x_71 = tint_symbol.x;
+  if ((x_71 >= 0.0f)) {
+    {
+      while(true) {
+        int x_79 = b;
+        int x_80 = a;
+        if ((x_79 <= x_80)) {
+        } else {
+          break;
+        }
+        int x_83 = b;
+        if ((x_83 <= 5)) {
+          int x_87 = b;
+          int x_88 = b;
+          int x_90 = data[x_88];
+          temp[x_87] = x_90;
+          int x_92 = b;
+          b = (x_92 + 2);
+        }
+        {
+        }
+        continue;
+      }
+    }
+  }
+  i = 0;
+  {
+    while(true) {
+      int x_98 = i;
+      if ((x_98 < 3)) {
+      } else {
+        break;
+      }
+      int x_101 = i;
+      int x_103 = temp[0];
+      data[x_101] = (x_103 + 1);
+      {
+        int x_106 = i;
+        i = (x_106 + 1);
+      }
+      continue;
+    }
+  }
+  int x_109 = temp[0];
+  bool x_110 = (x_109 == 5);
+  x_116_phi = x_110;
+  if (x_110) {
+    int x_114 = data[0];
+    x_115 = (x_114 == 6);
+    x_116_phi = x_115;
+  }
+  bool x_116 = x_116_phi;
+  if (x_116) {
+    return 1.0f;
+  } else {
+    return 0.0f;
+  }
+  /* unreachable */
+}
+void main_1() {
+  int i_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  i_1 = 0;
+  {
+    while(true) {
+      int x_51 = i_1;
+      if ((x_51 < 6)) {
+      } else {
+        break;
+      }
+      int x_54 = i_1;
+      param = x_54;
+      float x_55 = func_i1_(param);
+      int x_56 = i_1;
+      param_1 = x_56;
+      float x_57 = func_i1_(param_1);
+      if ((x_57 == 1.0f)) {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      } else {
+        x_GLF_color = vec4(0.0f);
+      }
+      {
+        int x_62 = i_1;
+        i_1 = (x_62 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..d36a05f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/assign-array-value-to-another-array/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void func_i1_(inout int x) {
+  int a = 0;
+  int data[9] = int[9](0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int temp[2] = int[2](0, 0);
+  int i = 0;
+  bool x_95 = false;
+  bool x_96_phi = false;
+  a = 0;
+  data[0] = 5;
+  {
+    while(true) {
+      int x_56 = a;
+      int x_57 = x;
+      if ((x_56 <= x_57)) {
+      } else {
+        break;
+      }
+      int x_60 = a;
+      if ((x_60 <= 10)) {
+        int x_64 = a;
+        int x_66 = a;
+        int x_69 = data[min(x_66, 0)];
+        temp[min(x_64, 1)] = x_69;
+        int x_71 = a;
+        a = (x_71 + 1);
+      }
+      {
+      }
+      continue;
+    }
+  }
+  i = 0;
+  {
+    while(true) {
+      int x_77 = i;
+      if ((x_77 < 2)) {
+      } else {
+        break;
+      }
+      int x_80 = i;
+      int x_82 = temp[0];
+      int x_83 = i;
+      data[x_80] = (x_82 + x_83);
+      {
+        int x_86 = i;
+        i = (x_86 + 1);
+      }
+      continue;
+    }
+  }
+  int x_89 = data[0];
+  bool x_90 = (x_89 == 5);
+  x_96_phi = x_90;
+  if (x_90) {
+    int x_94 = data[1];
+    x_95 = (x_94 == 6);
+    x_96_phi = x_95;
+  }
+  bool x_96 = x_96_phi;
+  if (x_96) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+void main_1() {
+  int i_1 = 0;
+  int param = 0;
+  i_1 = 1;
+  {
+    while(true) {
+      int x_43 = i_1;
+      if ((x_43 < 6)) {
+      } else {
+        break;
+      }
+      int x_46 = i_1;
+      param = x_46;
+      func_i1_(param);
+      {
+        int x_48 = i_1;
+        i_1 = (x_48 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..99d394e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  bool GLF_live12c5 = false;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  {
+    while(true) {
+      if ((x_5.injectionSwitch.y < 0.0f)) {
+        GLF_live12c5 = false;
+        if (GLF_live12c5) {
+          {
+            if (true) { break; }
+          }
+          continue;
+        } else {
+          {
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..5f53dc3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/break-in-do-while-with-nested-if/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  bool GLF_live12c5 = false;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  {
+    while(true) {
+      float x_31 = x_5.injectionSwitch.y;
+      if ((x_31 < 0.0f)) {
+        GLF_live12c5 = false;
+        bool x_35 = GLF_live12c5;
+        if (x_35) {
+          {
+            if (true) { break; }
+          }
+          continue;
+        } else {
+          {
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.spvasm.expected.ir.glsl
index e1168e3..d626a42 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void func_() {
+  if ((1.0f > x_6.one)) {
+    continue_execution = false;
+  }
+}
+void main_1() {
+  x_GLF_color = vec4(0.0f);
+  {
+    while(true) {
+      func_();
+      if (false) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.wgsl.expected.ir.glsl
index 72ca17c..7e7b26f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/call-function-with-discard/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void func_() {
+  float x_28 = x_6.one;
+  if ((1.0f > x_28)) {
+    continue_execution = false;
+  }
+}
+void main_1() {
+  x_GLF_color = vec4(0.0f);
+  {
+    while(true) {
+      func_();
+      if (false) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/color-set-in-for-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/color-set-in-for-loop/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..a2b2312 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/color-set-in-for-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/color-set-in-for-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_26 = x_5.injectionSwitch.x;
+  if ((x_26 > 1.0f)) {
+    {
+      while(true) {
+        x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+        break;
+      }
+    }
+    return;
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/color-write-in-loop/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/color-write-in-loop/0.spvasm.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/color-write-in-loop/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/color-write-in-loop/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/color-write-in-loop/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/color-write-in-loop/0.wgsl.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/color-write-in-loop/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/color-write-in-loop/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..aa2b770 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,59 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int GLF_live6tree[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+int GLF_live6search_() {
+  int GLF_live6index = 0;
+  int GLF_live6currentNode = 0;
+  GLF_live6index = 0;
+  {
+    while(true) {
+      if (true) {
+      } else {
+        break;
+      }
+      GLF_live6currentNode = GLF_live6tree[GLF_live6index];
+      if ((GLF_live6currentNode != 1)) {
+        return 1;
+      }
+      GLF_live6index = 1;
+      {
+      }
+      continue;
+    }
+  }
+  return 1;
+}
+void main_1() {
+  if ((x_9.injectionSwitch.x > 1.0f)) {
+    int x_13 = GLF_live6search_();
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..749e3c1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/conditional-return-in-infinite-while/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int GLF_live6tree[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+int GLF_live6search_() {
+  int GLF_live6index = 0;
+  int GLF_live6currentNode = 0;
+  GLF_live6index = 0;
+  {
+    while(true) {
+      if (true) {
+      } else {
+        break;
+      }
+      int x_10 = GLF_live6index;
+      int x_11 = GLF_live6tree[x_10];
+      GLF_live6currentNode = x_11;
+      int x_12 = GLF_live6currentNode;
+      if ((x_12 != 1)) {
+        return 1;
+      }
+      GLF_live6index = 1;
+      {
+      }
+      continue;
+    }
+  }
+  return 1;
+}
+void main_1() {
+  float x_40 = x_9.injectionSwitch.x;
+  if ((x_40 > 1.0f)) {
+    int x_13 = GLF_live6search_();
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/control-flow-in-function/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-access-array-dot/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-access-array-dot/0-opt.spvasm.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-access-array-dot/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-access-array-dot/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-access-array-dot/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-access-array-dot/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-access-array-dot/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-access-array-dot/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..99c9e6e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,84 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+float func_() {
+  float s = 0.0f;
+  int i = 0;
+  int j = 0;
+  s = 2.0f;
+  i = 0;
+  {
+    while(true) {
+      if ((i < (x_8.zero + 1))) {
+      } else {
+        break;
+      }
+      s = (s + 3.0f);
+      j = 0;
+      {
+        while(true) {
+          if ((j < 10)) {
+          } else {
+            break;
+          }
+          if ((x_8.zero == 1)) {
+            continue_execution = false;
+          }
+          {
+            j = (j + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  float x_71 = s;
+  return x_71;
+}
+void main_1() {
+  vec4 c = vec4(0.0f);
+  float x_34 = func_();
+  c = vec4(x_34, 0.0f, 0.0f, 1.0f);
+  float x_36 = func_();
+  if ((x_36 == 5.0f)) {
+    x_GLF_color = c;
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..2fdf4f1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-analysis-reachable-from-many/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,92 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+float func_() {
+  float s = 0.0f;
+  int i = 0;
+  int j = 0;
+  s = 2.0f;
+  i = 0;
+  {
+    while(true) {
+      int x_47 = i;
+      int x_49 = x_8.zero;
+      if ((x_47 < (x_49 + 1))) {
+      } else {
+        break;
+      }
+      float x_53 = s;
+      s = (x_53 + 3.0f);
+      j = 0;
+      {
+        while(true) {
+          int x_59 = j;
+          if ((x_59 < 10)) {
+          } else {
+            break;
+          }
+          int x_63 = x_8.zero;
+          if ((x_63 == 1)) {
+            continue_execution = false;
+          }
+          {
+            int x_67 = j;
+            j = (x_67 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_69 = i;
+        i = (x_69 + 1);
+      }
+      continue;
+    }
+  }
+  float x_71 = s;
+  return x_71;
+}
+void main_1() {
+  vec4 c = vec4(0.0f);
+  float x_34 = func_();
+  c = vec4(x_34, 0.0f, 0.0f, 1.0f);
+  float x_36 = func_();
+  if ((x_36 == 5.0f)) {
+    vec4 x_41 = c;
+    x_GLF_color = x_41;
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-and-even-numbers-from-fragcoord/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-and-even-numbers-from-fragcoord/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-and-even-numbers-from-fragcoord/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-and-even-numbers-from-fragcoord/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-and-even-numbers-from-fragcoord/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-and-even-numbers-from-fragcoord/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-and-even-numbers-from-fragcoord/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-and-even-numbers-from-fragcoord/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b5e72d2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int two;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v = vec2(0.0f);
+  float d = 0.0f;
+  v = acos(ldexp(vec2(0.10000000149011611938f), ivec2(x_6.two, 3)));
+  d = distance(v, vec2(1.15927994251251220703f, 0.64349997043609619141f));
+  if ((d < 0.00999999977648258209f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.wgsl.expected.ir.glsl
index 72ca17c..34f59a3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-acos-ldexp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int two;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v = vec2(0.0f);
+  float d = 0.0f;
+  int x_35 = x_6.two;
+  v = acos(ldexp(vec2(0.10000000149011611938f), ivec2(x_35, 3)));
+  vec2 x_39 = v;
+  d = distance(x_39, vec2(1.15927994251251220703f, 0.64349997043609619141f));
+  float x_41 = d;
+  if ((x_41 < 0.00999999977648258209f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..bbf06e6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float undefined = 0.0f;
+  bool x_51 = false;
+  bool x_52 = false;
+  undefined = 0.0f;
+  bool x_44 = (x_6.x_GLF_uniform_int_values[0].el == (x_6.x_GLF_uniform_int_values[0].el + x_6.x_GLF_uniform_int_values[1].el));
+  x_52 = x_44;
+  if (!(x_44)) {
+    x_51 = (undefined > x_8.x_GLF_uniform_float_values[0].el);
+    x_52 = x_51;
+  }
+  if (x_52) {
+    float v = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..804cba6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-mod-zero/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,75 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float undefined = 0.0f;
+  bool x_51 = false;
+  bool x_52_phi = false;
+  undefined = 5.0f;
+  int x_10 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_11 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_12 = x_6.x_GLF_uniform_int_values[1].el;
+  bool x_44 = (x_10 == (x_11 + x_12));
+  x_52_phi = x_44;
+  if (!(x_44)) {
+    float x_48 = undefined;
+    float x_50 = x_8.x_GLF_uniform_float_values[0].el;
+    x_51 = (x_48 > x_50);
+    x_52_phi = x_51;
+  }
+  bool x_52 = x_52_phi;
+  if (x_52) {
+    int x_15 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_16 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_17 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_18 = x_6.x_GLF_uniform_int_values[0].el;
+    float v = float(x_15);
+    float v_1 = float(x_16);
+    float v_2 = float(x_17);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_18));
+  } else {
+    int x_19 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_66 = float(x_19);
+    x_GLF_color = vec4(x_66, x_66, x_66, x_66);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-reflect-denorm/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-reflect-denorm/0-opt.spvasm.expected.ir.glsl
index a34b646..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-reflect-denorm/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-reflect-denorm/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-reflect-denorm/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-reflect-denorm/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-reflect-denorm/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-reflect-denorm/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f844b03 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float undefined = 0.0f;
+  bool x_45 = false;
+  bool x_46 = false;
+  undefined = 1.17520117759704589844f;
+  bool x_38 = (1 == x_6.x_GLF_uniform_int_values[0].el);
+  x_46 = x_38;
+  if (!(x_38)) {
+    x_45 = (undefined > x_8.x_GLF_uniform_float_values[0].el);
+    x_46 = x_45;
+  }
+  if (x_46) {
+    float v = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..c76a7ae 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-sinh-negative-log2/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,73 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float undefined = 0.0f;
+  bool x_45 = false;
+  bool x_46_phi = false;
+  undefined = 1.17520117759704589844f;
+  int x_10 = x_6.x_GLF_uniform_int_values[0].el;
+  bool x_38 = (1 == x_10);
+  x_46_phi = x_38;
+  if (!(x_38)) {
+    float x_42 = undefined;
+    float x_44 = x_8.x_GLF_uniform_float_values[0].el;
+    x_45 = (x_42 > x_44);
+    x_46_phi = x_45;
+  }
+  bool x_46 = x_46_phi;
+  if (x_46) {
+    int x_12 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_13 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_14 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_15 = x_6.x_GLF_uniform_int_values[0].el;
+    float v = float(x_12);
+    float v_1 = float(x_13);
+    float v_2 = float(x_14);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_15));
+  } else {
+    int x_16 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_60 = float(x_16);
+    x_GLF_color = vec4(x_60, x_60, x_60, x_60);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-tanh/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-tanh/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..fa345ea 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-tanh/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-tanh/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  float dist1 = 0.0f;
+  float dist2 = 0.0f;
+  v = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  vec4 v_1 = tanh(v);
+  vec4 v_2 = sinh(v);
+  dist1 = distance(v_1, (v_2 / cosh(v)));
+  dist2 = distance(tanh(v), vec4(0.76159000396728515625f, 0.96403002738952636719f, 0.99505001306533813477f, 0.99932998418807983398f));
+  if (((dist1 < 0.10000000149011611938f) & (dist2 < 0.10000000149011611938f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-tanh/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-tanh/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..619e4ce 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-tanh/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-tanh/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,46 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  float dist1 = 0.0f;
+  float dist2 = 0.0f;
+  v = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  vec4 x_30 = v;
+  vec4 x_32 = v;
+  vec4 x_34 = v;
+  vec4 v_1 = tanh(x_30);
+  vec4 v_2 = sinh(x_32);
+  dist1 = distance(v_1, (v_2 / cosh(x_34)));
+  vec4 x_38 = v;
+  dist2 = distance(tanh(x_38), vec4(0.76159000396728515625f, 0.96403002738952636719f, 0.99505001306533813477f, 0.99932998418807983398f));
+  float x_41 = dist1;
+  float x_43 = dist2;
+  if (((x_41 < 0.10000000149011611938f) & (x_43 < 0.10000000149011611938f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.spvasm.expected.ir.glsl
index 69f590c..871a9bd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,85 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[12];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_15;
+void main_1() {
+  mat3x4 m0 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  mat3x4 m1 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  vec3 undefined = vec3(0.0f);
+  vec3 defined = vec3(0.0f);
+  vec4 v0 = vec4(0.0f);
+  vec4 v1 = vec4(0.0f);
+  vec4 v2 = vec4(0.0f);
+  vec4 v3 = vec4(0.0f);
+  float v = float(x_6.x_GLF_uniform_int_values[4].el);
+  float v_1 = float(x_6.x_GLF_uniform_int_values[5].el);
+  vec4 v_2 = vec4(v, v_1, float(x_6.x_GLF_uniform_int_values[6].el), 4.0f);
+  float v_3 = float(x_6.x_GLF_uniform_int_values[10].el);
+  float v_4 = float(x_6.x_GLF_uniform_int_values[7].el);
+  vec4 v_5 = vec4(v_3, v_4, float(x_6.x_GLF_uniform_int_values[8].el), 8.0f);
+  float v_6 = float(x_6.x_GLF_uniform_int_values[11].el);
+  float v_7 = float(x_6.x_GLF_uniform_int_values[1].el);
+  float v_8 = float(x_6.x_GLF_uniform_int_values[2].el);
+  m0 = mat3x4(v_2, v_5, vec4(v_6, v_7, v_8, float(x_6.x_GLF_uniform_int_values[3].el)));
+  float x_104 = float(x_6.x_GLF_uniform_int_values[4].el);
+  vec4 v_9 = vec4(x_104, 0.0f, 0.0f, 0.0f);
+  vec4 v_10 = vec4(0.0f, x_104, 0.0f, 0.0f);
+  m1 = mat3x4(v_9, v_10, vec4(0.0f, 0.0f, x_104, 0.0f));
+  undefined = vec3(2.0f);
+  vec3 v_11 = vec3(float(x_6.x_GLF_uniform_int_values[4].el));
+  defined = ldexp(v_11, ivec3(x_6.x_GLF_uniform_int_values[0].el));
+  v0 = (m0 * undefined);
+  v1 = (m1 * undefined);
+  v2 = (m0 * defined);
+  v3 = (m1 * defined);
+  if ((v2.x > v3.x)) {
+    float v_12 = float(x_6.x_GLF_uniform_int_values[4].el);
+    float v_13 = float(x_6.x_GLF_uniform_int_values[9].el);
+    float v_14 = float(x_6.x_GLF_uniform_int_values[9].el);
+    x_GLF_color = vec4(v_12, v_13, v_14, float(x_6.x_GLF_uniform_int_values[4].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[9].el));
+  }
+  if ((v0.x < v1.x)) {
+    x_GLF_color[1u] = x_15.x_GLF_uniform_float_values[0].el;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.wgsl.expected.ir.glsl
index 72ca17c..d5754ec 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-undefined-matrix-mul/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[12];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_15;
+void main_1() {
+  mat3x4 m0 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  mat3x4 m1 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  vec3 undefined = vec3(0.0f);
+  vec3 defined = vec3(0.0f);
+  vec4 v0 = vec4(0.0f);
+  vec4 v1 = vec4(0.0f);
+  vec4 v2 = vec4(0.0f);
+  vec4 v3 = vec4(0.0f);
+  int x_17 = x_6.x_GLF_uniform_int_values[4].el;
+  int x_18 = x_6.x_GLF_uniform_int_values[5].el;
+  int x_19 = x_6.x_GLF_uniform_int_values[6].el;
+  int x_20 = x_6.x_GLF_uniform_int_values[10].el;
+  int x_21 = x_6.x_GLF_uniform_int_values[7].el;
+  int x_22 = x_6.x_GLF_uniform_int_values[8].el;
+  int x_23 = x_6.x_GLF_uniform_int_values[11].el;
+  int x_24 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_25 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_26 = x_6.x_GLF_uniform_int_values[3].el;
+  float v = float(x_17);
+  float v_1 = float(x_18);
+  vec4 v_2 = vec4(v, v_1, float(x_19), 4.0f);
+  float v_3 = float(x_20);
+  float v_4 = float(x_21);
+  vec4 v_5 = vec4(v_3, v_4, float(x_22), 8.0f);
+  float v_6 = float(x_23);
+  float v_7 = float(x_24);
+  float v_8 = float(x_25);
+  m0 = mat3x4(v_2, v_5, vec4(v_6, v_7, v_8, float(x_26)));
+  int x_27 = x_6.x_GLF_uniform_int_values[4].el;
+  float x_104 = float(x_27);
+  vec4 v_9 = vec4(x_104, 0.0f, 0.0f, 0.0f);
+  vec4 v_10 = vec4(0.0f, x_104, 0.0f, 0.0f);
+  m1 = mat3x4(v_9, v_10, vec4(0.0f, 0.0f, x_104, 0.0f));
+  undefined = vec3(2.0f);
+  int x_28 = x_6.x_GLF_uniform_int_values[4].el;
+  float x_111 = float(x_28);
+  int x_29 = x_6.x_GLF_uniform_int_values[0].el;
+  vec3 v_11 = vec3(x_111, x_111, x_111);
+  defined = ldexp(v_11, ivec3(x_29, x_29, x_29));
+  mat3x4 x_116 = m0;
+  vec3 x_117 = undefined;
+  v0 = (x_116 * x_117);
+  mat3x4 x_119 = m1;
+  vec3 x_120 = undefined;
+  v1 = (x_119 * x_120);
+  mat3x4 x_122 = m0;
+  vec3 x_123 = defined;
+  v2 = (x_122 * x_123);
+  mat3x4 x_125 = m1;
+  vec3 x_126 = defined;
+  v3 = (x_125 * x_126);
+  float x_129 = v2.x;
+  float x_131 = v3.x;
+  if ((x_129 > x_131)) {
+    int x_30 = x_6.x_GLF_uniform_int_values[4].el;
+    int x_31 = x_6.x_GLF_uniform_int_values[9].el;
+    int x_32 = x_6.x_GLF_uniform_int_values[9].el;
+    int x_33 = x_6.x_GLF_uniform_int_values[4].el;
+    float v_12 = float(x_30);
+    float v_13 = float(x_31);
+    float v_14 = float(x_32);
+    x_GLF_color = vec4(v_12, v_13, v_14, float(x_33));
+  } else {
+    int x_34 = x_6.x_GLF_uniform_int_values[9].el;
+    float x_146 = float(x_34);
+    x_GLF_color = vec4(x_146, x_146, x_146, x_146);
+  }
+  float x_149 = v0.x;
+  float x_151 = v1.x;
+  if ((x_149 < x_151)) {
+    float x_156 = x_15.x_GLF_uniform_float_values[0].el;
+    x_GLF_color[1u] = x_156;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-apfloat-unpackunorm-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.wgsl.expected.ir.glsl
index 72ca17c..ef0d3ec 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-accesses-clamp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,85 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int arr[3] = int[3](0, 0, 0);
+  int a = 0;
+  int b = 0;
+  int c = 0;
+  int x_40 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_42 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_44 = x_7.x_GLF_uniform_int_values[1].el;
+  arr = int[3](x_40, x_42, x_44);
+  int x_47 = x_7.x_GLF_uniform_int_values[0].el;
+  int x_49 = arr[x_47];
+  a = x_49;
+  int x_50 = a;
+  b = (x_50 - 1);
+  float x_53 = tint_symbol.x;
+  float x_55 = x_11.x_GLF_uniform_float_values[0].el;
+  if ((x_53 < x_55)) {
+    int x_59 = b;
+    b = (x_59 + 1);
+  }
+  int x_62 = x_7.x_GLF_uniform_int_values[0].el;
+  c = x_62;
+  int x_63 = c;
+  int x_65 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_67 = x_7.x_GLF_uniform_int_values[2].el;
+  int x_69 = b;
+  arr[min(max(x_63, x_65), x_67)] = x_69;
+  int x_72 = x_7.x_GLF_uniform_int_values[0].el;
+  int x_74 = arr[x_72];
+  int x_77 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_79 = arr[x_77];
+  int x_82 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_84 = arr[x_82];
+  int x_87 = x_7.x_GLF_uniform_int_values[2].el;
+  int x_89 = arr[x_87];
+  float v = float(x_74);
+  float v_1 = float(x_79);
+  float v_2 = float(x_84);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_89));
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..2691fc4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,175 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[20];
+};
+
+struct buf1 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_19;
+void main_1() {
+  int arr0[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int arr1[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int a = 0;
+  int limiter0 = 0;
+  int limiter1 = 0;
+  int b = 0;
+  int limiter2 = 0;
+  int limiter3 = 0;
+  int d = 0;
+  int ref0[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int ref1[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int i = 0;
+  arr0 = int[10](x_6.x_GLF_uniform_int_values[3].el, x_6.x_GLF_uniform_int_values[2].el, x_6.x_GLF_uniform_int_values[4].el, x_6.x_GLF_uniform_int_values[5].el, x_6.x_GLF_uniform_int_values[6].el, x_6.x_GLF_uniform_int_values[7].el, x_6.x_GLF_uniform_int_values[8].el, x_6.x_GLF_uniform_int_values[9].el, x_6.x_GLF_uniform_int_values[0].el, x_6.x_GLF_uniform_int_values[10].el);
+  arr1 = int[10](x_6.x_GLF_uniform_int_values[1].el, x_6.x_GLF_uniform_int_values[12].el, x_6.x_GLF_uniform_int_values[15].el, x_6.x_GLF_uniform_int_values[16].el, x_6.x_GLF_uniform_int_values[17].el, x_6.x_GLF_uniform_int_values[13].el, x_6.x_GLF_uniform_int_values[14].el, x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[18].el, x_6.x_GLF_uniform_int_values[19].el);
+  a = x_6.x_GLF_uniform_int_values[8].el;
+  {
+    while(true) {
+      if ((a < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      limiter0 = x_6.x_GLF_uniform_int_values[3].el;
+      {
+        while(true) {
+          if ((limiter0 < x_6.x_GLF_uniform_int_values[4].el)) {
+          } else {
+            break;
+          }
+          limiter0 = (limiter0 + 1);
+          limiter1 = x_6.x_GLF_uniform_int_values[2].el;
+          b = x_6.x_GLF_uniform_int_values[3].el;
+          {
+            while(true) {
+              if ((b < x_6.x_GLF_uniform_int_values[1].el)) {
+              } else {
+                break;
+              }
+              if ((limiter1 > x_6.x_GLF_uniform_int_values[5].el)) {
+                break;
+              }
+              limiter1 = (limiter1 + 1);
+              int x_145 = b;
+              arr0[x_145] = arr1[a];
+              {
+                b = (b + 1);
+              }
+              continue;
+            }
+          }
+          {
+          }
+          continue;
+        }
+      }
+      limiter2 = 0;
+      {
+        while(true) {
+          if ((limiter2 < 5)) {
+          } else {
+            break;
+          }
+          limiter2 = (limiter2 + 1);
+          arr0[1] = arr1[1];
+          {
+          }
+          continue;
+        }
+      }
+      {
+        while(true) {
+          limiter3 = 0;
+          d = 0;
+          {
+            while(true) {
+              if ((d < 10)) {
+              } else {
+                break;
+              }
+              if ((limiter3 > 4)) {
+                break;
+              }
+              limiter3 = (limiter3 + 1);
+              int x_181 = d;
+              arr1[x_181] = arr0[d];
+              {
+                d = (d + 1);
+              }
+              continue;
+            }
+          }
+          {
+            int x_189 = x_6.x_GLF_uniform_int_values[2].el;
+            int x_191 = x_6.x_GLF_uniform_int_values[3].el;
+            if (!((x_189 == x_191))) { break; }
+          }
+          continue;
+        }
+      }
+      {
+        a = (a + 1);
+      }
+      continue;
+    }
+  }
+  ref0 = int[10](x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[12].el, x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[5].el, x_6.x_GLF_uniform_int_values[6].el, x_6.x_GLF_uniform_int_values[7].el, x_6.x_GLF_uniform_int_values[8].el, x_6.x_GLF_uniform_int_values[9].el, x_6.x_GLF_uniform_int_values[0].el, x_6.x_GLF_uniform_int_values[10].el);
+  ref1 = int[10](x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[12].el, x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[5].el, x_6.x_GLF_uniform_int_values[6].el, x_6.x_GLF_uniform_int_values[13].el, x_6.x_GLF_uniform_int_values[14].el, x_6.x_GLF_uniform_int_values[11].el, x_6.x_GLF_uniform_int_values[18].el, x_6.x_GLF_uniform_int_values[19].el);
+  float v = float(x_6.x_GLF_uniform_int_values[2].el);
+  float v_1 = float(x_6.x_GLF_uniform_int_values[3].el);
+  float v_2 = float(x_6.x_GLF_uniform_int_values[3].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el));
+  i = x_6.x_GLF_uniform_int_values[3].el;
+  {
+    while(true) {
+      bool x_277 = false;
+      bool x_278 = false;
+      if ((i < x_6.x_GLF_uniform_int_values[1].el)) {
+      } else {
+        break;
+      }
+      bool x_267 = (arr0[i] != ref0[i]);
+      x_278 = x_267;
+      if (!(x_267)) {
+        x_277 = (arr1[i] != ref1[i]);
+        x_278 = x_277;
+      }
+      if (x_278) {
+        x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[3].el));
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.wgsl.expected.ir.glsl
index 72ca17c..ccd275b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-array-copies-loops-with-limiters/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,261 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[20];
+};
+
+struct buf1 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_19;
+void main_1() {
+  int arr0[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int arr1[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int a = 0;
+  int limiter0 = 0;
+  int limiter1 = 0;
+  int b = 0;
+  int limiter2 = 0;
+  int limiter3 = 0;
+  int d = 0;
+  int ref0[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int ref1[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int i = 0;
+  int x_59 = x_6.x_GLF_uniform_int_values[3].el;
+  int x_61 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_63 = x_6.x_GLF_uniform_int_values[4].el;
+  int x_65 = x_6.x_GLF_uniform_int_values[5].el;
+  int x_67 = x_6.x_GLF_uniform_int_values[6].el;
+  int x_69 = x_6.x_GLF_uniform_int_values[7].el;
+  int x_71 = x_6.x_GLF_uniform_int_values[8].el;
+  int x_73 = x_6.x_GLF_uniform_int_values[9].el;
+  int x_75 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_77 = x_6.x_GLF_uniform_int_values[10].el;
+  arr0 = int[10](x_59, x_61, x_63, x_65, x_67, x_69, x_71, x_73, x_75, x_77);
+  int x_80 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_82 = x_6.x_GLF_uniform_int_values[12].el;
+  int x_84 = x_6.x_GLF_uniform_int_values[15].el;
+  int x_86 = x_6.x_GLF_uniform_int_values[16].el;
+  int x_88 = x_6.x_GLF_uniform_int_values[17].el;
+  int x_90 = x_6.x_GLF_uniform_int_values[13].el;
+  int x_92 = x_6.x_GLF_uniform_int_values[14].el;
+  int x_94 = x_6.x_GLF_uniform_int_values[11].el;
+  int x_96 = x_6.x_GLF_uniform_int_values[18].el;
+  int x_98 = x_6.x_GLF_uniform_int_values[19].el;
+  arr1 = int[10](x_80, x_82, x_84, x_86, x_88, x_90, x_92, x_94, x_96, x_98);
+  int x_101 = x_6.x_GLF_uniform_int_values[8].el;
+  a = x_101;
+  {
+    while(true) {
+      int x_106 = a;
+      int x_108 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_106 < x_108)) {
+      } else {
+        break;
+      }
+      int x_112 = x_6.x_GLF_uniform_int_values[3].el;
+      limiter0 = x_112;
+      {
+        while(true) {
+          int x_117 = limiter0;
+          int x_119 = x_6.x_GLF_uniform_int_values[4].el;
+          if ((x_117 < x_119)) {
+          } else {
+            break;
+          }
+          int x_122 = limiter0;
+          limiter0 = (x_122 + 1);
+          int x_125 = x_6.x_GLF_uniform_int_values[2].el;
+          limiter1 = x_125;
+          int x_127 = x_6.x_GLF_uniform_int_values[3].el;
+          b = x_127;
+          {
+            while(true) {
+              int x_132 = b;
+              int x_134 = x_6.x_GLF_uniform_int_values[1].el;
+              if ((x_132 < x_134)) {
+              } else {
+                break;
+              }
+              int x_137 = limiter1;
+              int x_139 = x_6.x_GLF_uniform_int_values[5].el;
+              if ((x_137 > x_139)) {
+                break;
+              }
+              int x_143 = limiter1;
+              limiter1 = (x_143 + 1);
+              int x_145 = b;
+              int x_146 = a;
+              int x_148 = arr1[x_146];
+              arr0[x_145] = x_148;
+              {
+                int x_150 = b;
+                b = (x_150 + 1);
+              }
+              continue;
+            }
+          }
+          {
+          }
+          continue;
+        }
+      }
+      limiter2 = 0;
+      {
+        while(true) {
+          int x_156 = limiter2;
+          if ((x_156 < 5)) {
+          } else {
+            break;
+          }
+          int x_159 = limiter2;
+          limiter2 = (x_159 + 1);
+          int x_162 = arr1[1];
+          arr0[1] = x_162;
+          {
+          }
+          continue;
+        }
+      }
+      {
+        while(true) {
+          limiter3 = 0;
+          d = 0;
+          {
+            while(true) {
+              int x_172 = d;
+              if ((x_172 < 10)) {
+              } else {
+                break;
+              }
+              int x_175 = limiter3;
+              if ((x_175 > 4)) {
+                break;
+              }
+              int x_179 = limiter3;
+              limiter3 = (x_179 + 1);
+              int x_181 = d;
+              int x_182 = d;
+              int x_184 = arr0[x_182];
+              arr1[x_181] = x_184;
+              {
+                int x_186 = d;
+                d = (x_186 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            int x_189 = x_6.x_GLF_uniform_int_values[2].el;
+            int x_191 = x_6.x_GLF_uniform_int_values[3].el;
+            if (!((x_189 == x_191))) { break; }
+          }
+          continue;
+        }
+      }
+      {
+        int x_193 = a;
+        a = (x_193 + 1);
+      }
+      continue;
+    }
+  }
+  int x_196 = x_6.x_GLF_uniform_int_values[11].el;
+  int x_198 = x_6.x_GLF_uniform_int_values[12].el;
+  int x_200 = x_6.x_GLF_uniform_int_values[11].el;
+  int x_202 = x_6.x_GLF_uniform_int_values[5].el;
+  int x_204 = x_6.x_GLF_uniform_int_values[6].el;
+  int x_206 = x_6.x_GLF_uniform_int_values[7].el;
+  int x_208 = x_6.x_GLF_uniform_int_values[8].el;
+  int x_210 = x_6.x_GLF_uniform_int_values[9].el;
+  int x_212 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_214 = x_6.x_GLF_uniform_int_values[10].el;
+  ref0 = int[10](x_196, x_198, x_200, x_202, x_204, x_206, x_208, x_210, x_212, x_214);
+  int x_217 = x_6.x_GLF_uniform_int_values[11].el;
+  int x_219 = x_6.x_GLF_uniform_int_values[12].el;
+  int x_221 = x_6.x_GLF_uniform_int_values[11].el;
+  int x_223 = x_6.x_GLF_uniform_int_values[5].el;
+  int x_225 = x_6.x_GLF_uniform_int_values[6].el;
+  int x_227 = x_6.x_GLF_uniform_int_values[13].el;
+  int x_229 = x_6.x_GLF_uniform_int_values[14].el;
+  int x_231 = x_6.x_GLF_uniform_int_values[11].el;
+  int x_233 = x_6.x_GLF_uniform_int_values[18].el;
+  int x_235 = x_6.x_GLF_uniform_int_values[19].el;
+  ref1 = int[10](x_217, x_219, x_221, x_223, x_225, x_227, x_229, x_231, x_233, x_235);
+  int x_238 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_241 = x_6.x_GLF_uniform_int_values[3].el;
+  int x_244 = x_6.x_GLF_uniform_int_values[3].el;
+  int x_247 = x_6.x_GLF_uniform_int_values[2].el;
+  float v = float(x_238);
+  float v_1 = float(x_241);
+  float v_2 = float(x_244);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_247));
+  int x_251 = x_6.x_GLF_uniform_int_values[3].el;
+  i = x_251;
+  {
+    while(true) {
+      bool x_277 = false;
+      bool x_278_phi = false;
+      int x_256 = i;
+      int x_258 = x_6.x_GLF_uniform_int_values[1].el;
+      if ((x_256 < x_258)) {
+      } else {
+        break;
+      }
+      int x_261 = i;
+      int x_263 = arr0[x_261];
+      int x_264 = i;
+      int x_266 = ref0[x_264];
+      bool x_267 = (x_263 != x_266);
+      x_278_phi = x_267;
+      if (!(x_267)) {
+        int x_271 = i;
+        int x_273 = arr1[x_271];
+        int x_274 = i;
+        int x_276 = ref1[x_274];
+        x_277 = (x_273 != x_276);
+        x_278_phi = x_277;
+      }
+      bool x_278 = x_278_phi;
+      if (x_278) {
+        int x_282 = x_6.x_GLF_uniform_int_values[3].el;
+        float x_283 = float(x_282);
+        x_GLF_color = vec4(x_283, x_283, x_283, x_283);
+      }
+      {
+        int x_285 = i;
+        i = (x_285 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..6ba00f0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,79 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[7];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v1 = vec4(0.0f);
+  vec4 v2 = vec4(0.0f);
+  vec4 v3 = vec4(0.0f);
+  vec4 v4 = vec4(0.0f);
+  bool x_69 = false;
+  bool x_70 = false;
+  bool x_77 = false;
+  bool x_78 = false;
+  bool x_85 = false;
+  bool x_86 = false;
+  bool x_93 = false;
+  bool x_94 = false;
+  v1 = vec4(x_6.x_GLF_uniform_float_values[2].el, x_6.x_GLF_uniform_float_values[2].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[2].el);
+  v2 = vec4(1.57079637050628662109f, 1.11976957321166992188f, 1.0f, 0.92729520797729492188f);
+  v3 = vec4(x_6.x_GLF_uniform_float_values[0].el);
+  v4 = smoothstep(v1, v2, v3);
+  x_GLF_color = v4.xywx;
+  bool x_62 = (v4.x > x_6.x_GLF_uniform_float_values[4].el);
+  x_70 = x_62;
+  if (x_62) {
+    x_69 = (v4.x < x_6.x_GLF_uniform_float_values[5].el);
+    x_70 = x_69;
+  }
+  x_78 = x_70;
+  if (x_70) {
+    x_77 = (v4.y > x_6.x_GLF_uniform_float_values[3].el);
+    x_78 = x_77;
+  }
+  x_86 = x_78;
+  if (x_78) {
+    x_85 = (v4.y < x_6.x_GLF_uniform_float_values[6].el);
+    x_86 = x_85;
+  }
+  x_94 = x_86;
+  if (x_86) {
+    x_93 = (v4.w == x_6.x_GLF_uniform_float_values[0].el);
+    x_94 = x_93;
+  }
+  if (x_94) {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el);
+  } else {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.wgsl.expected.ir.glsl
index 72ca17c..ff045d7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-asin-undefined-smoothstep/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,107 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[7];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v1 = vec4(0.0f);
+  vec4 v2 = vec4(0.0f);
+  vec4 v3 = vec4(0.0f);
+  vec4 v4 = vec4(0.0f);
+  bool x_69 = false;
+  bool x_77 = false;
+  bool x_85 = false;
+  bool x_93 = false;
+  bool x_70_phi = false;
+  bool x_78_phi = false;
+  bool x_86_phi = false;
+  bool x_94_phi = false;
+  float x_41 = x_6.x_GLF_uniform_float_values[2].el;
+  float x_43 = x_6.x_GLF_uniform_float_values[2].el;
+  float x_45 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_47 = x_6.x_GLF_uniform_float_values[2].el;
+  v1 = vec4(x_41, x_43, x_45, x_47);
+  v2 = vec4(1.57079637050628662109f, 1.11976957321166992188f, 1.0f, 0.92729520797729492188f);
+  float x_50 = x_6.x_GLF_uniform_float_values[0].el;
+  v3 = vec4(x_50, x_50, x_50, x_50);
+  vec4 x_52 = v1;
+  vec4 x_53 = v2;
+  vec4 x_54 = v3;
+  v4 = smoothstep(x_52, x_53, x_54);
+  vec4 x_56 = v4;
+  x_GLF_color = vec4(x_56[0u], x_56[1u], x_56[3u], x_56[0u]);
+  float x_59 = v4.x;
+  float x_61 = x_6.x_GLF_uniform_float_values[4].el;
+  bool x_62 = (x_59 > x_61);
+  x_70_phi = x_62;
+  if (x_62) {
+    float x_66 = v4.x;
+    float x_68 = x_6.x_GLF_uniform_float_values[5].el;
+    x_69 = (x_66 < x_68);
+    x_70_phi = x_69;
+  }
+  bool x_70 = x_70_phi;
+  x_78_phi = x_70;
+  if (x_70) {
+    float x_74 = v4.y;
+    float x_76 = x_6.x_GLF_uniform_float_values[3].el;
+    x_77 = (x_74 > x_76);
+    x_78_phi = x_77;
+  }
+  bool x_78 = x_78_phi;
+  x_86_phi = x_78;
+  if (x_78) {
+    float x_82 = v4.y;
+    float x_84 = x_6.x_GLF_uniform_float_values[6].el;
+    x_85 = (x_82 < x_84);
+    x_86_phi = x_85;
+  }
+  bool x_86 = x_86_phi;
+  x_94_phi = x_86;
+  if (x_86) {
+    float x_90 = v4.w;
+    float x_92 = x_6.x_GLF_uniform_float_values[0].el;
+    x_93 = (x_90 == x_92);
+    x_94_phi = x_93;
+  }
+  bool x_94 = x_94_phi;
+  if (x_94) {
+    float x_99 = x_6.x_GLF_uniform_float_values[0].el;
+    float x_101 = x_6.x_GLF_uniform_float_values[1].el;
+    float x_103 = x_6.x_GLF_uniform_float_values[1].el;
+    float x_105 = x_6.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_99, x_101, x_103, x_105);
+  } else {
+    float x_108 = x_6.x_GLF_uniform_float_values[1].el;
+    x_GLF_color = vec4(x_108, x_108, x_108, x_108);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.spvasm.expected.ir.glsl
index 69f590c..aacc68f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,67 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  float f = 0.0f;
+  bool x_56 = false;
+  bool x_57 = false;
+  float v_1 = float(x_6.x_GLF_uniform_int_values[0].el);
+  float v_2 = float(x_6.x_GLF_uniform_int_values[0].el);
+  v = vec4(v_1, v_2, -621.59600830078125f, float(x_6.x_GLF_uniform_int_values[0].el));
+  f = atan(trunc(v))[2u];
+  bool x_49 = (f > -(x_9.x_GLF_uniform_float_values[0].el));
+  x_57 = x_49;
+  if (x_49) {
+    x_56 = (f < -(x_9.x_GLF_uniform_float_values[1].el));
+    x_57 = x_56;
+  }
+  if (x_57) {
+    float v_3 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_4 = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_5 = float(x_6.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v_3, v_4, v_5, float(x_6.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.wgsl.expected.ir.glsl
index 72ca17c..8593d68 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-atan-trunc-vec4/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,82 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  float f = 0.0f;
+  bool x_56 = false;
+  bool x_57_phi = false;
+  int x_32 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_35 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_38 = x_6.x_GLF_uniform_int_values[0].el;
+  float v_1 = float(x_32);
+  float v_2 = float(x_35);
+  v = vec4(v_1, v_2, -621.59600830078125f, float(x_38));
+  vec4 x_41 = v;
+  f = atan(trunc(x_41))[2u];
+  float x_45 = f;
+  float x_47 = x_9.x_GLF_uniform_float_values[0].el;
+  bool x_49 = (x_45 > -(x_47));
+  x_57_phi = x_49;
+  if (x_49) {
+    float x_52 = f;
+    float x_54 = x_9.x_GLF_uniform_float_values[1].el;
+    x_56 = (x_52 < -(x_54));
+    x_57_phi = x_56;
+  }
+  bool x_57 = x_57_phi;
+  if (x_57) {
+    int x_62 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_65 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_68 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_71 = x_6.x_GLF_uniform_int_values[1].el;
+    float v_3 = float(x_62);
+    float v_4 = float(x_65);
+    float v_5 = float(x_68);
+    x_GLF_color = vec4(v_3, v_4, v_5, float(x_71));
+  } else {
+    int x_75 = x_6.x_GLF_uniform_int_values[0].el;
+    float x_76 = float(x_75);
+    x_GLF_color = vec4(x_76, x_76, x_76, x_76);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.spvasm.expected.ir.glsl
index e1168e3..9090a4c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,75 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+int func_i1_(inout int x) {
+  if ((x == 10)) {
+    continue_execution = false;
+  }
+  int x_49 = x;
+  return x_49;
+}
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int param = 0;
+  int x_35 = 0;
+  int x_37 = 0;
+  a = 0;
+  int x_33 = x_9.zero;
+  b = x_33;
+  x_35 = x_33;
+  {
+    while(true) {
+      param = x_35;
+      x_37 = func_i1_(param);
+      a = x_37;
+      int x_36 = (x_35 + 1);
+      b = x_36;
+      x_35 = x_36;
+      if ((x_36 < 4)) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  if ((x_37 == 3)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.wgsl.expected.ir.glsl
index 72ca17c..0d5a57c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-basic-block-discard-in-function/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,77 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+int func_i1_(inout int x) {
+  int x_45 = x;
+  if ((x_45 == 10)) {
+    continue_execution = false;
+  }
+  int x_49 = x;
+  return x_49;
+}
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int param = 0;
+  int x_37 = 0;
+  int x_35_phi = 0;
+  a = 0;
+  int x_33 = x_9.zero;
+  b = x_33;
+  x_35_phi = x_33;
+  {
+    while(true) {
+      int x_35 = x_35_phi;
+      param = x_35;
+      x_37 = func_i1_(param);
+      a = x_37;
+      int x_36 = (x_35 + 1);
+      b = x_36;
+      x_35_phi = x_36;
+      if ((x_36 < 4)) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  if ((x_37 == 3)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..9287fe6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,73 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_8;
+uniform buf1 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+int f1_() {
+  int a = 0;
+  int i = 0;
+  a = 256;
+  if ((tint_symbol.y > x_8.x_GLF_uniform_float_values[0].el)) {
+    a = (a + 1);
+  }
+  i = bitCount(a);
+  if ((i < x_11.x_GLF_uniform_int_values[0].el)) {
+    int x_82 = x_11.x_GLF_uniform_int_values[0].el;
+    return x_82;
+  }
+  int x_83 = i;
+  return x_83;
+}
+void main_1() {
+  int a_1 = 0;
+  int x_38 = f1_();
+  a_1 = x_38;
+  if ((a_1 == x_11.x_GLF_uniform_int_values[2].el)) {
+    float v = float(x_11.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_11.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_11.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_11.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_11.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..b140c05 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitcount/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_8;
+uniform buf1 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+int f1_() {
+  int a = 0;
+  int i = 0;
+  a = 256;
+  float x_65 = tint_symbol.y;
+  float x_67 = x_8.x_GLF_uniform_float_values[0].el;
+  if ((x_65 > x_67)) {
+    int x_71 = a;
+    a = (x_71 + 1);
+  }
+  int x_73 = a;
+  i = bitCount(x_73);
+  int x_75 = i;
+  int x_77 = x_11.x_GLF_uniform_int_values[0].el;
+  if ((x_75 < x_77)) {
+    int x_82 = x_11.x_GLF_uniform_int_values[0].el;
+    return x_82;
+  }
+  int x_83 = i;
+  return x_83;
+}
+void main_1() {
+  int a_1 = 0;
+  int x_38 = f1_();
+  a_1 = x_38;
+  int x_39 = a_1;
+  int x_41 = x_11.x_GLF_uniform_int_values[2].el;
+  if ((x_39 == x_41)) {
+    int x_47 = x_11.x_GLF_uniform_int_values[0].el;
+    int x_50 = x_11.x_GLF_uniform_int_values[1].el;
+    int x_53 = x_11.x_GLF_uniform_int_values[1].el;
+    int x_56 = x_11.x_GLF_uniform_int_values[0].el;
+    float v = float(x_47);
+    float v_1 = float(x_50);
+    float v_2 = float(x_53);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_56));
+  } else {
+    int x_60 = x_11.x_GLF_uniform_int_values[1].el;
+    float x_61 = float(x_60);
+    x_GLF_color = vec4(x_61, x_61, x_61, x_61);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.ir.glsl
index d4bb1c9..fa3f656 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.spvasm.expected.ir.glsl
@@ -1,11 +1,71 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x_28 = 0;
+  int x_31 = 0;
+  int x_29 = 0;
+  int x_42 = 0;
+  int x_24 = (-2147483647 - 1);
+  x_28 = x_5.x_GLF_uniform_int_values[3].el;
+  x_31 = 1;
+  {
+    while(true) {
+      int x_32 = 0;
+      x_42 = x_28;
+      if ((x_31 <= (x_24 - 1))) {
+      } else {
+        break;
+      }
+      x_29 = (x_28 + x_31);
+      if ((x_5.x_GLF_uniform_int_values[0].el == 1)) {
+        x_42 = x_29;
+        break;
+      }
+      {
+        x_32 = (x_31 + 1);
+        x_28 = x_29;
+        x_31 = x_32;
+      }
+      continue;
+    }
+  }
+  if ((x_42 == x_5.x_GLF_uniform_int_values[2].el)) {
+    float x_51 = float(x_5.x_GLF_uniform_int_values[0].el);
+    float x_54 = float(x_5.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(x_51, x_54, x_54, x_51);
+  } else {
+    x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitfieldreverse-loop-limit-underflow/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.spvasm.expected.ir.glsl
index e1168e3..f88a90d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,66 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf2 {
+  float zero;
+};
+
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf2 x_6;
+uniform buf0 x_8;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int x_32 = 0;
+  if ((x_6.zero < x_8.x_GLF_uniform_float_values[0].el)) {
+    x_32 = x_10.x_GLF_uniform_int_values[1].el;
+  } else {
+    x_32 = x_10.x_GLF_uniform_int_values[0].el;
+  }
+  a = ~((x_32 | 1));
+  if ((a == ~(x_10.x_GLF_uniform_int_values[0].el))) {
+    float v = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_10.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2c63e51 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-bitwise-inverse-uniform-condition/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,79 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf2 {
+  float zero;
+};
+
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf2 x_6;
+uniform buf0 x_8;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int x_32 = 0;
+  float x_34 = x_6.zero;
+  float x_36 = x_8.x_GLF_uniform_float_values[0].el;
+  if ((x_34 < x_36)) {
+    int x_42 = x_10.x_GLF_uniform_int_values[1].el;
+    x_32 = x_42;
+  } else {
+    int x_44 = x_10.x_GLF_uniform_int_values[0].el;
+    x_32 = x_44;
+  }
+  int x_45 = x_32;
+  a = ~((x_45 | 1));
+  int x_48 = a;
+  int x_50 = x_10.x_GLF_uniform_int_values[0].el;
+  if ((x_48 == ~(x_50))) {
+    int x_57 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_60 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_63 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_66 = x_10.x_GLF_uniform_int_values[0].el;
+    float v = float(x_57);
+    float v_1 = float(x_60);
+    float v_2 = float(x_63);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_66));
+  } else {
+    int x_70 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_71 = float(x_70);
+    x_GLF_color = vec4(x_71, x_71, x_71, x_71);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..0312e51 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,167 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 c = vec4(0.0f);
+  int a = 0;
+  int i1 = 0;
+  int i2 = 0;
+  int i3 = 0;
+  int i4 = 0;
+  int i5 = 0;
+  int i6 = 0;
+  int i7 = 0;
+  int i8_1 = 0;
+  c = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  a = 0;
+  {
+    while(true) {
+      {
+        while(true) {
+          int x_46 = a;
+          c[x_46] = 1.0f;
+          i1 = 0;
+          {
+            while(true) {
+              if ((i1 < 1)) {
+              } else {
+                break;
+              }
+              i2 = 0;
+              {
+                while(true) {
+                  if ((i2 < 1)) {
+                  } else {
+                    break;
+                  }
+                  i3 = 0;
+                  {
+                    while(true) {
+                      if ((i3 < 1)) {
+                      } else {
+                        break;
+                      }
+                      i4 = 0;
+                      {
+                        while(true) {
+                          if ((i4 < 1)) {
+                          } else {
+                            break;
+                          }
+                          i5 = 0;
+                          {
+                            while(true) {
+                              if ((i5 < 1)) {
+                              } else {
+                                break;
+                              }
+                              i6 = 0;
+                              {
+                                while(true) {
+                                  if ((i6 < 1)) {
+                                  } else {
+                                    break;
+                                  }
+                                  i7 = 0;
+                                  {
+                                    while(true) {
+                                      if ((i7 < 1)) {
+                                      } else {
+                                        break;
+                                      }
+                                      i8_1 = 0;
+                                      {
+                                        while(true) {
+                                          if ((i8_1 < 17)) {
+                                          } else {
+                                            break;
+                                          }
+                                          a = (a + 1);
+                                          {
+                                            i8_1 = (i8_1 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        i7 = (i7 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    i6 = (i6 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                i5 = (i5 + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            i4 = (i4 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        i3 = (i3 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    i2 = (i2 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                i1 = (i1 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            float x_123 = tint_symbol.x;
+            if (!((x_123 < -1.0f))) { break; }
+          }
+          continue;
+        }
+      }
+      {
+        float x_126 = tint_symbol.y;
+        if (!((x_126 < -1.0f))) { break; }
+      }
+      continue;
+    }
+  }
+  x_GLF_color = c;
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..ad671b1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-blockfrequency-several-for-loops/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,185 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 c = vec4(0.0f);
+  int a = 0;
+  int i1 = 0;
+  int i2 = 0;
+  int i3 = 0;
+  int i4 = 0;
+  int i5 = 0;
+  int i6 = 0;
+  int i7 = 0;
+  int i8_1 = 0;
+  c = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  a = 0;
+  {
+    while(true) {
+      {
+        while(true) {
+          int x_46 = a;
+          c[x_46] = 1.0f;
+          i1 = 0;
+          {
+            while(true) {
+              int x_52 = i1;
+              if ((x_52 < 1)) {
+              } else {
+                break;
+              }
+              i2 = 0;
+              {
+                while(true) {
+                  int x_59 = i2;
+                  if ((x_59 < 1)) {
+                  } else {
+                    break;
+                  }
+                  i3 = 0;
+                  {
+                    while(true) {
+                      int x_66 = i3;
+                      if ((x_66 < 1)) {
+                      } else {
+                        break;
+                      }
+                      i4 = 0;
+                      {
+                        while(true) {
+                          int x_73 = i4;
+                          if ((x_73 < 1)) {
+                          } else {
+                            break;
+                          }
+                          i5 = 0;
+                          {
+                            while(true) {
+                              int x_80 = i5;
+                              if ((x_80 < 1)) {
+                              } else {
+                                break;
+                              }
+                              i6 = 0;
+                              {
+                                while(true) {
+                                  int x_87 = i6;
+                                  if ((x_87 < 1)) {
+                                  } else {
+                                    break;
+                                  }
+                                  i7 = 0;
+                                  {
+                                    while(true) {
+                                      int x_94 = i7;
+                                      if ((x_94 < 1)) {
+                                      } else {
+                                        break;
+                                      }
+                                      i8_1 = 0;
+                                      {
+                                        while(true) {
+                                          int x_101 = i8_1;
+                                          if ((x_101 < 17)) {
+                                          } else {
+                                            break;
+                                          }
+                                          int x_104 = a;
+                                          a = (x_104 + 1);
+                                          {
+                                            int x_106 = i8_1;
+                                            i8_1 = (x_106 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        int x_108 = i7;
+                                        i7 = (x_108 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    int x_110 = i6;
+                                    i6 = (x_110 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                int x_112 = i5;
+                                i5 = (x_112 + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            int x_114 = i4;
+                            i4 = (x_114 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        int x_116 = i3;
+                        i3 = (x_116 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    int x_118 = i2;
+                    i2 = (x_118 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                int x_120 = i1;
+                i1 = (x_120 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            float x_123 = tint_symbol.x;
+            if (!((x_123 < -1.0f))) { break; }
+          }
+          continue;
+        }
+      }
+      {
+        float x_126 = tint_symbol.y;
+        if (!((x_126 < -1.0f))) { break; }
+      }
+      continue;
+    }
+  }
+  vec4 x_128 = c;
+  x_GLF_color = x_128;
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.spvasm.expected.ir.glsl
index 72ca17c..3a7b27a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,138 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float sums[2] = float[2](0.0f, 0.0f);
+  int a = 0;
+  int b = 0;
+  int c = 0;
+  int d = 0;
+  mat2 indexable = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 indexable_1 = mat2(vec2(0.0f), vec2(0.0f));
+  bool x_158 = false;
+  bool x_159 = false;
+  int x_16 = x_6.x_GLF_uniform_int_values[1].el;
+  sums[x_16] = -(x_8.x_GLF_uniform_float_values[0].el);
+  int x_18 = x_6.x_GLF_uniform_int_values[2].el;
+  sums[x_18] = -(x_8.x_GLF_uniform_float_values[0].el);
+  a = x_6.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((a < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      b = x_6.x_GLF_uniform_int_values[1].el;
+      {
+        while(true) {
+          if ((b < x_6.x_GLF_uniform_int_values[3].el)) {
+          } else {
+            break;
+          }
+          c = x_6.x_GLF_uniform_int_values[1].el;
+          {
+            while(true) {
+              if ((c <= a)) {
+              } else {
+                break;
+              }
+              d = x_6.x_GLF_uniform_int_values[1].el;
+              {
+                while(true) {
+                  if ((d < x_6.x_GLF_uniform_int_values[3].el)) {
+                  } else {
+                    break;
+                  }
+                  int x_31 = a;
+                  float x_125 = float(x_6.x_GLF_uniform_int_values[2].el);
+                  int x_33 = c;
+                  int x_34 = x_6.x_GLF_uniform_int_values[2].el;
+                  vec2 v = vec2(x_125, 0.0f);
+                  indexable = mat2(v, vec2(0.0f, x_125));
+                  sums[x_31] = indexable[x_33][x_34];
+                  int x_35 = a;
+                  float x_134 = float(x_6.x_GLF_uniform_int_values[2].el);
+                  int x_37 = c;
+                  int x_38 = x_6.x_GLF_uniform_int_values[2].el;
+                  vec2 v_1 = vec2(x_134, 0.0f);
+                  indexable_1 = mat2(v_1, vec2(0.0f, x_134));
+                  sums[x_35] = (sums[x_35] + indexable_1[x_37][x_38]);
+                  {
+                    d = (d + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                c = (c + 1);
+              }
+              continue;
+            }
+          }
+          {
+            b = (b + 1);
+          }
+          continue;
+        }
+      }
+      {
+        a = (a + 1);
+      }
+      continue;
+    }
+  }
+  bool x_150 = (sums[x_6.x_GLF_uniform_int_values[1].el] == x_8.x_GLF_uniform_float_values[1].el);
+  x_159 = x_150;
+  if (x_150) {
+    x_158 = (sums[x_6.x_GLF_uniform_int_values[2].el] == x_8.x_GLF_uniform_float_values[2].el);
+    x_159 = x_158;
+  }
+  if (x_159) {
+    float v_2 = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_3 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_4 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_2, v_3, v_4, float(x_6.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.wgsl.expected.ir.glsl
index 72ca17c..586a865 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-branch-probability-identity-matrix/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,174 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float sums[2] = float[2](0.0f, 0.0f);
+  int a = 0;
+  int b = 0;
+  int c = 0;
+  int d = 0;
+  mat2 indexable = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 indexable_1 = mat2(vec2(0.0f), vec2(0.0f));
+  bool x_158 = false;
+  bool x_159_phi = false;
+  int x_16 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_85 = x_8.x_GLF_uniform_float_values[0].el;
+  sums[x_16] = -(x_85);
+  int x_18 = x_6.x_GLF_uniform_int_values[2].el;
+  float x_90 = x_8.x_GLF_uniform_float_values[0].el;
+  sums[x_18] = -(x_90);
+  int x_19 = x_6.x_GLF_uniform_int_values[1].el;
+  a = x_19;
+  {
+    while(true) {
+      int x_20 = a;
+      int x_21 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_20 < x_21)) {
+      } else {
+        break;
+      }
+      int x_22 = x_6.x_GLF_uniform_int_values[1].el;
+      b = x_22;
+      {
+        while(true) {
+          int x_23 = b;
+          int x_24 = x_6.x_GLF_uniform_int_values[3].el;
+          if ((x_23 < x_24)) {
+          } else {
+            break;
+          }
+          int x_25 = x_6.x_GLF_uniform_int_values[1].el;
+          c = x_25;
+          {
+            while(true) {
+              int x_26 = c;
+              int x_27 = a;
+              if ((x_26 <= x_27)) {
+              } else {
+                break;
+              }
+              int x_28 = x_6.x_GLF_uniform_int_values[1].el;
+              d = x_28;
+              {
+                while(true) {
+                  int x_29 = d;
+                  int x_30 = x_6.x_GLF_uniform_int_values[3].el;
+                  if ((x_29 < x_30)) {
+                  } else {
+                    break;
+                  }
+                  int x_31 = a;
+                  int x_32 = x_6.x_GLF_uniform_int_values[2].el;
+                  float x_125 = float(x_32);
+                  int x_33 = c;
+                  int x_34 = x_6.x_GLF_uniform_int_values[2].el;
+                  vec2 v = vec2(x_125, 0.0f);
+                  indexable = mat2(v, vec2(0.0f, x_125));
+                  float x_131 = indexable[x_33][x_34];
+                  sums[x_31] = x_131;
+                  int x_35 = a;
+                  int x_36 = x_6.x_GLF_uniform_int_values[2].el;
+                  float x_134 = float(x_36);
+                  int x_37 = c;
+                  int x_38 = x_6.x_GLF_uniform_int_values[2].el;
+                  vec2 v_1 = vec2(x_134, 0.0f);
+                  indexable_1 = mat2(v_1, vec2(0.0f, x_134));
+                  float x_140 = indexable_1[x_37][x_38];
+                  float x_142 = sums[x_35];
+                  sums[x_35] = (x_142 + x_140);
+                  {
+                    int x_39 = d;
+                    d = (x_39 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                int x_41 = c;
+                c = (x_41 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            int x_43 = b;
+            b = (x_43 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_45 = a;
+        a = (x_45 + 1);
+      }
+      continue;
+    }
+  }
+  int x_47 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_147 = sums[x_47];
+  float x_149 = x_8.x_GLF_uniform_float_values[1].el;
+  bool x_150 = (x_147 == x_149);
+  x_159_phi = x_150;
+  if (x_150) {
+    int x_48 = x_6.x_GLF_uniform_int_values[2].el;
+    float x_155 = sums[x_48];
+    float x_157 = x_8.x_GLF_uniform_float_values[2].el;
+    x_158 = (x_155 == x_157);
+    x_159_phi = x_158;
+  }
+  bool x_159 = x_159_phi;
+  if (x_159) {
+    int x_49 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_50 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_51 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_52 = x_6.x_GLF_uniform_int_values[2].el;
+    float v_2 = float(x_49);
+    float v_3 = float(x_50);
+    float v_4 = float(x_51);
+    x_GLF_color = vec4(v_2, v_3, v_4, float(x_52));
+  } else {
+    int x_53 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_173 = float(x_53);
+    x_GLF_color = vec4(x_173, x_173, x_173, x_173);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cast-float-to-int-and-back/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cast-float-to-int-and-back/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cast-float-to-int-and-back/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-cast-float-to-int-and-back/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cast-float-to-int-and-back/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cast-float-to-int-and-back/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cast-float-to-int-and-back/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-cast-float-to-int-and-back/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..bd44789 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,78 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float sums[3] = float[3](0.0f, 0.0f, 0.0f);
+  int i = 0;
+  mat2x4 indexable = mat2x4(vec4(0.0f), vec4(0.0f));
+  sums = float[3](x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el);
+  i = 0;
+  {
+    while(true) {
+      int v = i;
+      if ((v < min(max(x_9.x_GLF_uniform_int_values[0].el, x_9.x_GLF_uniform_int_values[0].el), 2))) {
+      } else {
+        break;
+      }
+      int x_59 = x_9.x_GLF_uniform_int_values[2].el;
+      float x_61 = x_6.x_GLF_uniform_float_values[0].el;
+      int x_65 = i;
+      int x_67 = x_9.x_GLF_uniform_int_values[1].el;
+      vec4 v_1 = vec4(x_61, 0.0f, 0.0f, 0.0f);
+      indexable = mat2x4(v_1, vec4(0.0f, x_61, 0.0f, 0.0f));
+      sums[x_59] = (sums[x_59] + indexable[x_65][x_67]);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((sums[x_9.x_GLF_uniform_int_values[2].el] == x_6.x_GLF_uniform_float_values[1].el)) {
+    float v_2 = float(x_9.x_GLF_uniform_int_values[0].el);
+    float v_3 = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_4 = float(x_9.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_2, v_3, v_4, float(x_9.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.wgsl.expected.ir.glsl
index 72ca17c..43832ff 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-loop-limit-increment-float-array/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,95 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float sums[3] = float[3](0.0f, 0.0f, 0.0f);
+  int i = 0;
+  mat2x4 indexable = mat2x4(vec4(0.0f), vec4(0.0f));
+  float x_40 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_42 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_44 = x_6.x_GLF_uniform_float_values[0].el;
+  sums = float[3](x_40, x_42, x_44);
+  i = 0;
+  {
+    while(true) {
+      int x_50 = i;
+      int x_52 = x_9.x_GLF_uniform_int_values[0].el;
+      int x_54 = x_9.x_GLF_uniform_int_values[0].el;
+      if ((x_50 < min(max(x_52, x_54), 2))) {
+      } else {
+        break;
+      }
+      int x_59 = x_9.x_GLF_uniform_int_values[2].el;
+      float x_61 = x_6.x_GLF_uniform_float_values[0].el;
+      int x_65 = i;
+      int x_67 = x_9.x_GLF_uniform_int_values[1].el;
+      vec4 v = vec4(x_61, 0.0f, 0.0f, 0.0f);
+      indexable = mat2x4(v, vec4(0.0f, x_61, 0.0f, 0.0f));
+      float x_69 = indexable[x_65][x_67];
+      float x_71 = sums[x_59];
+      sums[x_59] = (x_71 + x_69);
+      {
+        int x_74 = i;
+        i = (x_74 + 1);
+      }
+      continue;
+    }
+  }
+  int x_77 = x_9.x_GLF_uniform_int_values[2].el;
+  float x_79 = sums[x_77];
+  float x_81 = x_6.x_GLF_uniform_float_values[1].el;
+  if ((x_79 == x_81)) {
+    int x_87 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_90 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_93 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_96 = x_9.x_GLF_uniform_int_values[0].el;
+    float v_1 = float(x_87);
+    float v_2 = float(x_90);
+    float v_3 = float(x_93);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_96));
+  } else {
+    int x_100 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_101 = float(x_100);
+    x_GLF_color = vec4(x_101, x_101, x_101, x_101);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-lower-limit-from-always-false/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-lower-limit-from-always-false/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-lower-limit-from-always-false/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-lower-limit-from-always-false/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-lower-limit-from-always-false/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-lower-limit-from-always-false/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-lower-limit-from-always-false/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-lower-limit-from-always-false/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-component-condition-using-matrix/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-component-condition-using-matrix/0-opt.spvasm.expected.ir.glsl
index 69f590c..1f3658c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-component-condition-using-matrix/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-component-condition-using-matrix/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,84 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  int i = 0;
+  float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_6.x_GLF_uniform_int_values[2].el);
+  float v_3 = float(x_6.x_GLF_uniform_int_values[3].el);
+  v = vec4(v_1, v_2, v_3, float(x_6.x_GLF_uniform_int_values[0].el));
+  i = x_6.x_GLF_uniform_int_values[4].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      vec4 v_4 = vec4(v.x, v.y, v.z, v.w);
+      vec4 v_5 = vec4(v.x, v.y, v.z, v.w);
+      vec4 v_6 = vec4(v.x, v.y, v.z, v.w);
+      mat4 v_7 = mat4(v_4, v_5, v_6, vec4(v.x, v.y, v.z, v.w));
+      if ((v_7[0u][i] > x_9.x_GLF_uniform_float_values[0].el)) {
+        int x_96 = i;
+        vec4 v_8 = v;
+        vec4 v_9 = vec4(x_9.x_GLF_uniform_float_values[1].el);
+        vec4 v_10 = clamp(v_8, v_9, vec4(x_9.x_GLF_uniform_float_values[0].el));
+        v[x_96] = v_10[x_6.x_GLF_uniform_int_values[1].el];
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  vec4 v_11 = v;
+  if (all((v_11 == vec4(float(x_6.x_GLF_uniform_int_values[1].el))))) {
+    float v_12 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_13 = float(x_6.x_GLF_uniform_int_values[4].el);
+    float v_14 = float(x_6.x_GLF_uniform_int_values[4].el);
+    x_GLF_color = vec4(v_12, v_13, v_14, float(x_6.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[4].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-component-condition-using-matrix/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-component-condition-using-matrix/0-opt.wgsl.expected.ir.glsl
index 72ca17c..14e2975 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-component-condition-using-matrix/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-component-condition-using-matrix/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,107 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  int i = 0;
+  int x_40 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_43 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_46 = x_6.x_GLF_uniform_int_values[3].el;
+  int x_49 = x_6.x_GLF_uniform_int_values[0].el;
+  float v_1 = float(x_40);
+  float v_2 = float(x_43);
+  float v_3 = float(x_46);
+  v = vec4(v_1, v_2, v_3, float(x_49));
+  int x_53 = x_6.x_GLF_uniform_int_values[4].el;
+  i = x_53;
+  {
+    while(true) {
+      int x_58 = i;
+      int x_60 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_58 < x_60)) {
+      } else {
+        break;
+      }
+      vec4 x_63 = v;
+      vec4 x_64 = v;
+      vec4 x_65 = v;
+      vec4 x_66 = v;
+      int x_88 = i;
+      float x_92 = x_9.x_GLF_uniform_float_values[0].el;
+      vec4 v_4 = vec4(x_63[0u], x_63[1u], x_63[2u], x_63[3u]);
+      vec4 v_5 = vec4(x_64[0u], x_64[1u], x_64[2u], x_64[3u]);
+      vec4 v_6 = vec4(x_65[0u], x_65[1u], x_65[2u], x_65[3u]);
+      if ((mat4(v_4, v_5, v_6, vec4(x_66[0u], x_66[1u], x_66[2u], x_66[3u]))[0u][x_88] > x_92)) {
+        int x_96 = i;
+        vec4 x_97 = v;
+        float x_99 = x_9.x_GLF_uniform_float_values[1].el;
+        float x_102 = x_9.x_GLF_uniform_float_values[0].el;
+        int x_106 = x_6.x_GLF_uniform_int_values[1].el;
+        vec4 v_7 = vec4(x_99, x_99, x_99, x_99);
+        v[x_96] = clamp(x_97, v_7, vec4(x_102, x_102, x_102, x_102))[x_106];
+      }
+      {
+        int x_109 = i;
+        i = (x_109 + 1);
+      }
+      continue;
+    }
+  }
+  vec4 x_111 = v;
+  int x_113 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_114 = float(x_113);
+  if (all((x_111 == vec4(x_114, x_114, x_114, x_114)))) {
+    int x_122 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_125 = x_6.x_GLF_uniform_int_values[4].el;
+    int x_128 = x_6.x_GLF_uniform_int_values[4].el;
+    int x_131 = x_6.x_GLF_uniform_int_values[1].el;
+    float v_8 = float(x_122);
+    float v_9 = float(x_125);
+    float v_10 = float(x_128);
+    x_GLF_color = vec4(v_8, v_9, v_10, float(x_131));
+  } else {
+    int x_135 = x_6.x_GLF_uniform_int_values[4].el;
+    float x_136 = float(x_135);
+    x_GLF_color = vec4(x_136, x_136, x_136, x_136);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..7cac0d6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,58 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_9;
+void main_1() {
+  vec2 v0 = vec2(0.0f);
+  vec2 v1 = vec2(0.0f);
+  v0 = vec2(x_6.x_GLF_uniform_float_values[1].el, -580.0150146484375f);
+  vec2 v = ceil(v0);
+  v1 = clamp(v, vec2(-(x_6.x_GLF_uniform_float_values[0].el)), vec2(100.0f));
+  if ((v1.y == -(x_6.x_GLF_uniform_float_values[0].el))) {
+    float v_1 = float(x_9.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_3 = float(x_9.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_9.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.wgsl.expected.ir.glsl
index 72ca17c..c96308a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-element-ceil-negative/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,70 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_9;
+void main_1() {
+  vec2 v0 = vec2(0.0f);
+  vec2 v1 = vec2(0.0f);
+  float x_36 = x_6.x_GLF_uniform_float_values[1].el;
+  v0 = vec2(x_36, -580.0150146484375f);
+  vec2 x_38 = v0;
+  float x_41 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_42 = -(x_41);
+  vec2 v = ceil(x_38);
+  v1 = clamp(v, vec2(x_42, x_42), vec2(100.0f));
+  float x_46 = v1.y;
+  float x_48 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_46 == -(x_48))) {
+    int x_55 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_58 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_61 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_64 = x_9.x_GLF_uniform_int_values[0].el;
+    float v_1 = float(x_55);
+    float v_2 = float(x_58);
+    float v_3 = float(x_61);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_64));
+  } else {
+    int x_68 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_69 = float(x_68);
+    x_GLF_color = vec4(x_69, x_69, x_69, x_69);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-variable-negative-offset/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-variable-negative-offset/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4e31885 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-variable-negative-offset/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-variable-negative-offset/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,59 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_9;
+void main_1() {
+  vec2 v0 = vec2(0.0f);
+  vec2 v1 = vec2(0.0f);
+  v0 = vec2(x_6.x_GLF_uniform_float_values[2].el, 3.79999995231628417969f);
+  vec2 v = (v0 - vec2(1.0f));
+  v1 = clamp(v, vec2(0.0f), vec2(x_6.x_GLF_uniform_float_values[1].el));
+  vec2 v_1 = v1;
+  if (all((v_1 == vec2(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el)))) {
+    float v_2 = float(x_9.x_GLF_uniform_int_values[0].el);
+    float v_3 = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_4 = float(x_9.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_2, v_3, v_4, float(x_9.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-variable-negative-offset/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-variable-negative-offset/0-opt.wgsl.expected.ir.glsl
index 72ca17c..90110d2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-variable-negative-offset/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clamp-vector-variable-negative-offset/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,69 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_9;
+void main_1() {
+  vec2 v0 = vec2(0.0f);
+  vec2 v1 = vec2(0.0f);
+  float x_37 = x_6.x_GLF_uniform_float_values[2].el;
+  v0 = vec2(x_37, 3.79999995231628417969f);
+  vec2 x_39 = v0;
+  float x_43 = x_6.x_GLF_uniform_float_values[1].el;
+  v1 = clamp((x_39 - vec2(1.0f)), vec2(0.0f), vec2(x_43, x_43));
+  vec2 x_47 = v1;
+  float x_49 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_51 = x_6.x_GLF_uniform_float_values[1].el;
+  if (all((x_47 == vec2(x_49, x_51)))) {
+    int x_59 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_62 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_65 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_68 = x_9.x_GLF_uniform_int_values[0].el;
+    float v = float(x_59);
+    float v_1 = float(x_62);
+    float v_2 = float(x_65);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_68));
+  } else {
+    int x_72 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_73 = float(x_72);
+    x_GLF_color = vec4(x_73, x_73, x_73, x_73);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..9910f0b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,62 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct buf1 {
+  float zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  vec2 v0 = vec2(0.0f);
+  vec4 v1 = vec4(0.0f);
+  vec4 x_57 = vec4(0.0f);
+  v0 = vec2(x_6.x_GLF_uniform_float_values[0].el);
+  vec4 x_36 = vec4(v0.x);
+  v1 = x_36;
+  if (!((x_9.zero == x_6.x_GLF_uniform_float_values[0].el))) {
+    if ((x_9.zero == x_6.x_GLF_uniform_float_values[1].el)) {
+      return;
+    }
+    x_57 = vec4(x_36[0u], (x_36.yz - vec2(x_6.x_GLF_uniform_float_values[0].el)).xy, x_36[3u]);
+    v1 = x_57;
+  } else {
+    continue_execution = false;
+  }
+  x_GLF_color = x_57;
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.wgsl.expected.ir.glsl
index 72ca17c..3769591 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-clear-yz-inside-condition/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,71 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct buf1 {
+  float zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  vec2 v0 = vec2(0.0f);
+  vec4 v1 = vec4(0.0f);
+  vec4 x_57 = vec4(0.0f);
+  float x_32 = x_6.x_GLF_uniform_float_values[0].el;
+  v0 = vec2(x_32, x_32);
+  float x_35 = v0.x;
+  vec4 x_36 = vec4(x_35, x_35, x_35, x_35);
+  v1 = x_36;
+  float x_38 = x_9.zero;
+  float x_40 = x_6.x_GLF_uniform_float_values[0].el;
+  if (!((x_38 == x_40))) {
+    float x_46 = x_9.zero;
+    float x_48 = x_6.x_GLF_uniform_float_values[1].el;
+    if ((x_46 == x_48)) {
+      return;
+    }
+    float x_53 = x_6.x_GLF_uniform_float_values[0].el;
+    vec2 v = vec2(x_36[1u], x_36[2u]);
+    vec2 x_56 = (v - vec2(x_53, x_53));
+    x_57 = vec4(x_36[0u], x_56[0u], x_56[1u], x_36[3u]);
+    v1 = x_57;
+  } else {
+    continue_execution = false;
+  }
+  x_GLF_color = x_57;
+}
+main_out main() {
+  main_1();
+  main_out v_1 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_1;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.ir.glsl
index e1168e3..d8a9027 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,131 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf2 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct buf3 {
+  int three;
+};
+
+struct strided_arr_2 {
+  uint el;
+};
+
+struct buf0 {
+  strided_arr_2 x_GLF_uniform_uint_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf2 x_12;
+uniform buf3 x_14;
+uniform buf0 x_16;
+void func0_() {
+  vec4 tmp = vec4(0.0f);
+  if ((tint_symbol.x > x_8.x_GLF_uniform_float_values[1].el)) {
+    tmp = x_GLF_color;
+  }
+  x_GLF_color = tmp;
+}
+int func1_() {
+  int a = 0;
+  a = x_12.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((a < x_12.x_GLF_uniform_int_values[3].el)) {
+      } else {
+        break;
+      }
+      if ((x_14.three > x_12.x_GLF_uniform_int_values[1].el)) {
+        func0_();
+        a = x_12.x_GLF_uniform_int_values[3].el;
+      } else {
+        func0_();
+      }
+      {
+      }
+      continue;
+    }
+  }
+  int x_144 = a;
+  return x_144;
+}
+void main_1() {
+  int a_1 = 0;
+  int i = 0;
+  int j = 0;
+  if ((tint_symbol.x > x_8.x_GLF_uniform_float_values[1].el)) {
+    x_GLF_color = vec4(x_8.x_GLF_uniform_float_values[0].el, x_8.x_GLF_uniform_float_values[1].el, x_8.x_GLF_uniform_float_values[0].el, x_8.x_GLF_uniform_float_values[2].el);
+  } else {
+    x_GLF_color = unpackSnorm4x8(x_16.x_GLF_uniform_uint_values[0].el);
+  }
+  a_1 = x_12.x_GLF_uniform_int_values[2].el;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 5)) {
+      } else {
+        break;
+      }
+      j = 0;
+      {
+        while(true) {
+          if ((j < 2)) {
+          } else {
+            break;
+          }
+          int x_91 = func1_();
+          a_1 = (a_1 + x_91);
+          {
+            j = (j + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a_1 == x_12.x_GLF_uniform_int_values[0].el)) {
+    x_GLF_color[2u] = (x_GLF_color.z - x_8.x_GLF_uniform_float_values[0].el);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..3ba2def 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-output-undefined-in-unexecuted-branch/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,158 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf2 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct buf3 {
+  int three;
+};
+
+struct strided_arr_2 {
+  uint el;
+};
+
+struct buf0 {
+  strided_arr_2 x_GLF_uniform_uint_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf2 x_12;
+uniform buf3 x_14;
+uniform buf0 x_16;
+void func0_() {
+  vec4 tmp = vec4(0.0f);
+  float x_112 = tint_symbol.x;
+  float x_114 = x_8.x_GLF_uniform_float_values[1].el;
+  if ((x_112 > x_114)) {
+    vec4 x_118 = x_GLF_color;
+    tmp = x_118;
+  }
+  vec4 x_119 = tmp;
+  x_GLF_color = x_119;
+}
+int func1_() {
+  int a = 0;
+  int x_122 = x_12.x_GLF_uniform_int_values[1].el;
+  a = x_122;
+  {
+    while(true) {
+      int x_127 = a;
+      int x_129 = x_12.x_GLF_uniform_int_values[3].el;
+      if ((x_127 < x_129)) {
+      } else {
+        break;
+      }
+      int x_133 = x_14.three;
+      int x_135 = x_12.x_GLF_uniform_int_values[1].el;
+      if ((x_133 > x_135)) {
+        func0_();
+        int x_142 = x_12.x_GLF_uniform_int_values[3].el;
+        a = x_142;
+      } else {
+        func0_();
+      }
+      {
+      }
+      continue;
+    }
+  }
+  int x_144 = a;
+  return x_144;
+}
+void main_1() {
+  int a_1 = 0;
+  int i = 0;
+  int j = 0;
+  float x_56 = tint_symbol.x;
+  float x_58 = x_8.x_GLF_uniform_float_values[1].el;
+  if ((x_56 > x_58)) {
+    float x_64 = x_8.x_GLF_uniform_float_values[0].el;
+    float x_66 = x_8.x_GLF_uniform_float_values[1].el;
+    float x_68 = x_8.x_GLF_uniform_float_values[0].el;
+    float x_70 = x_8.x_GLF_uniform_float_values[2].el;
+    x_GLF_color = vec4(x_64, x_66, x_68, x_70);
+  } else {
+    uint x_73 = x_16.x_GLF_uniform_uint_values[0].el;
+    x_GLF_color = unpackSnorm4x8(x_73);
+  }
+  int x_76 = x_12.x_GLF_uniform_int_values[2].el;
+  a_1 = x_76;
+  i = 0;
+  {
+    while(true) {
+      int x_81 = i;
+      if ((x_81 < 5)) {
+      } else {
+        break;
+      }
+      j = 0;
+      {
+        while(true) {
+          int x_88 = j;
+          if ((x_88 < 2)) {
+          } else {
+            break;
+          }
+          int x_91 = func1_();
+          int x_92 = a_1;
+          a_1 = (x_92 + x_91);
+          {
+            int x_94 = j;
+            j = (x_94 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_96 = i;
+        i = (x_96 + 1);
+      }
+      continue;
+    }
+  }
+  int x_98 = a_1;
+  int x_100 = x_12.x_GLF_uniform_int_values[0].el;
+  if ((x_98 == x_100)) {
+    float x_105 = x_8.x_GLF_uniform_float_values[0].el;
+    float x_107 = x_GLF_color.z;
+    x_GLF_color[2u] = (x_107 - x_105);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.spvasm.expected.ir.glsl
index 72ca17c..c0e63e0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_35 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((tint_symbol.x > x_35)) {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[2].el);
+    if ((tint_symbol.y > x_35)) {
+      x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[4].el);
+    }
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[3].el);
+  }
+  float x_54 = x_6.x_GLF_uniform_float_values[1].el;
+  x_GLF_color = vec4(x_35, x_54, x_54, 10.0f);
+  vec4 v = vec4(x_35, 0.0f, 0.0f, 0.0f);
+  vec4 v_1 = vec4(0.0f, x_35, 0.0f, 0.0f);
+  vec4 v_2 = vec4(0.0f, 0.0f, x_35, 0.0f);
+  mat4 v_3 = mat4(v, v_1, v_2, vec4(0.0f, 0.0f, 0.0f, x_35));
+  x_GLF_color = (v_3 * x_GLF_color);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.wgsl.expected.ir.glsl
index 4a20bc7..846c12f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-color-overwrite-identity-matrix-multiply/0.wgsl.expected.ir.glsl
@@ -1,11 +1,58 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_33 = tint_symbol.x;
+  float x_35 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_33 > x_35)) {
+    float x_40 = x_6.x_GLF_uniform_float_values[2].el;
+    x_GLF_color = vec4(x_40, x_40, x_40, x_40);
+    float x_43 = tint_symbol.y;
+    if ((x_43 > x_35)) {
+      float x_48 = x_6.x_GLF_uniform_float_values[4].el;
+      x_GLF_color = vec4(x_48, x_48, x_48, x_48);
+    }
+    float x_51 = x_6.x_GLF_uniform_float_values[3].el;
+    x_GLF_color = vec4(x_51, x_51, x_51, x_51);
+  }
+  float x_54 = x_6.x_GLF_uniform_float_values[1].el;
+  x_GLF_color = vec4(x_35, x_54, x_54, 10.0f);
+  vec4 x_61 = x_GLF_color;
+  vec4 v = vec4(x_35, 0.0f, 0.0f, 0.0f);
+  vec4 v_1 = vec4(0.0f, x_35, 0.0f, 0.0f);
+  vec4 v_2 = vec4(0.0f, 0.0f, x_35, 0.0f);
+  x_GLF_color = (mat4(v, v_1, v_2, vec4(0.0f, 0.0f, 0.0f, x_35)) * x_61);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..a00a347 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 v1;
+};
+
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_8;
+void main_1() {
+  bool b = false;
+  b = true;
+  if ((x_6.v1.x > x_6.v1.y)) {
+    if ((x_6.v1.x < x_6.v1.y)) {
+      b = false;
+    }
+  }
+  if (b) {
+    float v = float(x_8.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_8.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_8.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_8.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..988709e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-combine-and-or-xor-gt-lt/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,67 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 v1;
+};
+
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_8;
+void main_1() {
+  bool b = false;
+  b = true;
+  float x_38 = x_6.v1.x;
+  float x_40 = x_6.v1.y;
+  if ((x_38 > x_40)) {
+    float x_45 = x_6.v1.x;
+    float x_47 = x_6.v1.y;
+    if ((x_45 < x_47)) {
+      b = false;
+    }
+  }
+  bool x_51 = b;
+  if (x_51) {
+    int x_10 = x_8.x_GLF_uniform_int_values[0].el;
+    int x_11 = x_8.x_GLF_uniform_int_values[1].el;
+    int x_12 = x_8.x_GLF_uniform_int_values[1].el;
+    int x_13 = x_8.x_GLF_uniform_int_values[0].el;
+    float v = float(x_10);
+    float v_1 = float(x_11);
+    float v_2 = float(x_12);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_13));
+  } else {
+    int x_14 = x_8.x_GLF_uniform_int_values[1].el;
+    float x_65 = float(x_14);
+    x_GLF_color = vec4(x_65, x_65, x_65, x_65);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..89c143d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = x_6.x_GLF_uniform_int_values[1].el;
+  i = x_6.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[2].el)) {
+      } else {
+        break;
+      }
+      if ((~(i) != 0)) {
+        a = (a + 1);
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == x_6.x_GLF_uniform_int_values[2].el)) {
+    float v = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1a1beaf 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-condition-loop-index-bitwise-not/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,78 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  int x_26 = x_6.x_GLF_uniform_int_values[1].el;
+  a = x_26;
+  int x_28 = x_6.x_GLF_uniform_int_values[1].el;
+  i = x_28;
+  {
+    while(true) {
+      int x_33 = i;
+      int x_35 = x_6.x_GLF_uniform_int_values[2].el;
+      if ((x_33 < x_35)) {
+      } else {
+        break;
+      }
+      int x_38 = i;
+      if ((~(x_38) != 0)) {
+        int x_43 = a;
+        a = (x_43 + 1);
+      }
+      {
+        int x_45 = i;
+        i = (x_45 + 1);
+      }
+      continue;
+    }
+  }
+  int x_47 = a;
+  int x_49 = x_6.x_GLF_uniform_int_values[2].el;
+  if ((x_47 == x_49)) {
+    int x_55 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_58 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_61 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_64 = x_6.x_GLF_uniform_int_values[0].el;
+    float v = float(x_55);
+    float v_1 = float(x_58);
+    float v_2 = float(x_61);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_64));
+  } else {
+    int x_68 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_69 = float(x_68);
+    x_GLF_color = vec4(x_69, x_69, x_69, x_69);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..3f518e0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,83 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct buf2 {
+  vec2 injectionSwitch;
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+uniform buf2 x_9;
+uniform buf1 x_11;
+bool continue_execution = true;
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = 1;
+  float v = float(x_6.x_GLF_uniform_int_values[0].el);
+  float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  i = x_6.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[2].el)) {
+      } else {
+        break;
+      }
+      int x_61 = a;
+      a = (a + 1);
+      if ((x_61 > 3)) {
+        break;
+      }
+      if ((x_9.injectionSwitch.x > x_11.x_GLF_uniform_float_values[0].el)) {
+        continue_execution = false;
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..173499c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-conditional-discard-inside-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,93 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct buf2 {
+  vec2 injectionSwitch;
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+uniform buf2 x_9;
+uniform buf1 x_11;
+bool continue_execution = true;
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = 1;
+  int x_38 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_41 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_44 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_47 = x_6.x_GLF_uniform_int_values[0].el;
+  float v = float(x_38);
+  float v_1 = float(x_41);
+  float v_2 = float(x_44);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_47));
+  int x_51 = x_6.x_GLF_uniform_int_values[1].el;
+  i = x_51;
+  {
+    while(true) {
+      int x_56 = i;
+      int x_58 = x_6.x_GLF_uniform_int_values[2].el;
+      if ((x_56 < x_58)) {
+      } else {
+        break;
+      }
+      int x_61 = a;
+      a = (x_61 + 1);
+      if ((x_61 > 3)) {
+        break;
+      }
+      float x_67 = x_9.injectionSwitch.x;
+      float x_69 = x_11.x_GLF_uniform_float_values[0].el;
+      if ((x_67 > x_69)) {
+        continue_execution = false;
+      }
+      {
+        int x_73 = i;
+        i = (x_73 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-ceil-vec4/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-ceil-vec4/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1ec3bbe 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-ceil-vec4/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-ceil-vec4/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float quarter;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  v = ceil(vec4(424.113006591796875f, x_6.quarter, 1.29999995231628417969f, 19.6200008392333984375f));
+  if (all((v == vec4(425.0f, 1.0f, 2.0f, 20.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-ceil-vec4/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-ceil-vec4/0-opt.wgsl.expected.ir.glsl
index 72ca17c..3c4bd5e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-ceil-vec4/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-ceil-vec4/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float quarter;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  float x_32 = x_6.quarter;
+  v = ceil(vec4(424.113006591796875f, x_32, 1.29999995231628417969f, 19.6200008392333984375f));
+  vec4 x_35 = v;
+  if (all((x_35 == vec4(425.0f, 1.0f, 2.0f, 20.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-inside-while/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-inside-while/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b3cd18e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-inside-while/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-inside-while/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int j = 0;
+  i = 0;
+  j = 1;
+  {
+    while(true) {
+      int v = i;
+      if ((v < min(max(j, 5), 9))) {
+      } else {
+        break;
+      }
+      i = (i + 1);
+      j = (j + 1);
+      {
+      }
+      continue;
+    }
+  }
+  if (((i == 9) & (j == 10))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-inside-while/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-inside-while/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..32519f7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-inside-while/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-inside-while/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int j = 0;
+  i = 0;
+  j = 1;
+  {
+    while(true) {
+      int x_28 = i;
+      int x_29 = j;
+      if ((x_28 < min(max(x_29, 5), 9))) {
+      } else {
+        break;
+      }
+      int x_33 = i;
+      i = (x_33 + 1);
+      int x_35 = j;
+      j = (x_35 + 1);
+      {
+      }
+      continue;
+    }
+  }
+  int x_37 = i;
+  int x_39 = j;
+  if (((x_37 == 9) & (x_39 == 10))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-min/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-min/0-opt.spvasm.expected.ir.glsl
index 6c6485e..ee920cd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-min/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-min/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float v = clamp(2.0f, x_5.zero, 1.0f);
+  if (any((vec4(v, clamp(-1.0f, 0.0f, x_5.zero), 0.0f, 1.0f) != vec4(1.0f, 0.0f, 0.0f, 1.0f)))) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-min/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-min/0-opt.wgsl.expected.ir.glsl
index 72ca17c..e381d07 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-min/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-min/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_25 = x_5.zero;
+  float x_28 = x_5.zero;
+  float v = clamp(2.0f, x_25, 1.0f);
+  if (any((vec4(v, clamp(-1.0f, 0.0f, x_28), 0.0f, 1.0f) != vec4(1.0f, 0.0f, 0.0f, 1.0f)))) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..90fb34c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  float f = 0.0f;
+  x_GLF_color = vec4(0.0f);
+  f = clamp(x_6.one, 1.0f, 1.0f);
+  if ((f > x_6.one)) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..579d549 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp-vs-original/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  float f = 0.0f;
+  x_GLF_color = vec4(0.0f);
+  float x_23 = x_6.one;
+  f = clamp(x_23, 1.0f, 1.0f);
+  float x_25 = f;
+  float x_27 = x_6.one;
+  if ((x_25 > x_27)) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    float x_32 = f;
+    x_GLF_color = vec4(x_32, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.spvasm.expected.ir.glsl
index ae9b6d0..022d0e1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float fourtytwo;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_36 = false;
+  bool x_37 = false;
+  bool x_27 = (clamp(1.0f, x_5.fourtytwo, x_5.fourtytwo) > 42.0f);
+  x_37 = x_27;
+  if (!(x_27)) {
+    x_36 = (clamp(1.0f, x_5.fourtytwo, x_5.fourtytwo) < 42.0f);
+    x_37 = x_36;
+  }
+  if (x_37) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2bbf99e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-clamp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float fourtytwo;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_36 = false;
+  bool x_37_phi = false;
+  float x_23 = x_5.fourtytwo;
+  float x_25 = x_5.fourtytwo;
+  bool x_27 = (clamp(1.0f, x_23, x_25) > 42.0f);
+  x_37_phi = x_27;
+  if (!(x_27)) {
+    float x_32 = x_5.fourtytwo;
+    float x_34 = x_5.fourtytwo;
+    x_36 = (clamp(1.0f, x_32, x_34) < 42.0f);
+    x_37_phi = x_36;
+  }
+  bool x_37 = x_37_phi;
+  if (x_37) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-dot-condition-true/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-dot-condition-true/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-dot-condition-true/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-dot-condition-true/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-dot-condition-true/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-dot-condition-true/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-dot-condition-true/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-dot-condition-true/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.spvasm.expected.ir.glsl
index e1168e3..a5d13d8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.spvasm.expected.ir.glsl
@@ -1,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  if ((3.0f >= clamp(tint_symbol.x, 1.0f, (2.0f + x_6.one)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.wgsl.expected.ir.glsl
index 4a20bc7..18c6334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-gte-const-first/0.wgsl.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_29 = tint_symbol.x;
+  float x_31 = x_6.one;
+  if ((3.0f >= clamp(x_29, 1.0f, (2.0f + x_31)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-min-as-loop-range/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-min-as-loop-range/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-min-as-loop-range/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-min-as-loop-range/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-min-as-loop-range/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-min-as-loop-range/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-min-as-loop-range/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-min-as-loop-range/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.spvasm.expected.ir.glsl
index e1168e3..3a8a566 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  if (true) {
+    float v = float(x_5.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_5.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(1.0f, v, v_1, float(x_5.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.ir.glsl
index e1168e3..e5b12cb 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-mod-one-one-lte/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  if (true) {
+    int x_29 = x_5.x_GLF_uniform_int_values[0].el;
+    int x_32 = x_5.x_GLF_uniform_int_values[0].el;
+    int x_35 = x_5.x_GLF_uniform_int_values[1].el;
+    float v = float(x_29);
+    float v_1 = float(x_32);
+    x_GLF_color = vec4(1.0f, v, v_1, float(x_35));
+  } else {
+    int x_39 = x_5.x_GLF_uniform_int_values[0].el;
+    float x_40 = float(x_39);
+    x_GLF_color = vec4(x_40, x_40, x_40, x_40);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..2e4d04a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  bool x_48 = false;
+  bool x_49 = false;
+  f = 1626.509033203125f;
+  bool x_41 = (x_6.x_GLF_uniform_int_values[0].el == (x_6.x_GLF_uniform_int_values[0].el + x_6.x_GLF_uniform_int_values[1].el));
+  x_49 = x_41;
+  if (!(x_41)) {
+    x_48 = (f > x_8.x_GLF_uniform_float_values[0].el);
+    x_49 = x_48;
+  }
+  if (x_49) {
+    float v = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..fc74700 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-pow-large-exp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,75 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  bool x_48 = false;
+  bool x_49_phi = false;
+  f = 1626.509033203125f;
+  int x_35 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_37 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_39 = x_6.x_GLF_uniform_int_values[1].el;
+  bool x_41 = (x_35 == (x_37 + x_39));
+  x_49_phi = x_41;
+  if (!(x_41)) {
+    float x_45 = f;
+    float x_47 = x_8.x_GLF_uniform_float_values[0].el;
+    x_48 = (x_45 > x_47);
+    x_49_phi = x_48;
+  }
+  bool x_49 = x_49_phi;
+  if (x_49) {
+    int x_54 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_57 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_60 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_63 = x_6.x_GLF_uniform_int_values[0].el;
+    float v = float(x_54);
+    float v_1 = float(x_57);
+    float v_2 = float(x_60);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_63));
+  } else {
+    int x_67 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_68 = float(x_67);
+    x_GLF_color = vec4(x_68, x_68, x_68, x_68);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..2d8d010 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,58 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  bool x_30 = false;
+  bool x_31 = false;
+  x_GLF_color = vec4(0.0f);
+  bool x_24 = (x_5.one < 0.0f);
+  x_31 = x_24;
+  if (!(x_24)) {
+    x_30 = (x_5.one < 1.0f);
+    x_31 = x_30;
+  }
+  if (x_31) {
+    return;
+  }
+  if ((x_5.one < 0.0f)) {
+    {
+      while(true) {
+        if ((x_5.one < 0.0f)) {
+        } else {
+          break;
+        }
+        x_GLF_color = vec4(1.0f);
+        break;
+      }
+    }
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..ea96a83 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-same-condition/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  bool x_30 = false;
+  bool x_31_phi = false;
+  x_GLF_color = vec4(0.0f);
+  float x_23 = x_5.one;
+  bool x_24 = (x_23 < 0.0f);
+  x_31_phi = x_24;
+  if (!(x_24)) {
+    float x_29 = x_5.one;
+    x_30 = (x_29 < 1.0f);
+    x_31_phi = x_30;
+  }
+  bool x_31 = x_31_phi;
+  if (x_31) {
+    return;
+  }
+  float x_35 = x_5.one;
+  if ((x_35 < 0.0f)) {
+    {
+      while(true) {
+        float x_45 = x_5.one;
+        if ((x_45 < 0.0f)) {
+        } else {
+          break;
+        }
+        x_GLF_color = vec4(1.0f);
+        break;
+      }
+    }
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.spvasm.expected.ir.glsl
index d4bb1c9..22c9142 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.spvasm.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 x_26 = vec2(0.0f);
+  int x_5 = 0;
+  bool x_39 = false;
+  bool x_40 = false;
+  x_26 = vec2(0.0f);
+  x_5 = 2;
+  {
+    while(true) {
+      vec2 x_27 = vec2(0.0f);
+      int x_4 = 0;
+      if ((x_5 < 3)) {
+      } else {
+        break;
+      }
+      {
+        x_27 = vec2(1.0f, float(x_5)).xy;
+        x_4 = (x_5 + 1);
+        x_26 = x_27;
+        x_5 = x_4;
+      }
+      continue;
+    }
+  }
+  bool x_34 = (x_26.x != 1.0f);
+  x_40 = x_34;
+  if (!(x_34)) {
+    x_39 = (x_26.y != 2.0f);
+    x_40 = x_39;
+  }
+  if (x_40) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.wgsl.expected.ir.glsl
index d4bb1c9..cb0c288 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-const-folding-vector-shuffle/0.wgsl.expected.ir.glsl
@@ -1,11 +1,66 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 x_26 = vec2(0.0f);
+  bool x_39 = false;
+  vec2 x_26_phi = vec2(0.0f);
+  int x_5_phi = 0;
+  bool x_40_phi = false;
+  x_26_phi = vec2(0.0f);
+  x_5_phi = 2;
+  {
+    while(true) {
+      vec2 x_27 = vec2(0.0f);
+      int x_4 = 0;
+      x_26 = x_26_phi;
+      int x_5 = x_5_phi;
+      if ((x_5 < 3)) {
+      } else {
+        break;
+      }
+      {
+        vec2 x_32 = vec2(1.0f, float(x_5));
+        x_27 = vec2(x_32[0u], x_32[1u]);
+        x_4 = (x_5 + 1);
+        x_26_phi = x_27;
+        x_5_phi = x_4;
+      }
+      continue;
+    }
+  }
+  bool x_34 = (x_26.x != 1.0f);
+  x_40_phi = x_34;
+  if (!(x_34)) {
+    x_39 = (x_26.y != 2.0f);
+    x_40_phi = x_39;
+  }
+  bool x_40 = x_40_phi;
+  if (x_40) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-constant-folding-atan-over-tanh/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-constant-folding-atan-over-tanh/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b36e015 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-constant-folding-atan-over-tanh/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-constant-folding-atan-over-tanh/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  f = 0.9199161529541015625f;
+  if (((f > 0.91000002622604370117f) & (f < 0.93000000715255737305f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-constant-folding-atan-over-tanh/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-constant-folding-atan-over-tanh/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..30f5e73 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-constant-folding-atan-over-tanh/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-constant-folding-atan-over-tanh/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  f = 0.9199161529541015625f;
+  float x_21 = f;
+  float x_23 = f;
+  if (((x_21 > 0.91000002622604370117f) & (x_23 < 0.93000000715255737305f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-combine-add-sub/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-combine-add-sub/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-combine-add-sub/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-combine-add-sub/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-combine-add-sub/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-combine-add-sub/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-combine-add-sub/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-combine-add-sub/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-mix-uniform/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-mix-uniform/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..da4a436 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-mix-uniform/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-mix-uniform/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 mixed = vec2(0.0f);
+  mixed = mix(vec2(1.0f), x_6.one, vec2(0.5f));
+  if (all((mixed == vec2(1.0f)))) {
+    x_GLF_color = vec4(mixed.x, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-mix-uniform/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-mix-uniform/0-opt.wgsl.expected.ir.glsl
index 72ca17c..59b8437 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-mix-uniform/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-constants-mix-uniform/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 mixed = vec2(0.0f);
+  vec2 x_30 = x_6.one;
+  mixed = mix(vec2(1.0f), x_30, vec2(0.5f));
+  vec2 x_33 = mixed;
+  if (all((x_33 == vec2(1.0f)))) {
+    float x_40 = mixed.x;
+    x_GLF_color = vec4(x_40, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.spvasm.expected.ir.glsl
index 69f590c..7248734 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,68 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct buf1 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+uniform buf1 x_7;
+bool continue_execution = true;
+void main_1() {
+  float v = float(x_5.x_GLF_uniform_int_values[0].el);
+  float v_1 = float(x_5.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_5.x_GLF_uniform_int_values[1].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_5.x_GLF_uniform_int_values[0].el));
+  {
+    while(true) {
+      if ((x_7.zero == x_5.x_GLF_uniform_int_values[0].el)) {
+        {
+          if (true) { break; }
+        }
+        continue;
+      }
+      if ((x_7.zero == x_5.x_GLF_uniform_int_values[2].el)) {
+        break;
+      }
+      if ((x_7.zero == x_5.x_GLF_uniform_int_values[3].el)) {
+        continue_execution = false;
+      }
+      return;
+    }
+  }
+  x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[1].el));
+}
+main_out main() {
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.wgsl.expected.ir.glsl
index 72ca17c..bfd48b7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-continue-break-discard-return-in-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,80 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct buf1 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+uniform buf1 x_7;
+bool continue_execution = true;
+void main_1() {
+  int x_28 = x_5.x_GLF_uniform_int_values[0].el;
+  int x_31 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_34 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_37 = x_5.x_GLF_uniform_int_values[0].el;
+  float v = float(x_28);
+  float v_1 = float(x_31);
+  float v_2 = float(x_34);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_37));
+  {
+    while(true) {
+      int x_45 = x_7.zero;
+      int x_47 = x_5.x_GLF_uniform_int_values[0].el;
+      if ((x_45 == x_47)) {
+        {
+          if (true) { break; }
+        }
+        continue;
+      }
+      int x_52 = x_7.zero;
+      int x_54 = x_5.x_GLF_uniform_int_values[2].el;
+      if ((x_52 == x_54)) {
+        break;
+      }
+      int x_59 = x_7.zero;
+      int x_61 = x_5.x_GLF_uniform_int_values[3].el;
+      if ((x_59 == x_61)) {
+        continue_execution = false;
+      }
+      return;
+    }
+  }
+  int x_66 = x_5.x_GLF_uniform_int_values[1].el;
+  float x_67 = float(x_66);
+  x_GLF_color = vec4(x_67, x_67, x_67, x_67);
+}
+main_out main() {
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..2c12556 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct Array {
+  int values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_50 = false;
+  int x_15 = 0;
+  int x_16 = 0;
+  Array param = Array(int[2](0, 0));
+  int x_19 = 0;
+  int x_20 = 0;
+  param = Array(int[2](0, 0));
+  x_50 = false;
+  {
+    while(true) {
+      bool x_63 = false;
+      {
+        while(true) {
+          if ((param.values[x_8.zero] == 1)) {
+            x_50 = true;
+            x_15 = 1;
+            x_19 = 1;
+            x_63 = true;
+            break;
+          }
+          x_19 = 0;
+          x_63 = false;
+          break;
+        }
+      }
+      x_20 = x_19;
+      if (x_63) {
+        break;
+      }
+      x_50 = true;
+      x_15 = 1;
+      x_20 = 1;
+      break;
+    }
+  }
+  x_16 = x_20;
+  if ((x_20 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+int func_struct_Array_i1_2_1_(inout Array a) {
+  bool x_70 = false;
+  int x_12 = 0;
+  bool x_72 = false;
+  int x_13 = 0;
+  int x_14 = 0;
+  x_72 = false;
+  {
+    while(true) {
+      bool x_77 = false;
+      bool x_87 = false;
+      x_77 = x_72;
+      {
+        while(true) {
+          if ((a.values[x_8.zero] == 1)) {
+            x_70 = true;
+            x_12 = 1;
+            x_13 = 1;
+            x_87 = true;
+            break;
+          }
+          x_13 = 0;
+          x_87 = x_77;
+          break;
+        }
+      }
+      x_14 = x_13;
+      if (x_87) {
+        break;
+      }
+      x_70 = true;
+      x_12 = 1;
+      x_14 = 1;
+      break;
+    }
+  }
+  return x_14;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..ccbe47e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-func-argument/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,130 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct Array {
+  int values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_50 = false;
+  int x_15 = 0;
+  int x_16 = 0;
+  Array param = Array(int[2](0, 0));
+  int x_19 = 0;
+  int x_20_phi = 0;
+  param = Array(int[2](0, 0));
+  x_50 = false;
+  {
+    while(true) {
+      int x_19_phi = 0;
+      bool x_63_phi = false;
+      {
+        while(true) {
+          int x_17 = x_8.zero;
+          int x_18 = param.values[x_17];
+          if ((x_18 == 1)) {
+            x_50 = true;
+            x_15 = 1;
+            x_19_phi = 1;
+            x_63_phi = true;
+            break;
+          }
+          x_19_phi = 0;
+          x_63_phi = false;
+          break;
+        }
+      }
+      x_19 = x_19_phi;
+      bool x_63 = x_63_phi;
+      x_20_phi = x_19;
+      if (x_63) {
+        break;
+      }
+      x_50 = true;
+      x_15 = 1;
+      x_20_phi = 1;
+      break;
+    }
+  }
+  int x_20 = x_20_phi;
+  x_16 = x_20;
+  if ((x_20 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+int func_struct_Array_i1_2_1_(inout Array a) {
+  bool x_70 = false;
+  int x_12 = 0;
+  int x_13 = 0;
+  bool x_72_phi = false;
+  int x_14_phi = 0;
+  x_72_phi = false;
+  {
+    while(true) {
+      bool x_77 = false;
+      bool x_77_phi = false;
+      int x_13_phi = 0;
+      bool x_87_phi = false;
+      bool x_72 = x_72_phi;
+      x_77_phi = x_72;
+      {
+        while(true) {
+          x_77 = x_77_phi;
+          int x_10 = x_8.zero;
+          int x_11 = a.values[x_10];
+          if ((x_11 == 1)) {
+            x_70 = true;
+            x_12 = 1;
+            x_13_phi = 1;
+            x_87_phi = true;
+            break;
+          }
+          x_13_phi = 0;
+          x_87_phi = x_77;
+          break;
+        }
+      }
+      x_13 = x_13_phi;
+      bool x_87 = x_87_phi;
+      x_14_phi = x_13;
+      if (x_87) {
+        break;
+      }
+      x_70 = true;
+      x_12 = 1;
+      x_14_phi = 1;
+      break;
+    }
+  }
+  int x_14 = x_14_phi;
+  return x_14;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.spvasm.expected.ir.glsl
index 72ca17c..f7e3dde 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct Array {
+  int values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  Array a = Array(int[2](0, 0));
+  Array b = Array(int[2](0, 0));
+  float one = 0.0f;
+  int x_10 = x_7.zero;
+  a.values[x_10] = 1;
+  b = a;
+  one = 0.0f;
+  if ((b.values[x_7.zero] == 1)) {
+    one = 1.0f;
+  }
+  x_GLF_color = vec4(one, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.wgsl.expected.ir.glsl
index 72ca17c..57e1693 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-no-stores/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct Array {
+  int values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  Array a = Array(int[2](0, 0));
+  Array b = Array(int[2](0, 0));
+  float one = 0.0f;
+  int x_10 = x_7.zero;
+  a.values[x_10] = 1;
+  Array x_35 = a;
+  b = x_35;
+  one = 0.0f;
+  int x_11 = x_7.zero;
+  int x_12 = b.values[x_11];
+  if ((x_12 == 1)) {
+    one = 1.0f;
+  }
+  float x_41 = one;
+  x_GLF_color = vec4(x_41, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.spvasm.expected.ir.glsl
index 72ca17c..a5a7f54 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct Array {
+  int values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_52 = false;
+  int x_17 = 0;
+  int x_18 = 0;
+  int x_16[2] = int[2](0, 0);
+  Array param = Array(int[2](0, 0));
+  int x_20 = 0;
+  int x_21 = 0;
+  int x_12 = x_8.zero;
+  int x_22[2] = x_16;
+  int x_23_1[2] = x_22;
+  x_23_1[0u] = x_12;
+  x_16 = x_23_1;
+  param = Array(x_16);
+  x_52 = false;
+  {
+    while(true) {
+      bool x_67 = false;
+      {
+        while(true) {
+          if ((param.values[x_12] == 0)) {
+            x_52 = true;
+            x_17 = 42;
+            x_20 = 42;
+            x_67 = true;
+            break;
+          }
+          x_20 = 0;
+          x_67 = false;
+          break;
+        }
+      }
+      x_21 = x_20;
+      if (x_67) {
+        break;
+      }
+      x_52 = true;
+      x_17 = 42;
+      x_21 = 42;
+      break;
+    }
+  }
+  x_18 = x_21;
+  if ((x_21 == 42)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+int func_struct_Array_i1_2_1_(inout Array a) {
+  bool x_74 = false;
+  int x_13 = 0;
+  bool x_76 = false;
+  int x_14 = 0;
+  int x_15 = 0;
+  x_76 = false;
+  {
+    while(true) {
+      bool x_81 = false;
+      bool x_91 = false;
+      x_81 = x_76;
+      {
+        while(true) {
+          if ((a.values[x_8.zero] == 0)) {
+            x_74 = true;
+            x_13 = 42;
+            x_14 = 42;
+            x_91 = true;
+            break;
+          }
+          x_14 = 0;
+          x_91 = x_81;
+          break;
+        }
+      }
+      x_15 = x_14;
+      if (x_91) {
+        break;
+      }
+      x_74 = true;
+      x_13 = 42;
+      x_15 = 42;
+      break;
+    }
+  }
+  return x_15;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.wgsl.expected.ir.glsl
index 72ca17c..c01a5f2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-copy-prop-arrays-param-uniform/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,137 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct Array {
+  int values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_52 = false;
+  int x_17 = 0;
+  int x_18 = 0;
+  int x_16[2] = int[2](0, 0);
+  Array param = Array(int[2](0, 0));
+  int x_20 = 0;
+  int x_21_phi = 0;
+  int x_12 = x_8.zero;
+  int x_22[2] = x_16;
+  int x_23_1[2] = x_22;
+  x_23_1[0u] = x_12;
+  int x_23[2] = x_23_1;
+  x_16 = x_23;
+  int x_54[2] = x_16;
+  param = Array(x_54);
+  x_52 = false;
+  {
+    while(true) {
+      int x_20_phi = 0;
+      bool x_67_phi = false;
+      {
+        while(true) {
+          int x_19 = param.values[x_12];
+          if ((x_19 == 0)) {
+            x_52 = true;
+            x_17 = 42;
+            x_20_phi = 42;
+            x_67_phi = true;
+            break;
+          }
+          x_20_phi = 0;
+          x_67_phi = false;
+          break;
+        }
+      }
+      x_20 = x_20_phi;
+      bool x_67 = x_67_phi;
+      x_21_phi = x_20;
+      if (x_67) {
+        break;
+      }
+      x_52 = true;
+      x_17 = 42;
+      x_21_phi = 42;
+      break;
+    }
+  }
+  int x_21 = x_21_phi;
+  x_18 = x_21;
+  if ((x_21 == 42)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+int func_struct_Array_i1_2_1_(inout Array a) {
+  bool x_74 = false;
+  int x_13 = 0;
+  int x_14 = 0;
+  bool x_76_phi = false;
+  int x_15_phi = 0;
+  x_76_phi = false;
+  {
+    while(true) {
+      bool x_81 = false;
+      bool x_81_phi = false;
+      int x_14_phi = 0;
+      bool x_91_phi = false;
+      bool x_76 = x_76_phi;
+      x_81_phi = x_76;
+      {
+        while(true) {
+          x_81 = x_81_phi;
+          int x_10 = x_8.zero;
+          int x_11 = a.values[x_10];
+          if ((x_11 == 0)) {
+            x_74 = true;
+            x_13 = 42;
+            x_14_phi = 42;
+            x_91_phi = true;
+            break;
+          }
+          x_14_phi = 0;
+          x_91_phi = x_81;
+          break;
+        }
+      }
+      x_14 = x_14_phi;
+      bool x_91 = x_91_phi;
+      x_15_phi = x_14;
+      if (x_91) {
+        break;
+      }
+      x_74 = true;
+      x_13 = 42;
+      x_15_phi = 42;
+      break;
+    }
+  }
+  int x_15 = x_15_phi;
+  return x_15;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..6c8052d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_8;
+void main_1() {
+  vec4 v = vec4(0.0f);
+  v = clamp(vec4(1.54308068752288818359f), vec4(x_6.x_GLF_uniform_float_values[0].el), vec4(1.0f));
+  float v_1 = v.x;
+  float v_2 = float(x_8.x_GLF_uniform_int_values[0].el);
+  float v_3 = float(x_8.x_GLF_uniform_int_values[0].el);
+  x_GLF_color = vec4(v_1, v_2, v_3, v.z);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f70cf8c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-cosh-clamped-to-one/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,54 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_8;
+void main_1() {
+  vec4 v = vec4(0.0f);
+  float x_33 = x_6.x_GLF_uniform_float_values[0].el;
+  v = clamp(vec4(1.54308068752288818359f), vec4(x_33, x_33, x_33, x_33), vec4(1.0f));
+  float x_38 = v.x;
+  int x_40 = x_8.x_GLF_uniform_int_values[0].el;
+  int x_43 = x_8.x_GLF_uniform_int_values[0].el;
+  float x_46 = v.z;
+  float v_1 = float(x_40);
+  x_GLF_color = vec4(x_38, v_1, float(x_43), x_46);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..00f0262 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,95 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int indexable[2] = int[2](0, 0);
+  a = x_6.x_GLF_uniform_int_values[2].el;
+  b = x_6.x_GLF_uniform_int_values[3].el;
+  x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[2].el));
+  i = x_6.x_GLF_uniform_int_values[2].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      if ((i > x_6.x_GLF_uniform_int_values[3].el)) {
+        a = (a + 1);
+        if (false) {
+          i_1 = x_6.x_GLF_uniform_int_values[2].el;
+          {
+            while(true) {
+              if ((i_1 < x_6.x_GLF_uniform_int_values[0].el)) {
+              } else {
+                break;
+              }
+              return;
+            }
+          }
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  i_2 = x_6.x_GLF_uniform_int_values[2].el;
+  {
+    while(true) {
+      if ((i_2 < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      int x_93 = b;
+      indexable = int[2](x_6.x_GLF_uniform_int_values[3].el, x_6.x_GLF_uniform_int_values[4].el);
+      a = (a + indexable[x_93]);
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == x_6.x_GLF_uniform_int_values[1].el)) {
+    float v = float(x_6.x_GLF_uniform_int_values[3].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[2].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[3].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.wgsl.expected.ir.glsl
index 72ca17c..ceb8f5b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,123 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int indexable[2] = int[2](0, 0);
+  int x_36 = x_6.x_GLF_uniform_int_values[2].el;
+  a = x_36;
+  int x_38 = x_6.x_GLF_uniform_int_values[3].el;
+  b = x_38;
+  int x_40 = x_6.x_GLF_uniform_int_values[2].el;
+  float x_41 = float(x_40);
+  x_GLF_color = vec4(x_41, x_41, x_41, x_41);
+  int x_44 = x_6.x_GLF_uniform_int_values[2].el;
+  i = x_44;
+  {
+    while(true) {
+      int x_49 = i;
+      int x_51 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_49 < x_51)) {
+      } else {
+        break;
+      }
+      int x_54 = i;
+      int x_56 = x_6.x_GLF_uniform_int_values[3].el;
+      if ((x_54 > x_56)) {
+        int x_60 = a;
+        a = (x_60 + 1);
+        if (false) {
+          int x_65 = x_6.x_GLF_uniform_int_values[2].el;
+          i_1 = x_65;
+          {
+            while(true) {
+              int x_70 = i_1;
+              int x_72 = x_6.x_GLF_uniform_int_values[0].el;
+              if ((x_70 < x_72)) {
+              } else {
+                break;
+              }
+              return;
+            }
+          }
+        }
+      }
+      {
+        int x_75 = i;
+        i = (x_75 + 1);
+      }
+      continue;
+    }
+  }
+  int x_78 = x_6.x_GLF_uniform_int_values[2].el;
+  i_2 = x_78;
+  {
+    while(true) {
+      int x_83 = i_2;
+      int x_85 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_83 < x_85)) {
+      } else {
+        break;
+      }
+      int x_89 = x_6.x_GLF_uniform_int_values[3].el;
+      int x_91 = x_6.x_GLF_uniform_int_values[4].el;
+      int x_93 = b;
+      indexable = int[2](x_89, x_91);
+      int x_95 = indexable[x_93];
+      int x_96 = a;
+      a = (x_96 + x_95);
+      {
+        int x_98 = i_2;
+        i_2 = (x_98 + 1);
+      }
+      continue;
+    }
+  }
+  int x_100 = a;
+  int x_102 = x_6.x_GLF_uniform_int_values[1].el;
+  if ((x_100 == x_102)) {
+    int x_107 = x_6.x_GLF_uniform_int_values[3].el;
+    int x_110 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_113 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_116 = x_6.x_GLF_uniform_int_values[3].el;
+    float v = float(x_107);
+    float v_1 = float(x_110);
+    float v_2 = float(x_113);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_116));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.spvasm.expected.ir.glsl
index d4bb1c9..79cda30 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.spvasm.expected.ir.glsl
@@ -1,11 +1,83 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int indexable[2] = int[2](0, 0);
+  a = 0;
+  b = 1;
+  x_GLF_color = vec4(0.0f);
+  i = 0;
+  {
+    while(true) {
+      if ((i < 10)) {
+      } else {
+        break;
+      }
+      if ((i > 1)) {
+        a = (a + 1);
+        if (false) {
+          i_1 = 0;
+          {
+            while(true) {
+              if ((i_1 < 10)) {
+              } else {
+                break;
+              }
+              return;
+            }
+          }
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  i_2 = 0;
+  {
+    while(true) {
+      if ((i_2 < 10)) {
+      } else {
+        break;
+      }
+      int x_65 = b;
+      indexable = int[2](1, 2);
+      a = (a + indexable[x_65]);
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == 28)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.wgsl.expected.ir.glsl
index d4bb1c9..69d8da0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-cumulate-loops-unreachable/1.wgsl.expected.ir.glsl
@@ -1,11 +1,93 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int indexable[2] = int[2](0, 0);
+  a = 0;
+  b = 1;
+  x_GLF_color = vec4(0.0f);
+  i = 0;
+  {
+    while(true) {
+      int x_38 = i;
+      if ((x_38 < 10)) {
+      } else {
+        break;
+      }
+      int x_41 = i;
+      if ((x_41 > 1)) {
+        int x_45 = a;
+        a = (x_45 + 1);
+        if (false) {
+          i_1 = 0;
+          {
+            while(true) {
+              int x_53 = i_1;
+              if ((x_53 < 10)) {
+              } else {
+                break;
+              }
+              return;
+            }
+          }
+        }
+      }
+      {
+        int x_56 = i;
+        i = (x_56 + 1);
+      }
+      continue;
+    }
+  }
+  i_2 = 0;
+  {
+    while(true) {
+      int x_62 = i_2;
+      if ((x_62 < 10)) {
+      } else {
+        break;
+      }
+      int x_65 = b;
+      indexable = int[2](1, 2);
+      int x_67 = indexable[x_65];
+      int x_68 = a;
+      a = (x_68 + x_67);
+      {
+        int x_70 = i_2;
+        i_2 = (x_70 + 1);
+      }
+      continue;
+    }
+  }
+  int x_72 = a;
+  if ((x_72 == 28)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..ed9de18 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,69 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float A1[3] = float[3](0.0f, 0.0f, 0.0f);
+  int a = 0;
+  float b = 0.0f;
+  bool c = false;
+  bool x_36 = false;
+  A1 = float[3](x_6.x_GLF_uniform_float_values[2].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el);
+  int v = x_9.x_GLF_uniform_int_values[1].el;
+  a = min(max(x_9.x_GLF_uniform_int_values[0].el, x_9.x_GLF_uniform_int_values[0].el), v);
+  int v_1 = x_9.x_GLF_uniform_int_values[0].el;
+  b = A1[min(max(a, x_9.x_GLF_uniform_int_values[1].el), v_1)];
+  if ((b < A1[x_9.x_GLF_uniform_int_values[1].el])) {
+    x_36 = (x_6.x_GLF_uniform_float_values[0].el > x_6.x_GLF_uniform_float_values[2].el);
+  } else {
+    x_36 = (x_6.x_GLF_uniform_float_values[0].el < A1[x_9.x_GLF_uniform_int_values[2].el]);
+  }
+  c = x_36;
+  if (c) {
+    float v_2 = float(x_9.x_GLF_uniform_int_values[0].el);
+    float v_3 = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_4 = float(x_9.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_2, v_3, v_4, float(x_9.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.wgsl.expected.ir.glsl
index 72ca17c..03605ae 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-clamp-undefined-access-array/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,92 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float A1[3] = float[3](0.0f, 0.0f, 0.0f);
+  int a = 0;
+  float b = 0.0f;
+  bool c = false;
+  bool x_36 = false;
+  float x_38 = x_6.x_GLF_uniform_float_values[2].el;
+  float x_40 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_42 = x_6.x_GLF_uniform_float_values[1].el;
+  A1 = float[3](x_38, x_40, x_42);
+  int x_45 = x_9.x_GLF_uniform_int_values[0].el;
+  int x_47 = x_9.x_GLF_uniform_int_values[0].el;
+  int x_49 = x_9.x_GLF_uniform_int_values[1].el;
+  a = min(max(x_45, x_47), x_49);
+  int x_51 = a;
+  int x_53 = x_9.x_GLF_uniform_int_values[1].el;
+  int x_55 = x_9.x_GLF_uniform_int_values[0].el;
+  float x_58 = A1[min(max(x_51, x_53), x_55)];
+  b = x_58;
+  float x_59 = b;
+  int x_61 = x_9.x_GLF_uniform_int_values[1].el;
+  float x_63 = A1[x_61];
+  if ((x_59 < x_63)) {
+    float x_69 = x_6.x_GLF_uniform_float_values[0].el;
+    float x_71 = x_6.x_GLF_uniform_float_values[2].el;
+    x_36 = (x_69 > x_71);
+  } else {
+    float x_74 = x_6.x_GLF_uniform_float_values[0].el;
+    int x_76 = x_9.x_GLF_uniform_int_values[2].el;
+    float x_78 = A1[x_76];
+    x_36 = (x_74 < x_78);
+  }
+  bool x_80 = x_36;
+  c = x_80;
+  bool x_81 = c;
+  if (x_81) {
+    int x_86 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_89 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_92 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_95 = x_9.x_GLF_uniform_int_values[0].el;
+    float v = float(x_86);
+    float v_1 = float(x_89);
+    float v_2 = float(x_92);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_95));
+  } else {
+    float x_99 = x_6.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_99, x_99, x_99, x_99);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-combine-casts-legalize-vector-types-xyz-swizzle-for-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-combine-casts-legalize-vector-types-xyz-swizzle-for-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..330928f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-combine-casts-legalize-vector-types-xyz-swizzle-for-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-combine-casts-legalize-vector-types-xyz-swizzle-for-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,66 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  int i = 0;
+  v = vec4(float(x_6.x_GLF_uniform_int_values[3].el));
+  i = x_6.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[3].el)) {
+      } else {
+        break;
+      }
+      int x_50 = i;
+      v[uvec3(0u, 1u, 2u)[x_50]] = float(i);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  vec4 v_1 = v;
+  float v_2 = float(x_6.x_GLF_uniform_int_values[0].el);
+  float v_3 = float(x_6.x_GLF_uniform_int_values[1].el);
+  float v_4 = float(x_6.x_GLF_uniform_int_values[2].el);
+  if (all((v_1 == vec4(v_2, v_3, v_4, float(x_6.x_GLF_uniform_int_values[3].el))))) {
+    float v_5 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_6 = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_7 = float(x_6.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v_5, v_6, v_7, float(x_6.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-combine-casts-legalize-vector-types-xyz-swizzle-for-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-combine-casts-legalize-vector-types-xyz-swizzle-for-loop/0-opt.wgsl.expected.ir.glsl
index 72ca17c..20bd70c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-combine-casts-legalize-vector-types-xyz-swizzle-for-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-combine-casts-legalize-vector-types-xyz-swizzle-for-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,83 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  int i = 0;
+  int x_36 = x_6.x_GLF_uniform_int_values[3].el;
+  float x_37 = float(x_36);
+  v = vec4(x_37, x_37, x_37, x_37);
+  int x_40 = x_6.x_GLF_uniform_int_values[0].el;
+  i = x_40;
+  {
+    while(true) {
+      int x_45 = i;
+      int x_47 = x_6.x_GLF_uniform_int_values[3].el;
+      if ((x_45 < x_47)) {
+      } else {
+        break;
+      }
+      int x_50 = i;
+      int x_51 = i;
+      v[uvec3(0u, 1u, 2u)[x_50]] = float(x_51);
+      {
+        int x_55 = i;
+        i = (x_55 + 1);
+      }
+      continue;
+    }
+  }
+  vec4 x_57 = v;
+  int x_59 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_62 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_65 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_68 = x_6.x_GLF_uniform_int_values[3].el;
+  float v_1 = float(x_59);
+  float v_2 = float(x_62);
+  float v_3 = float(x_65);
+  if (all((x_57 == vec4(v_1, v_2, v_3, float(x_68))))) {
+    int x_77 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_80 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_83 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_86 = x_6.x_GLF_uniform_int_values[1].el;
+    float v_4 = float(x_77);
+    float v_5 = float(x_80);
+    float v_6 = float(x_83);
+    x_GLF_color = vec4(v_4, v_5, v_6, float(x_86));
+  } else {
+    int x_90 = x_6.x_GLF_uniform_int_values[0].el;
+    float x_91 = float(x_90);
+    x_GLF_color = vec4(x_91, x_91, x_91, x_91);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-glf_color/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-glf_color/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..869cf05 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-glf_color/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-glf_color/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,81 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_7;
+uniform buf0 x_12;
+float func_f1_(inout float b) {
+  x_GLF_color = vec4(x_7.x_GLF_uniform_float_values[0].el, x_7.x_GLF_uniform_float_values[0].el, x_7.x_GLF_uniform_float_values[1].el, 1.0f);
+  x_GLF_color = x_GLF_color;
+  if ((x_7.x_GLF_uniform_float_values[0].el >= b)) {
+    float x_104 = x_7.x_GLF_uniform_float_values[0].el;
+    return x_104;
+  }
+  float x_106 = x_7.x_GLF_uniform_float_values[2].el;
+  return x_106;
+}
+void main_1() {
+  float a = 0.0f;
+  float param = 0.0f;
+  float param_1 = 0.0f;
+  bool x_71 = false;
+  bool x_72 = false;
+  param = x_7.x_GLF_uniform_float_values[0].el;
+  float x_45 = func_f1_(param);
+  a = x_45;
+  param_1 = (x_7.x_GLF_uniform_float_values[0].el + x_7.x_GLF_uniform_float_values[0].el);
+  float x_51 = func_f1_(param_1);
+  a = (a + x_51);
+  bool x_57 = (a == x_7.x_GLF_uniform_float_values[3].el);
+  x_72 = x_57;
+  if (x_57) {
+    vec4 v = x_GLF_color;
+    x_71 = all((v == vec4(x_7.x_GLF_uniform_float_values[0].el, x_7.x_GLF_uniform_float_values[0].el, x_7.x_GLF_uniform_float_values[1].el, x_7.x_GLF_uniform_float_values[0].el)));
+    x_72 = x_71;
+  }
+  if (x_72) {
+    float v_1 = float(x_12.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_12.x_GLF_uniform_int_values[1].el);
+    float v_3 = float(x_12.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_12.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_12.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-glf_color/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-glf_color/0-opt.wgsl.expected.ir.glsl
index 72ca17c..3839db9 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-glf_color/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-glf_color/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,104 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_7;
+uniform buf0 x_12;
+float func_f1_(inout float b) {
+  float x_90 = x_7.x_GLF_uniform_float_values[0].el;
+  float x_92 = x_7.x_GLF_uniform_float_values[0].el;
+  float x_94 = x_7.x_GLF_uniform_float_values[1].el;
+  x_GLF_color = vec4(x_90, x_92, x_94, 1.0f);
+  vec4 x_96 = x_GLF_color;
+  x_GLF_color = x_96;
+  float x_98 = x_7.x_GLF_uniform_float_values[0].el;
+  float x_99 = b;
+  if ((x_98 >= x_99)) {
+    float x_104 = x_7.x_GLF_uniform_float_values[0].el;
+    return x_104;
+  }
+  float x_106 = x_7.x_GLF_uniform_float_values[2].el;
+  return x_106;
+}
+void main_1() {
+  float a = 0.0f;
+  float param = 0.0f;
+  float param_1 = 0.0f;
+  bool x_71 = false;
+  bool x_72_phi = false;
+  float x_44 = x_7.x_GLF_uniform_float_values[0].el;
+  param = x_44;
+  float x_45 = func_f1_(param);
+  a = x_45;
+  float x_47 = x_7.x_GLF_uniform_float_values[0].el;
+  float x_49 = x_7.x_GLF_uniform_float_values[0].el;
+  param_1 = (x_47 + x_49);
+  float x_51 = func_f1_(param_1);
+  float x_52 = a;
+  a = (x_52 + x_51);
+  float x_54 = a;
+  float x_56 = x_7.x_GLF_uniform_float_values[3].el;
+  bool x_57 = (x_54 == x_56);
+  x_72_phi = x_57;
+  if (x_57) {
+    vec4 x_60 = x_GLF_color;
+    float x_62 = x_7.x_GLF_uniform_float_values[0].el;
+    float x_64 = x_7.x_GLF_uniform_float_values[0].el;
+    float x_66 = x_7.x_GLF_uniform_float_values[1].el;
+    float x_68 = x_7.x_GLF_uniform_float_values[0].el;
+    x_71 = all((x_60 == vec4(x_62, x_64, x_66, x_68)));
+    x_72_phi = x_71;
+  }
+  bool x_72 = x_72_phi;
+  if (x_72) {
+    int x_15 = x_12.x_GLF_uniform_int_values[0].el;
+    int x_16 = x_12.x_GLF_uniform_int_values[1].el;
+    int x_17 = x_12.x_GLF_uniform_int_values[1].el;
+    int x_18 = x_12.x_GLF_uniform_int_values[0].el;
+    float v = float(x_15);
+    float v_1 = float(x_16);
+    float v_2 = float(x_17);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_18));
+  } else {
+    int x_19 = x_12.x_GLF_uniform_int_values[1].el;
+    float x_86 = float(x_19);
+    x_GLF_color = vec4(x_86, x_86, x_86, x_86);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..de6572c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  a = x_6.x_GLF_uniform_float_values[1].el;
+  if ((x_6.x_GLF_uniform_float_values[3].el > x_6.x_GLF_uniform_float_values[0].el)) {
+    a = (a + x_6.x_GLF_uniform_float_values[0].el);
+    x_GLF_color = vec4(a);
+    if ((x_6.x_GLF_uniform_float_values[3].el > x_6.x_GLF_uniform_float_values[1].el)) {
+      a = (a + x_GLF_color.x);
+      x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[2].el);
+    }
+  }
+  x_GLF_color = vec4(a, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.wgsl.expected.ir.glsl
index 72ca17c..bc26b5a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-increment-color/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,59 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  float x_30 = x_6.x_GLF_uniform_float_values[1].el;
+  a = x_30;
+  float x_32 = x_6.x_GLF_uniform_float_values[3].el;
+  float x_34 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_32 > x_34)) {
+    float x_39 = x_6.x_GLF_uniform_float_values[0].el;
+    float x_40 = a;
+    a = (x_40 + x_39);
+    float x_42 = a;
+    x_GLF_color = vec4(x_42, x_42, x_42, x_42);
+    float x_45 = x_6.x_GLF_uniform_float_values[3].el;
+    float x_47 = x_6.x_GLF_uniform_float_values[1].el;
+    if ((x_45 > x_47)) {
+      float x_52 = x_GLF_color.x;
+      float x_53 = a;
+      a = (x_53 + x_52);
+      float x_56 = x_6.x_GLF_uniform_float_values[2].el;
+      x_GLF_color = vec4(x_56, x_56, x_56, x_56);
+    }
+  }
+  float x_58 = a;
+  x_GLF_color = vec4(x_58, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..93fb182 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = x_6.x_GLF_uniform_int_values[1].el;
+  i = -(x_6.x_GLF_uniform_int_values[3].el);
+  {
+    while(true) {
+      int x_36 = (i + 1);
+      i = x_36;
+      int v = bitfieldReverse(x_36);
+      if ((v <= x_6.x_GLF_uniform_int_values[2].el)) {
+      } else {
+        break;
+      }
+      a = (a + 1);
+      {
+      }
+      continue;
+    }
+  }
+  if ((a == x_6.x_GLF_uniform_int_values[0].el)) {
+    float v_1 = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_3 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_6.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.ir.glsl
index 72ca17c..3b07e88 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-loop-bitfieldreverse/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,75 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  int x_27 = x_6.x_GLF_uniform_int_values[1].el;
+  a = x_27;
+  int x_29 = x_6.x_GLF_uniform_int_values[3].el;
+  i = -(x_29);
+  {
+    while(true) {
+      int x_35 = i;
+      int x_36 = (x_35 + 1);
+      i = x_36;
+      int x_39 = x_6.x_GLF_uniform_int_values[2].el;
+      if ((bitfieldReverse(x_36) <= x_39)) {
+      } else {
+        break;
+      }
+      int x_42 = a;
+      a = (x_42 + 1);
+      {
+      }
+      continue;
+    }
+  }
+  int x_44 = a;
+  int x_46 = x_6.x_GLF_uniform_int_values[0].el;
+  if ((x_44 == x_46)) {
+    int x_52 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_55 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_58 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_61 = x_6.x_GLF_uniform_int_values[2].el;
+    float v = float(x_52);
+    float v_1 = float(x_55);
+    float v_2 = float(x_58);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_61));
+  } else {
+    int x_65 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_66 = float(x_65);
+    x_GLF_color = vec4(x_66, x_66, x_66, x_66);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-neg-div-pow2/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-neg-div-pow2/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-neg-div-pow2/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-neg-div-pow2/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-neg-div-pow2/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-neg-div-pow2/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-neg-div-pow2/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-neg-div-pow2/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-same-cond-nested/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-same-cond-nested/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-same-cond-nested/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-same-cond-nested/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-same-cond-nested/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-same-cond-nested/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-same-cond-nested/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-dag-combiner-same-cond-nested/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..2df0a05 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,93 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct buf2 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf1 x_7;
+uniform buf0 x_10;
+uniform buf2 x_12;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int r = 0;
+  x_GLF_global_loop_count = 0;
+  f = x_7.x_GLF_uniform_float_values[0].el;
+  r = x_10.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((r < x_10.x_GLF_uniform_int_values[2].el)) {
+      } else {
+        break;
+      }
+      x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      vec2 x_57 = x_12.injectionSwitch;
+      float x_60 = f;
+      f = (x_60 + dFdx(x_57)[1u]);
+      {
+        r = (r + 1);
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      if ((x_GLF_global_loop_count < 100)) {
+      } else {
+        break;
+      }
+      x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      f = (f + x_7.x_GLF_uniform_float_values[0].el);
+      {
+      }
+      continue;
+    }
+  }
+  if ((f == x_7.x_GLF_uniform_float_values[1].el)) {
+    float v = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_10.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..e61bf2d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-derivative-uniform-vector-global-loop-count/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,111 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct buf2 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf1 x_7;
+uniform buf0 x_10;
+uniform buf2 x_12;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int r = 0;
+  x_GLF_global_loop_count = 0;
+  float x_42 = x_7.x_GLF_uniform_float_values[0].el;
+  f = x_42;
+  int x_44 = x_10.x_GLF_uniform_int_values[1].el;
+  r = x_44;
+  {
+    while(true) {
+      int x_49 = r;
+      int x_51 = x_10.x_GLF_uniform_int_values[2].el;
+      if ((x_49 < x_51)) {
+      } else {
+        break;
+      }
+      int x_54 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_54 + 1);
+      vec2 x_57 = x_12.injectionSwitch;
+      float x_60 = f;
+      f = (x_60 + dFdx(x_57)[1u]);
+      {
+        int x_62 = r;
+        r = (x_62 + 1);
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      int x_68 = x_GLF_global_loop_count;
+      if ((x_68 < 100)) {
+      } else {
+        break;
+      }
+      int x_71 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_71 + 1);
+      float x_74 = x_7.x_GLF_uniform_float_values[0].el;
+      float x_75 = f;
+      f = (x_75 + x_74);
+      {
+      }
+      continue;
+    }
+  }
+  float x_77 = f;
+  float x_79 = x_7.x_GLF_uniform_float_values[1].el;
+  if ((x_77 == x_79)) {
+    int x_85 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_88 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_91 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_94 = x_10.x_GLF_uniform_int_values[0].el;
+    float v = float(x_85);
+    float v_1 = float(x_88);
+    float v_2 = float(x_91);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_94));
+  } else {
+    int x_98 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_99 = float(x_98);
+    x_GLF_color = vec4(x_99, x_99, x_99, x_99);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..6a34aa4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,71 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int i = 0;
+  float a = 0.0f;
+  f = x_6.x_GLF_uniform_float_values[1].el;
+  i = x_9.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i > x_9.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      a = (1.0f - max(1.0f, float(i)));
+      f = min(max(a, 0.0f), 0.0f);
+      {
+        i = (i - 1);
+      }
+      continue;
+    }
+  }
+  if ((f == x_6.x_GLF_uniform_float_values[0].el)) {
+    float v = float(x_9.x_GLF_uniform_int_values[2].el);
+    float v_1 = f;
+    x_GLF_color = vec4(v, v_1, float(x_9.x_GLF_uniform_int_values[0].el), 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.wgsl.expected.ir.glsl
index 72ca17c..d767119 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-descending-loop-min-max-always-zero/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,82 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int i = 0;
+  float a = 0.0f;
+  float x_37 = x_6.x_GLF_uniform_float_values[1].el;
+  f = x_37;
+  int x_39 = x_9.x_GLF_uniform_int_values[1].el;
+  i = x_39;
+  {
+    while(true) {
+      int x_44 = i;
+      int x_46 = x_9.x_GLF_uniform_int_values[0].el;
+      if ((x_44 > x_46)) {
+      } else {
+        break;
+      }
+      int x_49 = i;
+      a = (1.0f - max(1.0f, float(x_49)));
+      float x_53 = a;
+      f = min(max(x_53, 0.0f), 0.0f);
+      {
+        int x_56 = i;
+        i = (x_56 - 1);
+      }
+      continue;
+    }
+  }
+  float x_58 = f;
+  float x_60 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_58 == x_60)) {
+    int x_66 = x_9.x_GLF_uniform_int_values[2].el;
+    float x_68 = f;
+    int x_70 = x_9.x_GLF_uniform_int_values[0].el;
+    float v = float(x_66);
+    x_GLF_color = vec4(v, x_68, float(x_70), 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-divide-matrix-transpose-by-constant/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-divide-matrix-transpose-by-constant/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..8cd2d97 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-divide-matrix-transpose-by-constant/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-divide-matrix-transpose-by-constant/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m = mat2(vec2(0.0f), vec2(0.0f));
+  m = mat2(vec2(0.5f, 1.5f), vec2(1.0f, 2.0f));
+  bool v = all((m[0u] == vec2(0.5f, 1.5f)));
+  if ((v & all((m[1u] == vec2(1.0f, 2.0f))))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-divide-matrix-transpose-by-constant/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-divide-matrix-transpose-by-constant/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..e03f70b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-divide-matrix-transpose-by-constant/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-divide-matrix-transpose-by-constant/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m = mat2(vec2(0.0f), vec2(0.0f));
+  m = mat2(vec2(0.5f, 1.5f), vec2(1.0f, 2.0f));
+  mat2 x_33 = m;
+  bool v = all((x_33[0u] == vec2(0.5f, 1.5f)));
+  if ((v & all((x_33[1u] == vec2(1.0f, 2.0f))))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1faf016 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,68 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+int func_() {
+  int i = 0;
+  i = x_7.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      i = (i + 1);
+      if (true) {
+        if (true) {
+          int x_65 = x_7.x_GLF_uniform_int_values[2].el;
+          return x_65;
+        }
+      }
+      {
+        int x_66 = i;
+        int x_68 = x_7.x_GLF_uniform_int_values[1].el;
+        if (!((x_66 < x_68))) { break; }
+      }
+      continue;
+    }
+  }
+  int x_71 = x_7.x_GLF_uniform_int_values[0].el;
+  return x_71;
+}
+void main_1() {
+  int x_27 = func_();
+  if ((x_27 == x_7.x_GLF_uniform_int_values[2].el)) {
+    float v = float(x_7.x_GLF_uniform_int_values[2].el);
+    float v_1 = float(x_7.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_7.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_7.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ad6f8f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-double-if-true-in-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,77 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+int func_() {
+  int i = 0;
+  int x_53 = x_7.x_GLF_uniform_int_values[0].el;
+  i = x_53;
+  {
+    while(true) {
+      int x_58 = i;
+      i = (x_58 + 1);
+      if (true) {
+        if (true) {
+          int x_65 = x_7.x_GLF_uniform_int_values[2].el;
+          return x_65;
+        }
+      }
+      {
+        int x_66 = i;
+        int x_68 = x_7.x_GLF_uniform_int_values[1].el;
+        if (!((x_66 < x_68))) { break; }
+      }
+      continue;
+    }
+  }
+  int x_71 = x_7.x_GLF_uniform_int_values[0].el;
+  return x_71;
+}
+void main_1() {
+  int x_27 = func_();
+  int x_29 = x_7.x_GLF_uniform_int_values[2].el;
+  if ((x_27 == x_29)) {
+    int x_35 = x_7.x_GLF_uniform_int_values[2].el;
+    int x_38 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_41 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_44 = x_7.x_GLF_uniform_int_values[2].el;
+    float v = float(x_35);
+    float v_1 = float(x_38);
+    float v_2 = float(x_41);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_44));
+  } else {
+    int x_48 = x_7.x_GLF_uniform_int_values[0].el;
+    float x_49 = float(x_48);
+    x_GLF_color = vec4(x_49, x_49, x_49, x_49);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-empty-loop-minus-one-modulo-variable-one/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-empty-loop-minus-one-modulo-variable-one/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-empty-loop-minus-one-modulo-variable-one/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-empty-loop-minus-one-modulo-variable-one/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-empty-loop-minus-one-modulo-variable-one/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-empty-loop-minus-one-modulo-variable-one/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-empty-loop-minus-one-modulo-variable-one/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-empty-loop-minus-one-modulo-variable-one/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..bfeaf77 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  f = 2.0f;
+  if ((exp2(f) == 4.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..6088be6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-exp2-two/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  f = 2.0f;
+  float x_19 = f;
+  if ((exp2(x_19) == 4.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-float-array-init-pow/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-float-array-init-pow/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-float-array-init-pow/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-float-array-init-pow/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-float-array-init-pow/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-float-array-init-pow/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-float-array-init-pow/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-float-array-init-pow/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..e32b050 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,59 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+int func_() {
+  int ret = 0;
+  int i = 0;
+  ret = 0;
+  i = 3;
+  {
+    while(true) {
+      if ((i > (i & 1))) {
+      } else {
+        break;
+      }
+      ret = (ret + 1);
+      {
+        i = (i - x_8.one);
+      }
+      continue;
+    }
+  }
+  int x_50 = ret;
+  return x_50;
+}
+void main_1() {
+  int x_29 = func_();
+  if ((x_29 == 2)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..3d5e41f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-and-in-for-loop-range/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,64 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+int func_() {
+  int ret = 0;
+  int i = 0;
+  ret = 0;
+  i = 3;
+  {
+    while(true) {
+      int x_39 = i;
+      int x_40 = i;
+      if ((x_39 > (x_40 & 1))) {
+      } else {
+        break;
+      }
+      int x_44 = ret;
+      ret = (x_44 + 1);
+      {
+        int x_47 = x_8.one;
+        int x_48 = i;
+        i = (x_48 - x_47);
+      }
+      continue;
+    }
+  }
+  int x_50 = ret;
+  return x_50;
+}
+void main_1() {
+  int x_29 = func_();
+  if ((x_29 == 2)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.spvasm.expected.ir.glsl
index e1168e3..14d5f0a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.spvasm.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  if (((x_5.one & 0) == 0)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.wgsl.expected.ir.glsl
index 72ca17c..8b9b265 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-and-zero/0.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x_22 = x_5.one;
+  if (((x_22 & 0) == 0)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.spvasm.expected.ir.glsl
index e1168e3..4df78ab 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.spvasm.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  if (((-1 | x_5.one) == -1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.wgsl.expected.ir.glsl
index 72ca17c..ac6f67e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-or-full-mask/0.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x_23 = x_5.one;
+  if (((-1 | x_23) == -1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..5aae1e5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  a = 6;
+  b = 5;
+  if (((a ^ b) != 3)) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..d59e404 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-bitwise-xor/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  a = 6;
+  b = 5;
+  int x_6 = a;
+  int x_7 = b;
+  if (((x_6 ^ x_7) != 3)) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-const-variable/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-const-variable/0.spvasm.expected.ir.glsl
index d4bb1c9..26fc0d3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-const-variable/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-const-variable/0.spvasm.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool a = false;
+  a = false;
+  if ((true & a)) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-const-variable/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-const-variable/0.wgsl.expected.ir.glsl
index d4bb1c9..69daa6a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-const-variable/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-const-variable/0.wgsl.expected.ir.glsl
@@ -1,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool a = false;
+  a = false;
+  bool x_19 = a;
+  if ((true & x_19)) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-constant/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-constant/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..950946e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-constant/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-constant/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,46 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  i = 2;
+  {
+    while(true) {
+      i = (i + 1);
+      {
+        float x_35 = tint_symbol.x;
+        if (!(((x_35 >= 0.0f) & false))) { break; }
+      }
+      continue;
+    }
+  }
+  if ((i == 3)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-constant/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-constant/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..41889fc 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-constant/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-and-constant/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  i = 2;
+  {
+    while(true) {
+      int x_6 = i;
+      i = (x_6 + 1);
+      {
+        float x_35 = tint_symbol.x;
+        if (!(((x_35 >= 0.0f) & false))) { break; }
+      }
+      continue;
+    }
+  }
+  int x_8 = i;
+  if ((x_8 == 3)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-or-constant/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-or-constant/0.spvasm.expected.ir.glsl
index e1168e3..2056658 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-or-constant/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-or-constant/0.spvasm.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  if (((tint_symbol.x < 0.0f) | true)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-or-constant/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-or-constant/0.wgsl.expected.ir.glsl
index 4a20bc7..157ee49 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-or-constant/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-logical-or-constant/0.wgsl.expected.ir.glsl
@@ -1,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_22 = tint_symbol.x;
+  if (((x_22 < 0.0f) | true)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..e4422b3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int minusOne;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int minValue = 0;
+  int negMinValue = 0;
+  minValue = (-2147483647 - 1);
+  negMinValue = -(minValue);
+  if ((negMinValue == (minValue * x_7.minusOne))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..69ccd05 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-min-int-value/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int minusOne;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int minValue = 0;
+  int negMinValue = 0;
+  minValue = (-2147483647 - 1);
+  int x_25 = minValue;
+  negMinValue = -(x_25);
+  int x_27 = negMinValue;
+  int x_28 = minValue;
+  int x_30 = x_7.minusOne;
+  if ((x_27 == (x_28 * x_30))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.spvasm.expected.ir.glsl
index d4bb1c9..42520df 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.spvasm.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  i = 3;
+  if ((~(i) == -4)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.wgsl.expected.ir.glsl
index d4bb1c9..9fb009b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-negate-variable/0.wgsl.expected.ir.glsl
@@ -1,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  i = 3;
+  int x_5 = i;
+  if ((~(x_5) == -4)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.spvasm.expected.ir.glsl
index d4bb1c9..4115914 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.spvasm.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  i = 5;
+  if (((i >> (1u & 31u)) != 2)) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.wgsl.expected.ir.glsl
index d4bb1c9..0e63a2c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-shift-right-arithmetic/0.wgsl.expected.ir.glsl
@@ -1,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  i = 5;
+  int x_5 = i;
+  if (((x_5 >> (1u & 31u)) != 2)) {
+    x_GLF_color = vec4(0.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-switch-udiv/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-switch-udiv/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-switch-udiv/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-switch-udiv/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-switch-udiv/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-switch-udiv/0.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-switch-udiv/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fold-switch-udiv/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..32bec41 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  f = 1.0f;
+  {
+    while(true) {
+      f = (f + x_6.one);
+      {
+        float x_34 = f;
+        float x_36 = x_6.one;
+        if (!((10.0f > clamp(x_34, 8.0f, (9.0f + x_36))))) { break; }
+      }
+      continue;
+    }
+  }
+  if ((f == 10.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f1f6f0f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-clamp-cmp-const-first/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  f = 1.0f;
+  {
+    while(true) {
+      float x_31 = x_6.one;
+      float x_32 = f;
+      f = (x_32 + x_31);
+      {
+        float x_34 = f;
+        float x_36 = x_6.one;
+        if (!((10.0f > clamp(x_34, 8.0f, (9.0f + x_36))))) { break; }
+      }
+      continue;
+    }
+  }
+  float x_40 = f;
+  if ((x_40 == 10.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.spvasm.expected.ir.glsl
index e1168e3..5e64cbf 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  if (((1 + (3 - x_5.one)) == 3)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.wgsl.expected.ir.glsl
index 72ca17c..5119589 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-merge-add-sub-uniform/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x_24 = x_5.one;
+  if (((1 + (3 - x_24)) == 3)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..30b42ca 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 twoandthree;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 a = vec2(0.0f);
+  vec2 b = vec2(0.0f);
+  bool x_46 = false;
+  bool x_47 = false;
+  a = x_6.twoandthree;
+  float v = a.x;
+  b = vec2(v, clamp(a, vec2(1.0f), vec2(1.0f))[1u]);
+  bool x_41 = (b.x == 2.0f);
+  x_47 = x_41;
+  if (x_41) {
+    x_46 = (b.y == 1.0f);
+    x_47 = x_46;
+  }
+  if (x_47) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.wgsl.expected.ir.glsl
index 72ca17c..27de8e3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-construct-extract/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 twoandthree;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 a = vec2(0.0f);
+  vec2 b = vec2(0.0f);
+  bool x_46 = false;
+  bool x_47_phi = false;
+  vec2 x_32 = x_6.twoandthree;
+  a = x_32;
+  float x_34 = a.x;
+  vec2 x_35 = a;
+  b = vec2(x_34, clamp(x_35, vec2(1.0f), vec2(1.0f))[1u]);
+  float x_40 = b.x;
+  bool x_41 = (x_40 == 2.0f);
+  x_47_phi = x_41;
+  if (x_41) {
+    float x_45 = b.y;
+    x_46 = (x_45 == 1.0f);
+    x_47_phi = x_46;
+  }
+  bool x_47 = x_47_phi;
+  if (x_47) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.spvasm.expected.ir.glsl
index e1168e3..e681a0b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  if ((dot(vec4(1.0f, 2.0f, x_5.three, 4.0f), vec4(0.0f, 1.0f, 0.0f, 0.0f)) == 2.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f73ab31 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-extract/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_25 = x_5.three;
+  if ((dot(vec4(1.0f, 2.0f, x_25, 4.0f), vec4(0.0f, 1.0f, 0.0f, 0.0f)) == 2.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.spvasm.expected.ir.glsl
index e1168e3..6592a7b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.spvasm.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  if ((dot(vec2(2.0f, x_5.three), vec2(0.0f, 2.0f)) == 6.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.wgsl.expected.ir.glsl
index 72ca17c..4fd9daa 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-dot-no-extract/0.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_26 = x_5.three;
+  if ((dot(vec2(2.0f, x_26), vec2(0.0f, 2.0f)) == 6.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b8f508a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  i = 5;
+  {
+    while(true) {
+      if ((i >= 0)) {
+      } else {
+        break;
+      }
+      i = (i - 3);
+      i = (i + 1);
+      {
+      }
+      continue;
+    }
+  }
+  if ((i == -1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..c6efcc9 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-add-sub/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  i = 5;
+  {
+    while(true) {
+      int x_5 = i;
+      if ((x_5 >= 0)) {
+      } else {
+        break;
+      }
+      int x_6 = i;
+      i = (x_6 - 3);
+      int x_8 = i;
+      i = (x_8 + 1);
+      {
+      }
+      continue;
+    }
+  }
+  int x_10 = i;
+  if ((x_10 == -1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f902e00 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  f = (4.0f / (2.0f * x_6.one));
+  if (((f > 1.89999997615814208984f) & (f < 2.09999990463256835938f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.wgsl.expected.ir.glsl
index 72ca17c..42ea1b5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-div-mul/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  float x_28 = x_6.one;
+  f = (4.0f / (2.0f * x_28));
+  float x_31 = f;
+  float x_33 = f;
+  if (((x_31 > 1.89999997615814208984f) & (x_33 < 2.09999990463256835938f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..2dde10b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float four;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  a = (2.0f / (1.0f / x_6.four));
+  if (((a > 7.90000009536743164062f) & (a < 8.1000003814697265625f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.wgsl.expected.ir.glsl
index 72ca17c..ba6ab6d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-divs/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float four;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  float x_27 = x_6.four;
+  a = (2.0f / (1.0f / x_27));
+  float x_30 = a;
+  float x_32 = a;
+  if (((x_30 > 7.90000009536743164062f) & (x_32 < 8.1000003814697265625f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..6f6a3b7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  f = (4.0f * (2.0f / x_6.one));
+  if (((f > 7.90000009536743164062f) & (f < 8.1000003814697265625f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.wgsl.expected.ir.glsl
index 72ca17c..70a4ea6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-mul-div/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  float x_28 = x_6.one;
+  f = (4.0f * (2.0f / x_28));
+  float x_31 = f;
+  float x_33 = f;
+  if (((x_31 > 7.90000009536743164062f) & (x_33 < 8.1000003814697265625f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f89940d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool b = false;
+  int i = 0;
+  float a = 0.0f;
+  b = false;
+  i = 1;
+  {
+    while(true) {
+      if ((i > 0)) {
+      } else {
+        break;
+      }
+      a = (1.0f + float(i));
+      if (((2.0f - a) == 0.0f)) {
+        b = true;
+      }
+      {
+        i = (i - 1);
+      }
+      continue;
+    }
+  }
+  if (b) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..19f8fa4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-add/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,58 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool b = false;
+  int i = 0;
+  float a = 0.0f;
+  b = false;
+  i = 1;
+  {
+    while(true) {
+      int x_7 = i;
+      if ((x_7 > 0)) {
+      } else {
+        break;
+      }
+      int x_8 = i;
+      a = (1.0f + float(x_8));
+      float x_39 = a;
+      if (((2.0f - x_39) == 0.0f)) {
+        b = true;
+      }
+      {
+        int x_9 = i;
+        i = (x_9 - 1);
+      }
+      continue;
+    }
+  }
+  bool x_44 = b;
+  if (x_44) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..c1d26fe 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool b = false;
+  int i = 0;
+  float a = 0.0f;
+  b = false;
+  i = 1;
+  {
+    while(true) {
+      if ((i > 0)) {
+      } else {
+        break;
+      }
+      a = (3.0f - float(i));
+      if (((2.0f - a) == 0.0f)) {
+        b = true;
+      }
+      {
+        i = (i - 1);
+      }
+      continue;
+    }
+  }
+  if (b) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..764a27a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-sub-sub/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,58 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool b = false;
+  int i = 0;
+  float a = 0.0f;
+  b = false;
+  i = 1;
+  {
+    while(true) {
+      int x_7 = i;
+      if ((x_7 > 0)) {
+      } else {
+        break;
+      }
+      int x_8 = i;
+      a = (3.0f - float(x_8));
+      float x_40 = a;
+      if (((2.0f - x_40) == 0.0f)) {
+        b = true;
+      }
+      {
+        int x_9 = i;
+        i = (x_9 - 1);
+      }
+      continue;
+    }
+  }
+  bool x_45 = b;
+  if (x_45) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..298d502 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int five;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  i = x_6.five;
+  {
+    while(true) {
+      if ((i > 0)) {
+      } else {
+        break;
+      }
+      i = (i - 1);
+      i = (i - 1);
+      {
+      }
+      continue;
+    }
+  }
+  if ((i == -1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.wgsl.expected.ir.glsl
index 72ca17c..dd859ee 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-merge-var-sub/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int five;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int x_26 = x_6.five;
+  i = x_26;
+  {
+    while(true) {
+      int x_31 = i;
+      if ((x_31 > 0)) {
+      } else {
+        break;
+      }
+      int x_34 = i;
+      i = (x_34 - 1);
+      int x_36 = i;
+      i = (x_36 - 1);
+      {
+      }
+      continue;
+    }
+  }
+  int x_38 = i;
+  if ((x_38 == -1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1cd1937 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec3 v = vec3(0.0f);
+  float d = 0.0f;
+  v = mix(vec3(5.0f, 8.0f, -12.19999980926513671875f), vec3(1.0f, 4.90000009536743164062f, -2.09999990463256835938f), vec3(x_6.one));
+  d = distance(v, vec3(1.0f, 4.90000009536743164062f, -2.09999990463256835938f));
+  if ((d < 0.10000000149011611938f)) {
+    x_GLF_color = vec4(v.x, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.wgsl.expected.ir.glsl
index 72ca17c..086c2a6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-mix-uniform-weight/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec3 v = vec3(0.0f);
+  float d = 0.0f;
+  float x_36 = x_6.one;
+  v = mix(vec3(5.0f, 8.0f, -12.19999980926513671875f), vec3(1.0f, 4.90000009536743164062f, -2.09999990463256835938f), vec3(x_36, x_36, x_36));
+  vec3 x_39 = v;
+  d = distance(x_39, vec3(1.0f, 4.90000009536743164062f, -2.09999990463256835938f));
+  float x_41 = d;
+  if ((x_41 < 0.10000000149011611938f)) {
+    float x_47 = v.x;
+    x_GLF_color = vec4(x_47, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-div/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-div/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-div/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-div/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-div/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-div/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-div/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-div/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..d852105 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x = 0;
+  x = -((5 - x_6.one));
+  if ((x == -4)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.wgsl.expected.ir.glsl
index 72ca17c..08f4841 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-negate-sub/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x = 0;
+  int x_26 = x_6.one;
+  x = -((5 - x_26));
+  int x_29 = x;
+  if ((x_29 == -4)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-redundant-mix/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-redundant-mix/0-opt.spvasm.expected.ir.glsl
index e1168e3..b21b227 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-redundant-mix/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-redundant-mix/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  if (all((mix(x_5.injectionSwitch, vec2(1.0f), vec2(0.0f)) == vec2(0.0f, 1.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-redundant-mix/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-redundant-mix/0-opt.wgsl.expected.ir.glsl
index 72ca17c..223a5e5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-redundant-mix/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-redundant-mix/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 x_27 = x_5.injectionSwitch;
+  if (all((mix(x_27, vec2(1.0f), vec2(0.0f)) == vec2(0.0f, 1.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-extract/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-shuffle-mix/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-split-vector-init/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-split-vector-init/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..386be58 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-split-vector-init/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-split-vector-init/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,35 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  v = vec4(vec2(1.0f), v.zw);
+  v = vec4(v.xy, vec2(2.0f));
+  if (all((v == vec4(1.0f, 1.0f, 2.0f, 2.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-split-vector-init/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-split-vector-init/0-opt.wgsl.expected.ir.glsl
index 72ca17c..39fa3fb 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-split-vector-init/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-split-vector-init/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  vec4 x_23 = v;
+  v = vec4(1.0f, 1.0f, x_23[2u], x_23[3u]);
+  vec4 x_25 = v;
+  v = vec4(x_25[0u], x_25[1u], 2.0f, 2.0f);
+  vec4 x_27 = v;
+  if (all((x_27 == vec4(1.0f, 1.0f, 2.0f, 2.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1fbf8e8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 zeroOne;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v = vec2(0.0f);
+  float d = 0.0f;
+  v = mix(vec2(2.0f, 3.0f), vec2(4.0f, 5.0f), x_6.zeroOne);
+  d = distance(v, vec2(2.0f, 5.0f));
+  if ((d < 0.10000000149011611938f)) {
+    x_GLF_color = vec4((v.x - 1.0f), (v.y - 5.0f), 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.wgsl.expected.ir.glsl
index 72ca17c..e7ce3fe 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-folding-rules-vec-mix-uniform/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,46 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 zeroOne;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v = vec2(0.0f);
+  float d = 0.0f;
+  vec2 x_37 = x_6.zeroOne;
+  v = mix(vec2(2.0f, 3.0f), vec2(4.0f, 5.0f), x_37);
+  vec2 x_39 = v;
+  d = distance(x_39, vec2(2.0f, 5.0f));
+  float x_41 = d;
+  if ((x_41 < 0.10000000149011611938f)) {
+    float x_47 = v.x;
+    float x_50 = v.y;
+    x_GLF_color = vec4((x_47 - 1.0f), (x_50 - 5.0f), 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-array-initializing-modulo/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-array-initializing-modulo/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-array-initializing-modulo/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-array-initializing-modulo/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-array-initializing-modulo/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-array-initializing-modulo/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-array-initializing-modulo/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-array-initializing-modulo/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..9eef80e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,72 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float arr[3] = float[3](0.0f, 0.0f, 0.0f);
+  int i = 0;
+  arr = float[3](x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[2].el);
+  i = 1;
+  {
+    while(true) {
+      int v = i;
+      if ((v < min(x_9.x_GLF_uniform_int_values[2].el, 3))) {
+      } else {
+        break;
+      }
+      int x_53 = x_9.x_GLF_uniform_int_values[2].el;
+      arr[x_53] = (arr[x_53] + x_6.x_GLF_uniform_float_values[0].el);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((arr[x_9.x_GLF_uniform_int_values[2].el] == x_6.x_GLF_uniform_float_values[3].el)) {
+    float v_1 = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_9.x_GLF_uniform_int_values[0].el);
+    float v_3 = float(x_9.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_9.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.wgsl.expected.ir.glsl
index 72ca17c..411ee83 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-loop-min-increment-array-element/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,88 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float arr[3] = float[3](0.0f, 0.0f, 0.0f);
+  int i = 0;
+  float x_36 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_38 = x_6.x_GLF_uniform_float_values[1].el;
+  float x_40 = x_6.x_GLF_uniform_float_values[2].el;
+  arr = float[3](x_36, x_38, x_40);
+  i = 1;
+  {
+    while(true) {
+      int x_46 = i;
+      int x_48 = x_9.x_GLF_uniform_int_values[2].el;
+      if ((x_46 < min(x_48, 3))) {
+      } else {
+        break;
+      }
+      int x_53 = x_9.x_GLF_uniform_int_values[2].el;
+      float x_55 = x_6.x_GLF_uniform_float_values[0].el;
+      float x_57 = arr[x_53];
+      arr[x_53] = (x_57 + x_55);
+      {
+        int x_60 = i;
+        i = (x_60 + 1);
+      }
+      continue;
+    }
+  }
+  int x_63 = x_9.x_GLF_uniform_int_values[2].el;
+  float x_65 = arr[x_63];
+  float x_67 = x_6.x_GLF_uniform_float_values[3].el;
+  if ((x_65 == x_67)) {
+    int x_73 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_76 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_79 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_82 = x_9.x_GLF_uniform_int_values[1].el;
+    float v = float(x_73);
+    float v_1 = float(x_76);
+    float v_2 = float(x_79);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_82));
+  } else {
+    int x_86 = x_9.x_GLF_uniform_int_values[0].el;
+    float x_87 = float(x_86);
+    x_GLF_color = vec4(x_87, x_87, x_87, x_87);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..975511b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,73 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = x_6.x_GLF_uniform_int_values[2].el;
+  i = x_6.x_GLF_uniform_int_values[2].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      int x_38 = i;
+      switch(x_38) {
+        case 0:
+        case -1:
+        {
+          a = x_6.x_GLF_uniform_int_values[1].el;
+          break;
+        }
+        default:
+        {
+          break;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == x_6.x_GLF_uniform_int_values[1].el)) {
+    float v = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[2].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[2].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.wgsl.expected.ir.glsl
index 72ca17c..b2d9388 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-for-switch-fallthrough/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  int x_26 = x_6.x_GLF_uniform_int_values[2].el;
+  a = x_26;
+  int x_28 = x_6.x_GLF_uniform_int_values[2].el;
+  i = x_28;
+  {
+    while(true) {
+      int x_33 = i;
+      int x_35 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_33 < x_35)) {
+      } else {
+        break;
+      }
+      int x_38 = i;
+      switch(x_38) {
+        case 0:
+        case -1:
+        {
+          int x_42 = x_6.x_GLF_uniform_int_values[1].el;
+          a = x_42;
+          break;
+        }
+        default:
+        {
+          break;
+        }
+      }
+      {
+        int x_43 = i;
+        i = (x_43 + 1);
+      }
+      continue;
+    }
+  }
+  int x_45 = a;
+  int x_47 = x_6.x_GLF_uniform_int_values[1].el;
+  if ((x_45 == x_47)) {
+    int x_53 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_56 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_59 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_62 = x_6.x_GLF_uniform_int_values[1].el;
+    float v = float(x_53);
+    float v_1 = float(x_56);
+    float v_2 = float(x_59);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_62));
+  } else {
+    int x_66 = x_6.x_GLF_uniform_int_values[2].el;
+    float x_67 = float(x_66);
+    x_GLF_color = vec4(x_67, x_67, x_67, x_67);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..7451a37 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,59 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_10;
+void main_1() {
+  float f0 = 0.0f;
+  float f1 = 0.0f;
+  f0 = 1.0f;
+  f1 = fract(f0);
+  if ((tint_symbol.x > x_8.x_GLF_uniform_float_values[0].el)) {
+    float v = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_1 = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_10.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(f1);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..06f72ba 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-asin-undefined-never-used/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,67 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_10;
+void main_1() {
+  float f0 = 0.0f;
+  float f1 = 0.0f;
+  f0 = 1.0f;
+  float x_35 = f0;
+  f1 = fract(x_35);
+  float x_38 = tint_symbol.x;
+  float x_40 = x_8.x_GLF_uniform_float_values[0].el;
+  if ((x_38 > x_40)) {
+    int x_46 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_49 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_52 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_55 = x_10.x_GLF_uniform_int_values[1].el;
+    float v = float(x_46);
+    float v_1 = float(x_49);
+    float v_2 = float(x_52);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_55));
+  } else {
+    float x_58 = f1;
+    x_GLF_color = vec4(x_58, x_58, x_58, x_58);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b2f16a6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v1 = vec2(0.0f);
+  vec2 b = vec2(0.0f);
+  float a = 0.0f;
+  bool x_51 = false;
+  bool x_52 = false;
+  v1 = vec2(x_6.x_GLF_uniform_float_values[0].el);
+  b = fract(v1);
+  a = smoothstep(vec2(1.0f), vec2(2.0f), b)[0u];
+  x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, a, a, x_6.x_GLF_uniform_float_values[0].el);
+  bool x_46 = (b.x < 1.0f);
+  x_52 = x_46;
+  if (x_46) {
+    x_51 = (b.y < 1.0f);
+    x_52 = x_51;
+  }
+  if (x_52) {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, b.x, b.y, x_6.x_GLF_uniform_float_values[0].el);
+  } else {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.ir.glsl
index 72ca17c..9e3b54b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fract-smoothstep-undefined/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,71 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v1 = vec2(0.0f);
+  vec2 b = vec2(0.0f);
+  float a = 0.0f;
+  bool x_51 = false;
+  bool x_52_phi = false;
+  float x_30 = x_6.x_GLF_uniform_float_values[0].el;
+  v1 = vec2(x_30, x_30);
+  vec2 x_32 = v1;
+  b = fract(x_32);
+  vec2 x_34 = b;
+  a = smoothstep(vec2(1.0f), vec2(2.0f), x_34)[0u];
+  float x_38 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_39 = a;
+  float x_40 = a;
+  float x_42 = x_6.x_GLF_uniform_float_values[0].el;
+  x_GLF_color = vec4(x_38, x_39, x_40, x_42);
+  float x_45 = b.x;
+  bool x_46 = (x_45 < 1.0f);
+  x_52_phi = x_46;
+  if (x_46) {
+    float x_50 = b.y;
+    x_51 = (x_50 < 1.0f);
+    x_52_phi = x_51;
+  }
+  bool x_52 = x_52_phi;
+  if (x_52) {
+    float x_57 = x_6.x_GLF_uniform_float_values[0].el;
+    float x_59 = b.x;
+    float x_61 = b.y;
+    float x_63 = x_6.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_57, x_59, x_61, x_63);
+  } else {
+    float x_66 = x_6.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_66, x_66, x_66, x_66);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-bitwise-not/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-bitwise-not/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-bitwise-not/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-bitwise-not/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-bitwise-not/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-bitwise-not/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-bitwise-not/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-bitwise-not/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-clamp-array-access/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-clamp-array-access/0-opt.spvasm.expected.ir.glsl
index 37c14ad..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-clamp-array-access/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-clamp-array-access/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-clamp-array-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-clamp-array-access/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-clamp-array-access/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-clamp-array-access/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-multiply/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-multiply/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-multiply/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-multiply/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-multiply/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-multiply/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-multiply/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-fragcoord-multiply/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.spvasm.expected.ir.glsl
index 0480431..4527ffe 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,99 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_11;
+float func_f1_(inout float x) {
+  {
+    while(true) {
+      if (true) {
+      } else {
+        break;
+      }
+      {
+        while(true) {
+          if ((tint_symbol.y < x_8.x_GLF_uniform_float_values[2].el)) {
+            {
+              while(true) {
+                {
+                  float x_88 = tint_symbol.x;
+                  float x_90 = x_8.x_GLF_uniform_float_values[2].el;
+                  if (!((x_88 < x_90))) { break; }
+                }
+                continue;
+              }
+            }
+          }
+          if ((x < x_8.x_GLF_uniform_float_values[3].el)) {
+            float x_99 = x_8.x_GLF_uniform_float_values[1].el;
+            return x_99;
+          }
+          {
+            float x_101 = tint_symbol.y;
+            float x_103 = x_8.x_GLF_uniform_float_values[2].el;
+            if (!((x_101 < x_103))) { break; }
+          }
+          continue;
+        }
+      }
+      {
+      }
+      continue;
+    }
+  }
+  float x_106 = x_8.x_GLF_uniform_float_values[0].el;
+  return x_106;
+}
+void main_1() {
+  float param = 0.0f;
+  param = tint_symbol.x;
+  float x_42 = func_f1_(param);
+  if ((x_42 == x_8.x_GLF_uniform_float_values[1].el)) {
+    float v = float(x_11.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_11.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_11.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_11.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_11.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.wgsl.expected.ir.glsl
index 0480431..63cc4eb 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-fragcoord-condition-always-return/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,111 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_11;
+float func_f1_(inout float x) {
+  {
+    while(true) {
+      if (true) {
+      } else {
+        break;
+      }
+      {
+        while(true) {
+          float x_77 = tint_symbol.y;
+          float x_79 = x_8.x_GLF_uniform_float_values[2].el;
+          if ((x_77 < x_79)) {
+            {
+              while(true) {
+                {
+                  float x_88 = tint_symbol.x;
+                  float x_90 = x_8.x_GLF_uniform_float_values[2].el;
+                  if (!((x_88 < x_90))) { break; }
+                }
+                continue;
+              }
+            }
+          }
+          float x_92 = x;
+          float x_94 = x_8.x_GLF_uniform_float_values[3].el;
+          if ((x_92 < x_94)) {
+            float x_99 = x_8.x_GLF_uniform_float_values[1].el;
+            return x_99;
+          }
+          {
+            float x_101 = tint_symbol.y;
+            float x_103 = x_8.x_GLF_uniform_float_values[2].el;
+            if (!((x_101 < x_103))) { break; }
+          }
+          continue;
+        }
+      }
+      {
+      }
+      continue;
+    }
+  }
+  float x_106 = x_8.x_GLF_uniform_float_values[0].el;
+  return x_106;
+}
+void main_1() {
+  float param = 0.0f;
+  float x_41 = tint_symbol.x;
+  param = x_41;
+  float x_42 = func_f1_(param);
+  float x_44 = x_8.x_GLF_uniform_float_values[1].el;
+  if ((x_42 == x_44)) {
+    int x_50 = x_11.x_GLF_uniform_int_values[0].el;
+    int x_53 = x_11.x_GLF_uniform_int_values[1].el;
+    int x_56 = x_11.x_GLF_uniform_int_values[1].el;
+    int x_59 = x_11.x_GLF_uniform_int_values[0].el;
+    float v = float(x_50);
+    float v_1 = float(x_53);
+    float v_2 = float(x_56);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_59));
+  } else {
+    int x_63 = x_11.x_GLF_uniform_int_values[1].el;
+    float x_64 = float(x_63);
+    x_GLF_color = vec4(x_64, x_64, x_64, x_64);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.spvasm.expected.ir.glsl
index e1168e3..5404776 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,79 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct buf2 {
+  float zero;
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_8;
+uniform buf2 x_10;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_13;
+bool continue_execution = true;
+bool func_vf2_(inout vec2 pos) {
+  if ((pos.x < x_8.x_GLF_uniform_float_values[0].el)) {
+    return true;
+  }
+  if ((pos.y > x_8.x_GLF_uniform_float_values[0].el)) {
+    return false;
+  }
+  if ((x_10.zero > x_8.x_GLF_uniform_float_values[1].el)) {
+    return true;
+  }
+  return true;
+}
+void main_1() {
+  vec2 param = vec2(0.0f);
+  param = tint_symbol.xy;
+  bool x_44 = func_vf2_(param);
+  if (x_44) {
+    continue_execution = false;
+  }
+  float v = float(x_13.x_GLF_uniform_int_values[0].el);
+  float v_1 = float(x_13.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_13.x_GLF_uniform_int_values[1].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_13.x_GLF_uniform_int_values[0].el));
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..deabe0c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-function-vec2-never-discard/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct buf2 {
+  float zero;
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_8;
+uniform buf2 x_10;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_13;
+bool continue_execution = true;
+bool func_vf2_(inout vec2 pos) {
+  float x_62 = pos.x;
+  float x_64 = x_8.x_GLF_uniform_float_values[0].el;
+  if ((x_62 < x_64)) {
+    return true;
+  }
+  float x_69 = pos.y;
+  float x_71 = x_8.x_GLF_uniform_float_values[0].el;
+  if ((x_69 > x_71)) {
+    return false;
+  }
+  float x_76 = x_10.zero;
+  float x_78 = x_8.x_GLF_uniform_float_values[1].el;
+  if ((x_76 > x_78)) {
+    return true;
+  }
+  return true;
+}
+void main_1() {
+  vec2 param = vec2(0.0f);
+  vec4 x_42 = tint_symbol;
+  param = vec2(x_42[0u], x_42[1u]);
+  bool x_44 = func_vf2_(param);
+  if (x_44) {
+    continue_execution = false;
+  }
+  int x_48 = x_13.x_GLF_uniform_int_values[0].el;
+  int x_51 = x_13.x_GLF_uniform_int_values[1].el;
+  int x_54 = x_13.x_GLF_uniform_int_values[1].el;
+  int x_57 = x_13.x_GLF_uniform_int_values[0].el;
+  float v = float(x_48);
+  float v_1 = float(x_51);
+  float v_2 = float(x_54);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_57));
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..7fedbc9 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,77 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  x_GLF_global_loop_count = 0;
+  float v = float(x_6.x_GLF_uniform_int_values[1].el);
+  float v_1 = float(x_6.x_GLF_uniform_int_values[0].el);
+  float v_2 = float(x_6.x_GLF_uniform_int_values[0].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[1].el));
+  {
+    while(true) {
+      bool x_54 = false;
+      bool x_55 = false;
+      if ((x_GLF_global_loop_count < 100)) {
+      } else {
+        break;
+      }
+      x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      x_55 = true;
+      if (false) {
+        x_54 = (x_6.x_GLF_uniform_int_values[0].el == x_6.x_GLF_uniform_int_values[1].el);
+        x_55 = x_54;
+      }
+      if (!(x_55)) {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      if ((x_GLF_global_loop_count < 100)) {
+      } else {
+        break;
+      }
+      x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el));
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..9b4059b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-bound-true-logical-or/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  x_GLF_global_loop_count = 0;
+  int x_26 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_29 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_32 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_35 = x_6.x_GLF_uniform_int_values[1].el;
+  float v = float(x_26);
+  float v_1 = float(x_29);
+  float v_2 = float(x_32);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_35));
+  {
+    while(true) {
+      bool x_54 = false;
+      bool x_55_phi = false;
+      int x_42 = x_GLF_global_loop_count;
+      if ((x_42 < 100)) {
+      } else {
+        break;
+      }
+      int x_45 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_45 + 1);
+      x_55_phi = true;
+      if (false) {
+        int x_51 = x_6.x_GLF_uniform_int_values[0].el;
+        int x_53 = x_6.x_GLF_uniform_int_values[1].el;
+        x_54 = (x_51 == x_53);
+        x_55_phi = x_54;
+      }
+      bool x_55 = x_55_phi;
+      if (!(x_55)) {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      int x_63 = x_GLF_global_loop_count;
+      if ((x_63 < 100)) {
+      } else {
+        break;
+      }
+      int x_66 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_66 + 1);
+      int x_69 = x_6.x_GLF_uniform_int_values[0].el;
+      float x_70 = float(x_69);
+      x_GLF_color = vec4(x_70, x_70, x_70, x_70);
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..e2ce129 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-float-accumulate-matrix/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,164 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[18];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct buf2 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf1 x_7;
+uniform buf0 x_12;
+uniform buf2 x_15;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  mat4 m = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  vec4 v = vec4(0.0f);
+  float f = 0.0f;
+  int a = 0;
+  int b = 0;
+  float zero = 0.0f;
+  x_GLF_global_loop_count = 0;
+  float x_62 = x_7.x_GLF_uniform_float_values[1].el;
+  float x_64 = x_7.x_GLF_uniform_float_values[2].el;
+  float x_66 = x_7.x_GLF_uniform_float_values[3].el;
+  float x_68 = x_7.x_GLF_uniform_float_values[4].el;
+  float x_70 = x_7.x_GLF_uniform_float_values[5].el;
+  float x_72 = x_7.x_GLF_uniform_float_values[6].el;
+  float x_74 = x_7.x_GLF_uniform_float_values[7].el;
+  float x_76 = x_7.x_GLF_uniform_float_values[8].el;
+  float x_78 = x_7.x_GLF_uniform_float_values[9].el;
+  float x_80 = x_7.x_GLF_uniform_float_values[10].el;
+  float x_82 = x_7.x_GLF_uniform_float_values[11].el;
+  float x_84 = x_7.x_GLF_uniform_float_values[12].el;
+  float x_86 = x_7.x_GLF_uniform_float_values[13].el;
+  float x_88 = x_7.x_GLF_uniform_float_values[14].el;
+  float x_90 = x_7.x_GLF_uniform_float_values[15].el;
+  float x_92 = x_7.x_GLF_uniform_float_values[16].el;
+  vec4 v_1 = vec4(x_62, x_64, x_66, x_68);
+  vec4 v_2 = vec4(x_70, x_72, x_74, x_76);
+  vec4 v_3 = vec4(x_78, x_80, x_82, x_84);
+  m = mat4(v_1, v_2, v_3, vec4(x_86, x_88, x_90, x_92));
+  float x_99 = x_7.x_GLF_uniform_float_values[1].el;
+  float x_101 = x_7.x_GLF_uniform_float_values[2].el;
+  float x_103 = x_7.x_GLF_uniform_float_values[3].el;
+  float x_105 = x_7.x_GLF_uniform_float_values[4].el;
+  v = vec4(x_99, x_101, x_103, x_105);
+  float x_108 = x_7.x_GLF_uniform_float_values[1].el;
+  f = x_108;
+  int x_110 = x_12.x_GLF_uniform_int_values[0].el;
+  a = x_110;
+  {
+    while(true) {
+      int x_115 = x_GLF_global_loop_count;
+      if ((x_115 < 10)) {
+      } else {
+        break;
+      }
+      int x_118 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_118 + 1);
+      int x_120 = a;
+      int x_121 = min(max(x_120, 0), 3);
+      float x_123 = x_7.x_GLF_uniform_float_values[1].el;
+      float x_125 = v[x_121];
+      v[x_121] = (x_125 + x_123);
+      int x_129 = x_12.x_GLF_uniform_int_values[2].el;
+      b = x_129;
+      {
+        while(true) {
+          int x_134 = x_GLF_global_loop_count;
+          if ((x_134 < 10)) {
+          } else {
+            break;
+          }
+          int x_137 = x_GLF_global_loop_count;
+          x_GLF_global_loop_count = (x_137 + 1);
+          int x_139 = b;
+          float x_142 = v[min(max(x_139, 0), 3)];
+          int x_143 = b;
+          int x_145 = a;
+          float x_147 = m[min(max(x_143, 0), 3)][x_145];
+          float x_149 = f;
+          f = (x_149 + (x_142 * x_147));
+          {
+            int x_151 = b;
+            b = (x_151 - 1);
+          }
+          continue;
+        }
+      }
+      int x_153 = a;
+      float x_156 = x_7.x_GLF_uniform_float_values[1].el;
+      m[1][min(max(x_153, 0), 3)] = x_156;
+      int x_159 = x_15.one;
+      int x_161 = x_12.x_GLF_uniform_int_values[0].el;
+      if ((x_159 == x_161)) {
+        continue_execution = false;
+      }
+      int x_166 = x_15.one;
+      int x_168 = x_12.x_GLF_uniform_int_values[1].el;
+      if ((x_166 == x_168)) {
+        continue_execution = false;
+      }
+      {
+        int x_172 = a;
+        a = (x_172 + 1);
+      }
+      continue;
+    }
+  }
+  float x_175 = x_7.x_GLF_uniform_float_values[0].el;
+  zero = x_175;
+  float x_176 = f;
+  float x_178 = x_7.x_GLF_uniform_float_values[17].el;
+  if (!((x_176 == x_178))) {
+    float x_183 = x_7.x_GLF_uniform_float_values[1].el;
+    zero = x_183;
+  }
+  float x_184 = f;
+  float x_185 = zero;
+  int x_187 = x_12.x_GLF_uniform_int_values[0].el;
+  float x_189 = f;
+  x_GLF_color = vec4(x_184, x_185, float(x_187), x_189);
+}
+main_out main() {
+  main_1();
+  main_out v_4 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_4;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.spvasm.expected.ir.glsl
index 0480431..8884268 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,77 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+int func_() {
+  {
+    while(true) {
+      if ((x_GLF_global_loop_count < 100)) {
+      } else {
+        break;
+      }
+      x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      int x_78 = x_7.x_GLF_uniform_int_values[0].el;
+      return x_78;
+    }
+  }
+  int x_80 = x_7.x_GLF_uniform_int_values[2].el;
+  return x_80;
+}
+void main_1() {
+  int a = 0;
+  x_GLF_global_loop_count = 0;
+  {
+    while(true) {
+      x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      if (false) {
+        return;
+      }
+      {
+        int x_39 = x_GLF_global_loop_count;
+        if (!((true & (x_39 < 100)))) { break; }
+      }
+      continue;
+    }
+  }
+  int x_42 = func_();
+  a = x_42;
+  if ((a == x_7.x_GLF_uniform_int_values[2].el)) {
+    float v = float(x_7.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_7.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_7.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_7.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.wgsl.expected.ir.glsl
index 0480431..d978a73 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-main-function-call/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,88 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+int func_() {
+  {
+    while(true) {
+      int x_72 = x_GLF_global_loop_count;
+      if ((x_72 < 100)) {
+      } else {
+        break;
+      }
+      int x_75 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_75 + 1);
+      int x_78 = x_7.x_GLF_uniform_int_values[0].el;
+      return x_78;
+    }
+  }
+  int x_80 = x_7.x_GLF_uniform_int_values[2].el;
+  return x_80;
+}
+void main_1() {
+  int a = 0;
+  x_GLF_global_loop_count = 0;
+  {
+    while(true) {
+      int x_35 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_35 + 1);
+      if (false) {
+        return;
+      }
+      {
+        int x_39 = x_GLF_global_loop_count;
+        if (!((true & (x_39 < 100)))) { break; }
+      }
+      continue;
+    }
+  }
+  int x_42 = func_();
+  a = x_42;
+  int x_43 = a;
+  int x_45 = x_7.x_GLF_uniform_int_values[2].el;
+  if ((x_43 == x_45)) {
+    int x_51 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_54 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_57 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_60 = x_7.x_GLF_uniform_int_values[0].el;
+    float v = float(x_51);
+    float v_1 = float(x_54);
+    float v_2 = float(x_57);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_60));
+  } else {
+    int x_64 = x_7.x_GLF_uniform_int_values[1].el;
+    float x_65 = float(x_64);
+    x_GLF_color = vec4(x_65, x_65, x_65, x_65);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.spvasm.expected.ir.glsl
index d4bb1c9..f98792f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.spvasm.expected.ir.glsl
@@ -1,11 +1,88 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x_23 = 0;
+  int x_27 = 0;
+  int x_37 = 0;
+  int x_45 = 0;
+  x_23 = 0;
+  {
+    while(true) {
+      int x_24 = 0;
+      x_27 = x_5.x_GLF_uniform_int_values[1].el;
+      if ((x_23 < (100 - x_27))) {
+      } else {
+        break;
+      }
+      {
+        x_24 = (x_23 + 1);
+        x_23 = x_24;
+      }
+      continue;
+    }
+  }
+  int x_40 = 0;
+  int x_32 = x_5.x_GLF_uniform_int_values[0].el;
+  x_45 = 1;
+  if ((x_32 == 0)) {
+    x_37 = 1;
+    x_40 = x_23;
+    {
+      while(true) {
+        int x_41 = 0;
+        int x_38 = 0;
+        if ((x_40 < 100)) {
+        } else {
+          break;
+        }
+        {
+          x_41 = (x_40 + 1);
+          x_38 = (x_37 * (1 - x_37));
+          x_37 = x_38;
+          x_40 = x_41;
+        }
+        continue;
+      }
+    }
+    x_45 = x_37;
+  }
+  if ((x_45 == x_32)) {
+    float x_50 = float(x_27);
+    float x_51 = float(x_32);
+    x_GLF_color = vec4(x_50, x_51, x_51, x_50);
+  } else {
+    x_GLF_color = vec4(float(x_32));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.wgsl.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-multiply-one-minus/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..37260a7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  x_GLF_global_loop_count = 0;
+  {
+    while(true) {
+      if ((x_GLF_global_loop_count < 100)) {
+      } else {
+        break;
+      }
+      x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      if (((x_GLF_global_loop_count * x_GLF_global_loop_count) > 10)) {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  if ((x_GLF_global_loop_count == 4)) {
+    float v = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..8792710 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-global-loop-counter-squared-comparison/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,72 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  x_GLF_global_loop_count = 0;
+  {
+    while(true) {
+      int x_30 = x_GLF_global_loop_count;
+      if ((x_30 < 100)) {
+      } else {
+        break;
+      }
+      int x_33 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_33 + 1);
+      int x_35 = x_GLF_global_loop_count;
+      int x_36 = x_GLF_global_loop_count;
+      if (((x_35 * x_36) > 10)) {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  int x_41 = x_GLF_global_loop_count;
+  if ((x_41 == 4)) {
+    int x_47 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_50 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_53 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_56 = x_6.x_GLF_uniform_int_values[0].el;
+    float v = float(x_47);
+    float v_1 = float(x_50);
+    float v_2 = float(x_53);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_56));
+  } else {
+    int x_60 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_61 = float(x_60);
+    x_GLF_color = vec4(x_61, x_61, x_61, x_61);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..d964ae4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  a = x_6.zero;
+  if ((a == 0)) {
+    a = (a + 1);
+  } else {
+    a = (a + 1);
+  }
+  if ((a == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.wgsl.expected.ir.glsl
index 72ca17c..284d6d6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-conversion-identical-branches/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int x_25 = x_6.zero;
+  a = x_25;
+  int x_26 = a;
+  if ((x_26 == 0)) {
+    int x_31 = a;
+    a = (x_31 + 1);
+  } else {
+    int x_33 = a;
+    a = (x_33 + 1);
+  }
+  int x_35 = a;
+  if ((x_35 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.spvasm.expected.ir.glsl
index d4bb1c9..a0ff02b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.spvasm.expected.ir.glsl
@@ -1,11 +1,69 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+void main_1() {
+  x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el);
+  float x_36 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((tint_symbol.y >= x_36)) {
+    int x_41 = x_8.x_GLF_uniform_int_values[1].el;
+    switch(x_41) {
+      case 0:
+      case 16:
+      {
+        float x_46 = float(x_8.x_GLF_uniform_int_values[0].el);
+        float x_47 = float(x_41);
+        x_GLF_color = vec4(x_46, x_47, x_47, x_46);
+        break;
+      }
+      default:
+      {
+        break;
+      }
+    }
+  }
+  if ((x_8.x_GLF_uniform_int_values[1].el == x_8.x_GLF_uniform_int_values[0].el)) {
+    x_GLF_color = vec4(x_36);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.wgsl.expected.ir.glsl
index 72ca17c..f63d447 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-switch-fallthrough/0.wgsl.expected.ir.glsl
@@ -1,11 +1,74 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+void main_1() {
+  float x_31 = x_6.x_GLF_uniform_float_values[1].el;
+  x_GLF_color = vec4(x_31, x_31, x_31, x_31);
+  float x_34 = tint_symbol.y;
+  float x_36 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_34 >= x_36)) {
+    int x_41 = x_8.x_GLF_uniform_int_values[1].el;
+    switch(x_41) {
+      case 0:
+      case 16:
+      {
+        int x_45 = x_8.x_GLF_uniform_int_values[0].el;
+        float x_46 = float(x_45);
+        float x_47 = float(x_41);
+        x_GLF_color = vec4(x_46, x_47, x_47, x_46);
+        break;
+      }
+      default:
+      {
+        break;
+      }
+    }
+  }
+  int x_50 = x_8.x_GLF_uniform_int_values[1].el;
+  int x_52 = x_8.x_GLF_uniform_int_values[0].el;
+  if ((x_50 == x_52)) {
+    x_GLF_color = vec4(x_36, x_36, x_36, x_36);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..39b99f8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,79 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int c = 0;
+  bool x_65 = false;
+  bool x_66 = false;
+  a = x_6.x_GLF_uniform_int_values[0].el;
+  b = x_6.x_GLF_uniform_int_values[1].el;
+  c = x_6.x_GLF_uniform_int_values[2].el;
+  {
+    while(true) {
+      if ((a < b)) {
+      } else {
+        break;
+      }
+      a = (a + 1);
+      if ((c == x_6.x_GLF_uniform_int_values[2].el)) {
+        c = (c * x_6.x_GLF_uniform_int_values[3].el);
+      } else {
+        if (true) {
+          {
+          }
+          continue;
+        }
+      }
+      {
+      }
+      continue;
+    }
+  }
+  bool x_59 = (a == b);
+  x_66 = x_59;
+  if (x_59) {
+    x_65 = (c == x_6.x_GLF_uniform_int_values[3].el);
+    x_66 = x_65;
+  }
+  if (x_66) {
+    float v = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.wgsl.expected.ir.glsl
index 72ca17c..75c50b8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-continue/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int c = 0;
+  bool x_65 = false;
+  bool x_66_phi = false;
+  int x_29 = x_6.x_GLF_uniform_int_values[0].el;
+  a = x_29;
+  int x_31 = x_6.x_GLF_uniform_int_values[1].el;
+  b = x_31;
+  int x_33 = x_6.x_GLF_uniform_int_values[2].el;
+  c = x_33;
+  {
+    while(true) {
+      int x_38 = a;
+      int x_39 = b;
+      if ((x_38 < x_39)) {
+      } else {
+        break;
+      }
+      int x_42 = a;
+      a = (x_42 + 1);
+      int x_44 = c;
+      int x_46 = x_6.x_GLF_uniform_int_values[2].el;
+      if ((x_44 == x_46)) {
+        int x_52 = x_6.x_GLF_uniform_int_values[3].el;
+        int x_53 = c;
+        c = (x_53 * x_52);
+      } else {
+        if (true) {
+          {
+          }
+          continue;
+        }
+      }
+      {
+      }
+      continue;
+    }
+  }
+  int x_57 = a;
+  int x_58 = b;
+  bool x_59 = (x_57 == x_58);
+  x_66_phi = x_59;
+  if (x_59) {
+    int x_62 = c;
+    int x_64 = x_6.x_GLF_uniform_int_values[3].el;
+    x_65 = (x_62 == x_64);
+    x_66_phi = x_65;
+  }
+  bool x_66 = x_66_phi;
+  if (x_66) {
+    int x_71 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_74 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_77 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_80 = x_6.x_GLF_uniform_int_values[2].el;
+    float v = float(x_71);
+    float v_1 = float(x_74);
+    float v_2 = float(x_77);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_80));
+  } else {
+    int x_84 = x_6.x_GLF_uniform_int_values[0].el;
+    float x_85 = float(x_84);
+    x_GLF_color = vec4(x_85, x_85, x_85, x_85);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..65ee932 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,66 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  int a = 0;
+  a = 1;
+  {
+    while(true) {
+      if ((a >= x_6.x_GLF_uniform_int_values[0].el)) {
+        break;
+      }
+      if (true) {
+        continue_execution = false;
+      }
+      a = (a + 1);
+      {
+        int x_39 = a;
+        if (!((x_39 != 1))) { break; }
+      }
+      continue;
+    }
+  }
+  if ((a == 1)) {
+    float v = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(1.0f, v, v_1, float(x_6.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  main_out v_2 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_2;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..92ce920 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-if-true-discard-in-do-while-never-reached/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,75 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  int a = 0;
+  a = 1;
+  {
+    while(true) {
+      int x_29 = a;
+      int x_31 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_29 >= x_31)) {
+        break;
+      }
+      if (true) {
+        continue_execution = false;
+      }
+      int x_37 = a;
+      a = (x_37 + 1);
+      {
+        int x_39 = a;
+        if (!((x_39 != 1))) { break; }
+      }
+      continue;
+    }
+  }
+  int x_41 = a;
+  if ((x_41 == 1)) {
+    int x_47 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_50 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_53 = x_6.x_GLF_uniform_int_values[1].el;
+    float v = float(x_47);
+    float v_1 = float(x_50);
+    x_GLF_color = vec4(1.0f, v, v_1, float(x_53));
+  } else {
+    int x_57 = x_6.x_GLF_uniform_int_values[0].el;
+    float x_58 = float(x_57);
+    x_GLF_color = vec4(x_58, x_58, x_58, x_58);
+  }
+}
+main_out main() {
+  main_1();
+  main_out v_2 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_2;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..e666fb1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,66 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = 0;
+  i = 0;
+  {
+    while(true) {
+      if ((i < (7 + x_7.three))) {
+      } else {
+        break;
+      }
+      int x_37 = i;
+      switch(x_37) {
+        case 7:
+        case 8:
+        {
+          a = (a + 1);
+          break;
+        }
+        default:
+        {
+          break;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == 2)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..5e482e2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inc-inside-switch-and-for/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,71 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = 0;
+  i = 0;
+  {
+    while(true) {
+      int x_31 = i;
+      int x_33 = x_7.three;
+      if ((x_31 < (7 + x_33))) {
+      } else {
+        break;
+      }
+      int x_37 = i;
+      switch(x_37) {
+        case 7:
+        case 8:
+        {
+          int x_40 = a;
+          a = (x_40 + 1);
+          break;
+        }
+        default:
+        {
+          break;
+        }
+      }
+      {
+        int x_42 = i;
+        i = (x_42 + 1);
+      }
+      continue;
+    }
+  }
+  int x_44 = a;
+  if ((x_44 == 2)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..81a2b42 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,83 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float arr[3] = float[3](0.0f, 0.0f, 0.0f);
+  int a = 0;
+  bool x_69 = false;
+  bool x_70 = false;
+  bool x_79 = false;
+  bool x_80 = false;
+  arr = float[3](x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[2].el);
+  a = 0;
+  {
+    while(true) {
+      if ((a <= x_9.x_GLF_uniform_int_values[1].el)) {
+      } else {
+        break;
+      }
+      int x_49 = a;
+      a = (a + 1);
+      arr[x_49] = x_6.x_GLF_uniform_float_values[0].el;
+      {
+      }
+      continue;
+    }
+  }
+  bool x_60 = (arr[x_9.x_GLF_uniform_int_values[1].el] == x_6.x_GLF_uniform_float_values[0].el);
+  x_70 = x_60;
+  if (x_60) {
+    x_69 = (arr[x_9.x_GLF_uniform_int_values[2].el] == x_6.x_GLF_uniform_float_values[0].el);
+    x_70 = x_69;
+  }
+  x_80 = x_70;
+  if (x_70) {
+    x_79 = (arr[x_9.x_GLF_uniform_int_values[0].el] == x_6.x_GLF_uniform_float_values[2].el);
+    x_80 = x_79;
+  }
+  if (x_80) {
+    x_GLF_color = vec4(arr[x_9.x_GLF_uniform_int_values[1].el], x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el);
+  } else {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f00ab08 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-array-element-in-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,106 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float arr[3] = float[3](0.0f, 0.0f, 0.0f);
+  int a = 0;
+  bool x_69 = false;
+  bool x_79 = false;
+  bool x_70_phi = false;
+  bool x_80_phi = false;
+  float x_34 = x_6.x_GLF_uniform_float_values[1].el;
+  float x_36 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_38 = x_6.x_GLF_uniform_float_values[2].el;
+  arr = float[3](x_34, x_36, x_38);
+  a = 0;
+  {
+    while(true) {
+      int x_44 = a;
+      int x_46 = x_9.x_GLF_uniform_int_values[1].el;
+      if ((x_44 <= x_46)) {
+      } else {
+        break;
+      }
+      int x_49 = a;
+      a = (x_49 + 1);
+      float x_52 = x_6.x_GLF_uniform_float_values[0].el;
+      arr[x_49] = x_52;
+      {
+      }
+      continue;
+    }
+  }
+  int x_55 = x_9.x_GLF_uniform_int_values[1].el;
+  float x_57 = arr[x_55];
+  float x_59 = x_6.x_GLF_uniform_float_values[0].el;
+  bool x_60 = (x_57 == x_59);
+  x_70_phi = x_60;
+  if (x_60) {
+    int x_64 = x_9.x_GLF_uniform_int_values[2].el;
+    float x_66 = arr[x_64];
+    float x_68 = x_6.x_GLF_uniform_float_values[0].el;
+    x_69 = (x_66 == x_68);
+    x_70_phi = x_69;
+  }
+  bool x_70 = x_70_phi;
+  x_80_phi = x_70;
+  if (x_70) {
+    int x_74 = x_9.x_GLF_uniform_int_values[0].el;
+    float x_76 = arr[x_74];
+    float x_78 = x_6.x_GLF_uniform_float_values[2].el;
+    x_79 = (x_76 == x_78);
+    x_80_phi = x_79;
+  }
+  bool x_80 = x_80_phi;
+  if (x_80) {
+    int x_85 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_87 = arr[x_85];
+    float x_89 = x_6.x_GLF_uniform_float_values[1].el;
+    float x_91 = x_6.x_GLF_uniform_float_values[1].el;
+    float x_93 = x_6.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_87, x_89, x_91, x_93);
+  } else {
+    float x_96 = x_6.x_GLF_uniform_float_values[1].el;
+    x_GLF_color = vec4(x_96, x_96, x_96, x_96);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..baa727b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,81 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f0 = 0.0f;
+  float f1 = 0.0f;
+  int i = 0;
+  bool x_63 = false;
+  bool x_64 = false;
+  f0 = x_6.x_GLF_uniform_float_values[0].el;
+  f1 = x_6.x_GLF_uniform_float_values[0].el;
+  i = x_10.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_10.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      f0 = abs((1.10000002384185791016f * f0));
+      f1 = f0;
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  bool x_57 = (f1 > x_6.x_GLF_uniform_float_values[1].el);
+  x_64 = x_57;
+  if (x_57) {
+    x_63 = (f1 < x_6.x_GLF_uniform_float_values[2].el);
+    x_64 = x_63;
+  }
+  if (x_64) {
+    float v = float(x_10.x_GLF_uniform_int_values[2].el);
+    float v_1 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_10.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2277ed3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-float-in-loop-abs/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f0 = 0.0f;
+  float f1 = 0.0f;
+  int i = 0;
+  bool x_63 = false;
+  bool x_64_phi = false;
+  float x_34 = x_6.x_GLF_uniform_float_values[0].el;
+  f0 = x_34;
+  float x_36 = x_6.x_GLF_uniform_float_values[0].el;
+  f1 = x_36;
+  int x_38 = x_10.x_GLF_uniform_int_values[1].el;
+  i = x_38;
+  {
+    while(true) {
+      int x_43 = i;
+      int x_45 = x_10.x_GLF_uniform_int_values[0].el;
+      if ((x_43 < x_45)) {
+      } else {
+        break;
+      }
+      float x_48 = f0;
+      f0 = abs((1.10000002384185791016f * x_48));
+      float x_51 = f0;
+      f1 = x_51;
+      {
+        int x_52 = i;
+        i = (x_52 + 1);
+      }
+      continue;
+    }
+  }
+  float x_54 = f1;
+  float x_56 = x_6.x_GLF_uniform_float_values[1].el;
+  bool x_57 = (x_54 > x_56);
+  x_64_phi = x_57;
+  if (x_57) {
+    float x_60 = f1;
+    float x_62 = x_6.x_GLF_uniform_float_values[2].el;
+    x_63 = (x_60 < x_62);
+    x_64_phi = x_63;
+  }
+  bool x_64 = x_64_phi;
+  if (x_64) {
+    int x_69 = x_10.x_GLF_uniform_int_values[2].el;
+    int x_72 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_75 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_78 = x_10.x_GLF_uniform_int_values[2].el;
+    float v = float(x_69);
+    float v_1 = float(x_72);
+    float v_2 = float(x_75);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_78));
+  } else {
+    int x_82 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_83 = float(x_82);
+    x_GLF_color = vec4(x_83, x_83, x_83, x_83);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.spvasm.expected.ir.glsl
index 72ca17c..de1b356 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,93 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void func_() {
+  int x_66 = 0;
+  int x_62 = x_7.x_GLF_uniform_int_values[1].el;
+  x_66 = x_7.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      int x_67 = 0;
+      if ((x_66 < x_7.x_GLF_uniform_int_values[3].el)) {
+      } else {
+        break;
+      }
+      {
+        x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+        x_67 = (x_66 + 1);
+        x_66 = x_67;
+      }
+      continue;
+    }
+  }
+  if ((x_62 < x_62)) {
+    return;
+  }
+}
+void main_1() {
+  x_GLF_global_loop_count = 0;
+  {
+    while(true) {
+      if ((x_GLF_global_loop_count < 10)) {
+      } else {
+        break;
+      }
+      {
+        x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+        func_();
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      if ((x_GLF_global_loop_count < 10)) {
+      } else {
+        break;
+      }
+      {
+        x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      }
+      continue;
+    }
+  }
+  if ((x_GLF_global_loop_count == x_7.x_GLF_uniform_int_values[2].el)) {
+    float x_51 = float(x_7.x_GLF_uniform_int_values[1].el);
+    float x_54 = float(x_7.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(x_51, x_54, x_54, x_51);
+  } else {
+    x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.wgsl.expected.ir.glsl
index 72ca17c..3eafa7e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-global-counter-loop-function/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,107 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void func_() {
+  int x_66_phi = 0;
+  int x_62 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_64 = x_7.x_GLF_uniform_int_values[0].el;
+  x_66_phi = x_64;
+  {
+    while(true) {
+      int x_67 = 0;
+      int x_66 = x_66_phi;
+      int x_70 = x_7.x_GLF_uniform_int_values[3].el;
+      if ((x_66 < x_70)) {
+      } else {
+        break;
+      }
+      {
+        int x_73 = x_GLF_global_loop_count;
+        x_GLF_global_loop_count = (x_73 + 1);
+        x_67 = (x_66 + 1);
+        x_66_phi = x_67;
+      }
+      continue;
+    }
+  }
+  if ((x_62 < x_62)) {
+    return;
+  }
+}
+void main_1() {
+  x_GLF_global_loop_count = 0;
+  {
+    while(true) {
+      int x_28 = x_GLF_global_loop_count;
+      if ((x_28 < 10)) {
+      } else {
+        break;
+      }
+      {
+        int x_32 = x_GLF_global_loop_count;
+        x_GLF_global_loop_count = (x_32 + 1);
+        func_();
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      int x_36 = x_GLF_global_loop_count;
+      if ((x_36 < 10)) {
+      } else {
+        break;
+      }
+      {
+        int x_40 = x_GLF_global_loop_count;
+        x_GLF_global_loop_count = (x_40 + 1);
+      }
+      continue;
+    }
+  }
+  int x_42 = x_GLF_global_loop_count;
+  int x_44 = x_7.x_GLF_uniform_int_values[2].el;
+  if ((x_42 == x_44)) {
+    int x_50 = x_7.x_GLF_uniform_int_values[1].el;
+    float x_51 = float(x_50);
+    int x_53 = x_7.x_GLF_uniform_int_values[0].el;
+    float x_54 = float(x_53);
+    x_GLF_color = vec4(x_51, x_54, x_54, x_51);
+  } else {
+    int x_57 = x_7.x_GLF_uniform_int_values[0].el;
+    float x_58 = float(x_57);
+    x_GLF_color = vec4(x_58, x_58, x_58, x_58);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..8b78832 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a[3] = int[3](0, 0, 0);
+  int b = 0;
+  int c = 0;
+  a[0] = 1;
+  a[1] = 2;
+  a[2] = 3;
+  b = 0;
+  c = a[x_8.one];
+  if ((c > 1)) {
+    x_GLF_color = vec4(0.0f, 1.0f, 1.0f, 0.0f);
+    b = (b + 1);
+  }
+  int x_48 = (b + 1);
+  b = x_48;
+  int x_50_save = min(max(x_48, 0), 2);
+  a[x_50_save] = (a[x_50_save] + 1);
+  if ((a[2] == 4)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f92ff0c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-inside-clamp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,60 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a[3] = int[3](0, 0, 0);
+  int b = 0;
+  int c = 0;
+  a[0] = 1;
+  a[1] = 2;
+  a[2] = 3;
+  b = 0;
+  int x_38 = x_8.one;
+  int x_40 = a[x_38];
+  c = x_40;
+  int x_41 = c;
+  if ((x_41 > 1)) {
+    x_GLF_color = vec4(0.0f, 1.0f, 1.0f, 0.0f);
+    int x_45 = b;
+    b = (x_45 + 1);
+  }
+  int x_47 = b;
+  int x_48 = (x_47 + 1);
+  b = x_48;
+  int x_50_save = min(max(x_48, 0), 2);
+  int x_51 = a[x_50_save];
+  a[x_50_save] = (x_51 + 1);
+  int x_54 = a[2];
+  if ((x_54 == 4)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-int-loop-counter-mod-array/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-int-loop-counter-mod-array/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-int-loop-counter-mod-array/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-int-loop-counter-mod-array/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-int-loop-counter-mod-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-int-loop-counter-mod-array/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-int-loop-counter-mod-array/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-int-loop-counter-mod-array/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..810f13b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,94 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int c = 0;
+  bool x_76 = false;
+  bool x_77 = false;
+  bool x_83 = false;
+  bool x_84 = false;
+  a = x_6.x_GLF_uniform_int_values[0].el;
+  b = x_6.x_GLF_uniform_int_values[2].el;
+  c = 1;
+  {
+    while(true) {
+      if (((b < x_6.x_GLF_uniform_int_values[4].el) & (a < 10))) {
+      } else {
+        break;
+      }
+      if ((c > 5)) {
+        break;
+      }
+      a = (a + 1);
+      c = (c + 1);
+      b = (b + 1);
+      {
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      if ((a < x_6.x_GLF_uniform_int_values[1].el)) {
+      } else {
+        break;
+      }
+      {
+        a = (a + 1);
+      }
+      continue;
+    }
+  }
+  bool x_70 = (a == x_6.x_GLF_uniform_int_values[1].el);
+  x_77 = x_70;
+  if (x_70) {
+    x_76 = (b == x_6.x_GLF_uniform_int_values[3].el);
+    x_77 = x_76;
+  }
+  x_84 = x_77;
+  if (x_77) {
+    x_83 = (c == x_6.x_GLF_uniform_int_values[3].el);
+    x_84 = x_83;
+  }
+  if (x_84) {
+    float v = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.wgsl.expected.ir.glsl
index 72ca17c..68def29 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-multiple-integers/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,120 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int b = 0;
+  int c = 0;
+  bool x_76 = false;
+  bool x_83 = false;
+  bool x_77_phi = false;
+  bool x_84_phi = false;
+  int x_31 = x_6.x_GLF_uniform_int_values[0].el;
+  a = x_31;
+  int x_33 = x_6.x_GLF_uniform_int_values[2].el;
+  b = x_33;
+  c = 1;
+  {
+    while(true) {
+      int x_38 = b;
+      int x_40 = x_6.x_GLF_uniform_int_values[4].el;
+      int x_42 = a;
+      if (((x_38 < x_40) & (x_42 < 10))) {
+      } else {
+        break;
+      }
+      int x_46 = c;
+      if ((x_46 > 5)) {
+        break;
+      }
+      int x_50 = a;
+      a = (x_50 + 1);
+      int x_52 = c;
+      c = (x_52 + 1);
+      int x_54 = b;
+      b = (x_54 + 1);
+      {
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      int x_60 = a;
+      int x_62 = x_6.x_GLF_uniform_int_values[1].el;
+      if ((x_60 < x_62)) {
+      } else {
+        break;
+      }
+      {
+        int x_65 = a;
+        a = (x_65 + 1);
+      }
+      continue;
+    }
+  }
+  int x_67 = a;
+  int x_69 = x_6.x_GLF_uniform_int_values[1].el;
+  bool x_70 = (x_67 == x_69);
+  x_77_phi = x_70;
+  if (x_70) {
+    int x_73 = b;
+    int x_75 = x_6.x_GLF_uniform_int_values[3].el;
+    x_76 = (x_73 == x_75);
+    x_77_phi = x_76;
+  }
+  bool x_77 = x_77_phi;
+  x_84_phi = x_77;
+  if (x_77) {
+    int x_80 = c;
+    int x_82 = x_6.x_GLF_uniform_int_values[3].el;
+    x_83 = (x_80 == x_82);
+    x_84_phi = x_83;
+  }
+  bool x_84 = x_84_phi;
+  if (x_84) {
+    int x_89 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_92 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_95 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_98 = x_6.x_GLF_uniform_int_values[2].el;
+    float v = float(x_89);
+    float v_1 = float(x_92);
+    float v_2 = float(x_95);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_98));
+  } else {
+    int x_102 = x_6.x_GLF_uniform_int_values[0].el;
+    float x_103 = float(x_102);
+    x_GLF_color = vec4(x_103, x_103, x_103, x_103);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-array-matrix-element/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-array-matrix-element/0-opt.spvasm.expected.ir.glsl
index 69f590c..7e53597 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-array-matrix-element/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-array-matrix-element/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,71 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat3 m = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  int a = 0;
+  vec3 arr[2] = vec3[2](vec3(0.0f), vec3(0.0f));
+  vec3 v = vec3(0.0f);
+  float x_46 = float(x_6.x_GLF_uniform_int_values[0].el);
+  vec3 v_1 = vec3(x_46, 0.0f, 0.0f);
+  vec3 v_2 = vec3(0.0f, x_46, 0.0f);
+  m = mat3(v_1, v_2, vec3(0.0f, 0.0f, x_46));
+  a = x_6.x_GLF_uniform_int_values[0].el;
+  int x_53 = a;
+  int x_54 = a;
+  m[x_53][x_54] = x_9.x_GLF_uniform_float_values[0].el;
+  arr = vec3[2](m[1], m[1]);
+  v = vec3(x_9.x_GLF_uniform_float_values[1].el);
+  v = (v + arr[a]);
+  vec3 v_3 = v;
+  float v_4 = float(x_6.x_GLF_uniform_int_values[1].el);
+  float v_5 = float(x_6.x_GLF_uniform_int_values[2].el);
+  if (all((v_3 == vec3(v_4, v_5, float(x_6.x_GLF_uniform_int_values[1].el))))) {
+    float v_6 = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_7 = float(x_6.x_GLF_uniform_int_values[3].el);
+    float v_8 = float(x_6.x_GLF_uniform_int_values[3].el);
+    x_GLF_color = vec4(v_6, v_7, v_8, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[3].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-array-matrix-element/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-array-matrix-element/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2c13aa5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-array-matrix-element/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-array-matrix-element/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,89 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat3 m = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  int a = 0;
+  vec3 arr[2] = vec3[2](vec3(0.0f), vec3(0.0f));
+  vec3 v = vec3(0.0f);
+  int x_45 = x_6.x_GLF_uniform_int_values[0].el;
+  float x_46 = float(x_45);
+  vec3 v_1 = vec3(x_46, 0.0f, 0.0f);
+  vec3 v_2 = vec3(0.0f, x_46, 0.0f);
+  m = mat3(v_1, v_2, vec3(0.0f, 0.0f, x_46));
+  int x_52 = x_6.x_GLF_uniform_int_values[0].el;
+  a = x_52;
+  int x_53 = a;
+  int x_54 = a;
+  float x_56 = x_9.x_GLF_uniform_float_values[0].el;
+  m[x_53][x_54] = x_56;
+  vec3 x_59 = m[1];
+  vec3 x_61 = m[1];
+  arr = vec3[2](x_59, x_61);
+  float x_64 = x_9.x_GLF_uniform_float_values[1].el;
+  v = vec3(x_64, x_64, x_64);
+  int x_66 = a;
+  vec3 x_68 = arr[x_66];
+  vec3 x_69 = v;
+  v = (x_69 + x_68);
+  vec3 x_71 = v;
+  int x_73 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_76 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_79 = x_6.x_GLF_uniform_int_values[1].el;
+  float v_3 = float(x_73);
+  float v_4 = float(x_76);
+  if (all((x_71 == vec3(v_3, v_4, float(x_79))))) {
+    int x_88 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_91 = x_6.x_GLF_uniform_int_values[3].el;
+    int x_94 = x_6.x_GLF_uniform_int_values[3].el;
+    int x_97 = x_6.x_GLF_uniform_int_values[0].el;
+    float v_5 = float(x_88);
+    float v_6 = float(x_91);
+    float v_7 = float(x_94);
+    x_GLF_color = vec4(v_5, v_6, v_7, float(x_97));
+  } else {
+    int x_101 = x_6.x_GLF_uniform_int_values[3].el;
+    float x_102 = float(x_101);
+    x_GLF_color = vec4(x_102, x_102, x_102, x_102);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4424c68 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,73 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  vec4 v = vec4(0.0f);
+  mat3x4 m = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  mat4 indexable = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  a = x_6.x_GLF_uniform_int_values[0].el;
+  v = vec4(x_9.x_GLF_uniform_float_values[2].el);
+  float x_49 = x_9.x_GLF_uniform_float_values[3].el;
+  vec4 v_1 = vec4(x_49, 0.0f, 0.0f, 0.0f);
+  vec4 v_2 = vec4(0.0f, x_49, 0.0f, 0.0f);
+  m = mat3x4(v_1, v_2, vec4(0.0f, 0.0f, x_49, 0.0f));
+  int x_54 = a;
+  int x_55 = a;
+  m[x_54][x_55] = x_9.x_GLF_uniform_float_values[0].el;
+  int x_59 = a;
+  int x_78 = a;
+  int x_79 = a;
+  vec4 v_3 = vec4(m[0u].x, m[0u].y, m[0u].z, m[0u].w);
+  vec4 v_4 = vec4(m[1u].x, m[1u].y, m[1u].z, m[1u].w);
+  indexable = mat4(v_3, v_4, vec4(m[2u].x, m[2u].y, m[2u].z, m[2u].w), vec4(0.0f, 0.0f, 0.0f, 1.0f));
+  v[x_59] = (v[x_59] + indexable[x_78][x_79]);
+  if ((v.y == x_9.x_GLF_uniform_float_values[1].el)) {
+    float v_5 = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_6 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_7 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_5, v_6, v_7, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.wgsl.expected.ir.glsl
index 72ca17c..455e946 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-increment-vector-component-with-matrix-copy/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  vec4 v = vec4(0.0f);
+  mat3x4 m = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  mat4 indexable = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  int x_44 = x_6.x_GLF_uniform_int_values[0].el;
+  a = x_44;
+  float x_46 = x_9.x_GLF_uniform_float_values[2].el;
+  v = vec4(x_46, x_46, x_46, x_46);
+  float x_49 = x_9.x_GLF_uniform_float_values[3].el;
+  vec4 v_1 = vec4(x_49, 0.0f, 0.0f, 0.0f);
+  vec4 v_2 = vec4(0.0f, x_49, 0.0f, 0.0f);
+  m = mat3x4(v_1, v_2, vec4(0.0f, 0.0f, x_49, 0.0f));
+  int x_54 = a;
+  int x_55 = a;
+  float x_57 = x_9.x_GLF_uniform_float_values[0].el;
+  m[x_54][x_55] = x_57;
+  int x_59 = a;
+  mat3x4 x_60 = m;
+  int x_78 = a;
+  int x_79 = a;
+  vec4 v_3 = vec4(x_60[0u][0u], x_60[0u][1u], x_60[0u][2u], x_60[0u][3u]);
+  vec4 v_4 = vec4(x_60[1u][0u], x_60[1u][1u], x_60[1u][2u], x_60[1u][3u]);
+  indexable = mat4(v_3, v_4, vec4(x_60[2u][0u], x_60[2u][1u], x_60[2u][2u], x_60[2u][3u]), vec4(0.0f, 0.0f, 0.0f, 1.0f));
+  float x_81 = indexable[x_78][x_79];
+  float x_83 = v[x_59];
+  v[x_59] = (x_83 + x_81);
+  float x_87 = v.y;
+  float x_89 = x_9.x_GLF_uniform_float_values[1].el;
+  if ((x_87 == x_89)) {
+    int x_95 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_98 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_101 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_104 = x_6.x_GLF_uniform_int_values[0].el;
+    float v_5 = float(x_95);
+    float v_6 = float(x_98);
+    float v_7 = float(x_101);
+    x_GLF_color = vec4(v_5, v_6, v_7, float(x_104));
+  } else {
+    int x_108 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_109 = float(x_108);
+    x_GLF_color = vec4(x_109, x_109, x_109, x_109);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..7f214c2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+vec4 func_() {
+  float x = 0.0f;
+  x = 1.0f;
+  if ((tint_symbol.x < 0.0f)) {
+    x = 0.5f;
+  }
+  float x_34 = x;
+  return vec4(x_34, 0.0f, 0.0f, 1.0f);
+}
+void main_1() {
+  x_GLF_color = vec4(0.0f);
+  {
+    while(true) {
+      vec4 x_26 = func_();
+      x_GLF_color = x_26;
+      if (false) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..95281b5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-empty-block/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+vec4 func_() {
+  float x = 0.0f;
+  x = 1.0f;
+  float x_30 = tint_symbol.x;
+  if ((x_30 < 0.0f)) {
+    x = 0.5f;
+  }
+  float x_34 = x;
+  return vec4(x_34, 0.0f, 0.0f, 1.0f);
+}
+void main_1() {
+  x_GLF_color = vec4(0.0f);
+  {
+    while(true) {
+      vec4 x_26 = func_();
+      x_GLF_color = x_26;
+      if (false) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.spvasm.expected.ir.glsl
index 0480431..88a5a5b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,82 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+vec4 returnRed_() {
+  bool x_33 = false;
+  vec4 x_34 = vec4(0.0f);
+  vec4 x_48 = vec4(0.0f);
+  vec4 x_51 = vec4(0.0f);
+  {
+    while(true) {
+      bool x_49 = false;
+      {
+        while(true) {
+          if ((x_6.zero == 1)) {
+            x_33 = true;
+            x_34 = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+            x_48 = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+            x_49 = true;
+            break;
+          }
+          {
+            x_48 = vec4(0.0f);
+            x_49 = false;
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+      x_51 = x_48;
+      if (x_49) {
+        break;
+      }
+      x_33 = true;
+      x_34 = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      x_51 = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      break;
+    }
+  }
+  return x_51;
+}
+void main_1() {
+  {
+    while(true) {
+      vec4 x_30 = returnRed_();
+      x_GLF_color = x_30;
+      if (false) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..9613955 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-nested-loops/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+vec4 returnRed_() {
+  bool x_33 = false;
+  vec4 x_34 = vec4(0.0f);
+  vec4 x_48 = vec4(0.0f);
+  bool x_36_phi = false;
+  vec4 x_51_phi = vec4(0.0f);
+  x_36_phi = false;
+  {
+    while(true) {
+      vec4 x_48_phi = vec4(0.0f);
+      bool x_49_phi = false;
+      bool x_36 = x_36_phi;
+      {
+        while(true) {
+          int x_44 = x_6.zero;
+          if ((x_44 == 1)) {
+            x_33 = true;
+            x_34 = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+            x_48_phi = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+            x_49_phi = true;
+            break;
+          }
+          {
+            x_48_phi = vec4(0.0f);
+            x_49_phi = false;
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+      x_48 = x_48_phi;
+      bool x_49 = x_49_phi;
+      x_51_phi = x_48;
+      if (x_49) {
+        break;
+      }
+      x_33 = true;
+      x_34 = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      x_51_phi = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      break;
+    }
+  }
+  vec4 x_51 = x_51_phi;
+  return x_51;
+}
+void main_1() {
+  {
+    while(true) {
+      vec4 x_30 = returnRed_();
+      x_GLF_color = x_30;
+      if (false) {
+      } else {
+        break;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..9b8c9cc 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+float func_() {
+  int i = 0;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 10)) {
+      } else {
+        break;
+      }
+      if ((i > 5)) {
+        i = (i + 1);
+      }
+      if ((i > 8)) {
+        return 0.0f;
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  return 1.0f;
+}
+void main_1() {
+  if (false) {
+    float x_28 = func_();
+    x_GLF_color = vec4(x_28);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..6b638b3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-return-in-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+float func_() {
+  int i = 0;
+  i = 0;
+  {
+    while(true) {
+      int x_35 = i;
+      if ((x_35 < 10)) {
+      } else {
+        break;
+      }
+      int x_38 = i;
+      if ((x_38 > 5)) {
+        int x_42 = i;
+        i = (x_42 + 1);
+      }
+      int x_44 = i;
+      if ((x_44 > 8)) {
+        return 0.0f;
+      }
+      {
+        int x_48 = i;
+        i = (x_48 + 1);
+      }
+      continue;
+    }
+  }
+  return 1.0f;
+}
+void main_1() {
+  if (false) {
+    float x_28 = func_();
+    x_GLF_color = vec4(x_28, x_28, x_28, x_28);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f4ef6bd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+float func_() {
+  float x = 0.0f;
+  x = 2.0f;
+  if ((tint_symbol.x == 12.0f)) {
+    if ((tint_symbol.y == 13.0f)) {
+      x = (x + 1.0f);
+    }
+    float x_46 = x;
+    return x_46;
+  }
+  return 1.0f;
+}
+void main_1() {
+  if (false) {
+    float x_31 = func_();
+    x_GLF_color = vec4(x_31);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..dc3c118 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inline-pass-unreachable-func/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+float func_() {
+  float x = 0.0f;
+  x = 2.0f;
+  float x_35 = tint_symbol.x;
+  if ((x_35 == 12.0f)) {
+    float x_40 = tint_symbol.y;
+    if ((x_40 == 13.0f)) {
+      float x_44 = x;
+      x = (x_44 + 1.0f);
+    }
+    float x_46 = x;
+    return x_46;
+  }
+  return 1.0f;
+}
+void main_1() {
+  if (false) {
+    float x_31 = func_();
+    x_GLF_color = vec4(x_31, x_31, x_31, x_31);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..fbeb987 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,82 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_7;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int arr[2] = int[2](0, 0);
+  int a = 0;
+  i = x_7.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      if ((i < x_7.x_GLF_uniform_int_values[2].el)) {
+      } else {
+        break;
+      }
+      int x_50 = i;
+      arr[x_50] = x_7.x_GLF_uniform_int_values[0].el;
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  a = -1;
+  if (!((tint_symbol.y < x_11.x_GLF_uniform_float_values[0].el))) {
+    int x_65 = (a + 1);
+    a = x_65;
+    arr[x_65] = x_7.x_GLF_uniform_int_values[1].el;
+  }
+  int x_70 = (a + 1);
+  a = x_70;
+  arr[x_70] = x_7.x_GLF_uniform_int_values[2].el;
+  if ((arr[x_7.x_GLF_uniform_int_values[0].el] == x_7.x_GLF_uniform_int_values[1].el)) {
+    float v = float(a);
+    float v_1 = float(x_7.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_7.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(a));
+  } else {
+    x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.wgsl.expected.ir.glsl
index 72ca17c..357db44 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-increase-negative/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,102 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_7;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int arr[2] = int[2](0, 0);
+  int a = 0;
+  int x_40 = x_7.x_GLF_uniform_int_values[0].el;
+  i = x_40;
+  {
+    while(true) {
+      int x_45 = i;
+      int x_47 = x_7.x_GLF_uniform_int_values[2].el;
+      if ((x_45 < x_47)) {
+      } else {
+        break;
+      }
+      int x_50 = i;
+      int x_52 = x_7.x_GLF_uniform_int_values[0].el;
+      arr[x_50] = x_52;
+      {
+        int x_54 = i;
+        i = (x_54 + 1);
+      }
+      continue;
+    }
+  }
+  a = -1;
+  float x_57 = tint_symbol.y;
+  float x_59 = x_11.x_GLF_uniform_float_values[0].el;
+  if (!((x_57 < x_59))) {
+    int x_64 = a;
+    int x_65 = (x_64 + 1);
+    a = x_65;
+    int x_67 = x_7.x_GLF_uniform_int_values[1].el;
+    arr[x_65] = x_67;
+  }
+  int x_69 = a;
+  int x_70 = (x_69 + 1);
+  a = x_70;
+  int x_72 = x_7.x_GLF_uniform_int_values[2].el;
+  arr[x_70] = x_72;
+  int x_75 = x_7.x_GLF_uniform_int_values[0].el;
+  int x_77 = arr[x_75];
+  int x_79 = x_7.x_GLF_uniform_int_values[1].el;
+  if ((x_77 == x_79)) {
+    int x_84 = a;
+    int x_87 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_90 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_92 = a;
+    float v = float(x_84);
+    float v_1 = float(x_87);
+    float v_2 = float(x_90);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_92));
+  } else {
+    int x_96 = x_7.x_GLF_uniform_int_values[0].el;
+    float x_97 = float(x_96);
+    x_GLF_color = vec4(x_97, x_97, x_97, x_97);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..728ac89 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,73 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  float b = 0.0f;
+  a = x_6.x_GLF_uniform_int_values[1].el;
+  a = (a + 1);
+  i = x_6.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      float v = float(i);
+      b = ldexp(v, -(a));
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((b == x_10.x_GLF_uniform_float_values[0].el)) {
+    float v_1 = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_3 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_6.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(b);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.wgsl.expected.ir.glsl
index 72ca17c..9fa1149 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-ldexp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  float b = 0.0f;
+  int x_34 = x_6.x_GLF_uniform_int_values[1].el;
+  a = x_34;
+  int x_35 = a;
+  a = (x_35 + 1);
+  int x_38 = x_6.x_GLF_uniform_int_values[1].el;
+  i = x_38;
+  {
+    while(true) {
+      int x_43 = i;
+      int x_45 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_43 < x_45)) {
+      } else {
+        break;
+      }
+      int x_48 = i;
+      int x_50 = a;
+      b = ldexp(float(x_48), -(x_50));
+      {
+        int x_53 = i;
+        i = (x_53 + 1);
+      }
+      continue;
+    }
+  }
+  float x_55 = b;
+  float x_57 = x_10.x_GLF_uniform_float_values[0].el;
+  if ((x_55 == x_57)) {
+    int x_63 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_66 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_69 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_72 = x_6.x_GLF_uniform_int_values[2].el;
+    float v = float(x_63);
+    float v_1 = float(x_66);
+    float v_2 = float(x_69);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_72));
+  } else {
+    float x_75 = b;
+    x_GLF_color = vec4(x_75, x_75, x_75, x_75);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-neg-func-arg/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-neg-func-arg/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-neg-func-arg/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-neg-func-arg/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-neg-func-arg/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-neg-func-arg/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-neg-func-arg/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-neg-func-arg/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1a68a45 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_8;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_12;
+vec4 x_GLF_color = vec4(0.0f);
+int f1_() {
+  int i = 0;
+  int A[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int a = 0;
+  i = x_8.x_GLF_uniform_int_values[2].el;
+  {
+    while(true) {
+      if ((i < x_8.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      int x_66 = i;
+      A[x_66] = x_8.x_GLF_uniform_int_values[2].el;
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  a = -1;
+  if ((tint_symbol.y >= x_12.x_GLF_uniform_float_values[0].el)) {
+    int x_80 = (a + 1);
+    a = x_80;
+    A[x_80] = x_8.x_GLF_uniform_int_values[1].el;
+  }
+  if ((A[x_8.x_GLF_uniform_int_values[2].el] == x_8.x_GLF_uniform_int_values[1].el)) {
+    int x_95 = (a + 1);
+    a = x_95;
+    int x_97 = A[x_95];
+    return x_97;
+  } else {
+    int x_99 = x_8.x_GLF_uniform_int_values[1].el;
+    return x_99;
+  }
+  /* unreachable */
+}
+void main_1() {
+  int i_1 = 0;
+  int x_42 = f1_();
+  i_1 = x_42;
+  float v = float(x_8.x_GLF_uniform_int_values[1].el);
+  float v_1 = float(i_1);
+  float v_2 = float(i_1);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[1].el));
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.wgsl.expected.ir.glsl
index 72ca17c..7f8df7b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-add-sub-pre-increase/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,107 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_8;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_12;
+vec4 x_GLF_color = vec4(0.0f);
+int f1_() {
+  int i = 0;
+  int A[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int a = 0;
+  int x_56 = x_8.x_GLF_uniform_int_values[2].el;
+  i = x_56;
+  {
+    while(true) {
+      int x_61 = i;
+      int x_63 = x_8.x_GLF_uniform_int_values[0].el;
+      if ((x_61 < x_63)) {
+      } else {
+        break;
+      }
+      int x_66 = i;
+      int x_68 = x_8.x_GLF_uniform_int_values[2].el;
+      A[x_66] = x_68;
+      {
+        int x_70 = i;
+        i = (x_70 + 1);
+      }
+      continue;
+    }
+  }
+  a = -1;
+  float x_73 = tint_symbol.y;
+  float x_75 = x_12.x_GLF_uniform_float_values[0].el;
+  if ((x_73 >= x_75)) {
+    int x_79 = a;
+    int x_80 = (x_79 + 1);
+    a = x_80;
+    int x_82 = x_8.x_GLF_uniform_int_values[1].el;
+    A[x_80] = x_82;
+  }
+  int x_85 = x_8.x_GLF_uniform_int_values[2].el;
+  int x_87 = A[x_85];
+  int x_89 = x_8.x_GLF_uniform_int_values[1].el;
+  if ((x_87 == x_89)) {
+    int x_94 = a;
+    int x_95 = (x_94 + 1);
+    a = x_95;
+    int x_97 = A[x_95];
+    return x_97;
+  } else {
+    int x_99 = x_8.x_GLF_uniform_int_values[1].el;
+    return x_99;
+  }
+  /* unreachable */
+}
+void main_1() {
+  int i_1 = 0;
+  int x_42 = f1_();
+  i_1 = x_42;
+  int x_44 = x_8.x_GLF_uniform_int_values[1].el;
+  int x_46 = i_1;
+  int x_48 = i_1;
+  int x_51 = x_8.x_GLF_uniform_int_values[1].el;
+  float v = float(x_44);
+  float v_1 = float(x_46);
+  float v_2 = float(x_48);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_51));
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..daa0b3e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,81 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 v1 = vec4(0.0f);
+  vec4 r = vec4(0.0f);
+  bool x_85 = false;
+  bool x_86 = false;
+  bool x_97 = false;
+  bool x_98 = false;
+  bool x_109 = false;
+  bool x_110 = false;
+  a = packUnorm4x8(vec4(x_6.x_GLF_uniform_float_values[0].el));
+  v1 = unpackSnorm4x8(a);
+  r = vec4((-(x_6.x_GLF_uniform_float_values[0].el) / x_6.x_GLF_uniform_float_values[1].el), (-(x_6.x_GLF_uniform_float_values[0].el) / x_6.x_GLF_uniform_float_values[1].el), (-(x_6.x_GLF_uniform_float_values[0].el) / x_6.x_GLF_uniform_float_values[1].el), (-(x_6.x_GLF_uniform_float_values[0].el) / x_6.x_GLF_uniform_float_values[1].el));
+  bool x_74 = (v1[x_10.x_GLF_uniform_int_values[1].el] == r[x_10.x_GLF_uniform_int_values[0].el]);
+  x_86 = x_74;
+  if (x_74) {
+    x_85 = (v1[x_10.x_GLF_uniform_int_values[3].el] == r[x_10.x_GLF_uniform_int_values[2].el]);
+    x_86 = x_85;
+  }
+  x_98 = x_86;
+  if (x_86) {
+    x_97 = (v1[x_10.x_GLF_uniform_int_values[2].el] == r[x_10.x_GLF_uniform_int_values[3].el]);
+    x_98 = x_97;
+  }
+  x_110 = x_98;
+  if (x_98) {
+    x_109 = (v1[x_10.x_GLF_uniform_int_values[0].el] == r[x_10.x_GLF_uniform_int_values[1].el]);
+    x_110 = x_109;
+  }
+  if (x_110) {
+    float v = float(x_10.x_GLF_uniform_int_values[3].el);
+    float v_1 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_10.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[3].el));
+  } else {
+    x_GLF_color = vec4(v1[x_10.x_GLF_uniform_int_values[1].el]);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ef7925 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-pack-unpack/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,116 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 v1 = vec4(0.0f);
+  vec4 r = vec4(0.0f);
+  bool x_85 = false;
+  bool x_97 = false;
+  bool x_109 = false;
+  bool x_86_phi = false;
+  bool x_98_phi = false;
+  bool x_110_phi = false;
+  float x_36 = x_6.x_GLF_uniform_float_values[0].el;
+  a = packUnorm4x8(vec4(x_36, x_36, x_36, x_36));
+  uint x_39 = a;
+  v1 = unpackSnorm4x8(x_39);
+  float x_42 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_45 = x_6.x_GLF_uniform_float_values[1].el;
+  float x_48 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_51 = x_6.x_GLF_uniform_float_values[1].el;
+  float x_54 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_57 = x_6.x_GLF_uniform_float_values[1].el;
+  float x_60 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_63 = x_6.x_GLF_uniform_float_values[1].el;
+  r = vec4((-(x_42) / x_45), (-(x_48) / x_51), (-(x_54) / x_57), (-(x_60) / x_63));
+  int x_67 = x_10.x_GLF_uniform_int_values[1].el;
+  float x_69 = v1[x_67];
+  int x_71 = x_10.x_GLF_uniform_int_values[0].el;
+  float x_73 = r[x_71];
+  bool x_74 = (x_69 == x_73);
+  x_86_phi = x_74;
+  if (x_74) {
+    int x_78 = x_10.x_GLF_uniform_int_values[3].el;
+    float x_80 = v1[x_78];
+    int x_82 = x_10.x_GLF_uniform_int_values[2].el;
+    float x_84 = r[x_82];
+    x_85 = (x_80 == x_84);
+    x_86_phi = x_85;
+  }
+  bool x_86 = x_86_phi;
+  x_98_phi = x_86;
+  if (x_86) {
+    int x_90 = x_10.x_GLF_uniform_int_values[2].el;
+    float x_92 = v1[x_90];
+    int x_94 = x_10.x_GLF_uniform_int_values[3].el;
+    float x_96 = r[x_94];
+    x_97 = (x_92 == x_96);
+    x_98_phi = x_97;
+  }
+  bool x_98 = x_98_phi;
+  x_110_phi = x_98;
+  if (x_98) {
+    int x_102 = x_10.x_GLF_uniform_int_values[0].el;
+    float x_104 = v1[x_102];
+    int x_106 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_108 = r[x_106];
+    x_109 = (x_104 == x_108);
+    x_110_phi = x_109;
+  }
+  bool x_110 = x_110_phi;
+  if (x_110) {
+    int x_115 = x_10.x_GLF_uniform_int_values[3].el;
+    int x_118 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_121 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_124 = x_10.x_GLF_uniform_int_values[3].el;
+    float v = float(x_115);
+    float v_1 = float(x_118);
+    float v_2 = float(x_121);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_124));
+  } else {
+    int x_128 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_130 = v1[x_128];
+    x_GLF_color = vec4(x_130, x_130, x_130, x_130);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.spvasm.expected.ir.glsl
index 72ca17c..8d6a916 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float data[2] = float[2](0.0f, 0.0f);
+  float a = 0.0f;
+  int x_33 = x_6.x_GLF_uniform_int_values[0].el;
+  data[x_33] = x_8.x_GLF_uniform_float_values[0].el;
+  int x_38 = x_6.x_GLF_uniform_int_values[1].el;
+  data[x_38] = x_8.x_GLF_uniform_float_values[1].el;
+  a = data[(1 ^ (x_6.x_GLF_uniform_int_values[1].el & 2))];
+  if ((a == x_8.x_GLF_uniform_float_values[1].el)) {
+    x_GLF_color = vec4(x_8.x_GLF_uniform_float_values[1].el, x_8.x_GLF_uniform_float_values[0].el, x_8.x_GLF_uniform_float_values[0].el, x_8.x_GLF_uniform_float_values[1].el);
+  } else {
+    x_GLF_color = vec4(x_8.x_GLF_uniform_float_values[0].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.wgsl.expected.ir.glsl
index 72ca17c..6931e5a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-and-or-xor-xor-add/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,68 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float data[2] = float[2](0.0f, 0.0f);
+  float a = 0.0f;
+  int x_33 = x_6.x_GLF_uniform_int_values[0].el;
+  float x_35 = x_8.x_GLF_uniform_float_values[0].el;
+  data[x_33] = x_35;
+  int x_38 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_40 = x_8.x_GLF_uniform_float_values[1].el;
+  data[x_38] = x_40;
+  int x_43 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_47 = data[(1 ^ (x_43 & 2))];
+  a = x_47;
+  float x_48 = a;
+  float x_50 = x_8.x_GLF_uniform_float_values[1].el;
+  if ((x_48 == x_50)) {
+    float x_56 = x_8.x_GLF_uniform_float_values[1].el;
+    float x_58 = x_8.x_GLF_uniform_float_values[0].el;
+    float x_60 = x_8.x_GLF_uniform_float_values[0].el;
+    float x_62 = x_8.x_GLF_uniform_float_values[1].el;
+    x_GLF_color = vec4(x_56, x_58, x_60, x_62);
+  } else {
+    float x_65 = x_8.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_65, x_65, x_65, x_65);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.spvasm.expected.ir.glsl
index 6c6485e..5e82720 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_7;
+void main_1() {
+  float v = ldexp(x_5.x_GLF_uniform_float_values[0].el, 100);
+  if ((v == x_5.x_GLF_uniform_float_values[0].el)) {
+    float v_1 = float(x_7.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_7.x_GLF_uniform_int_values[0].el);
+    float v_3 = float(x_7.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_7.x_GLF_uniform_int_values[1].el));
+  } else {
+    float v_4 = float(x_7.x_GLF_uniform_int_values[1].el);
+    float v_5 = float(x_7.x_GLF_uniform_int_values[0].el);
+    float v_6 = float(x_7.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v_4, v_5, v_6, float(x_7.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.wgsl.expected.ir.glsl
index 72ca17c..b18b143 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ldexp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,66 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_7;
+void main_1() {
+  float x_29 = x_5.x_GLF_uniform_float_values[0].el;
+  float x_32 = x_5.x_GLF_uniform_float_values[0].el;
+  if ((ldexp(x_29, 100) == x_32)) {
+    int x_38 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_41 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_44 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_47 = x_7.x_GLF_uniform_int_values[1].el;
+    float v = float(x_38);
+    float v_1 = float(x_41);
+    float v_2 = float(x_44);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_47));
+  } else {
+    int x_51 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_54 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_57 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_60 = x_7.x_GLF_uniform_int_values[1].el;
+    float v_3 = float(x_51);
+    float v_4 = float(x_54);
+    float v_5 = float(x_57);
+    x_GLF_color = vec4(v_3, v_4, v_5, float(x_60));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..e0c934a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,76 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_14;
+float f1_f1_(inout float a) {
+  int b = 0;
+  float c = 0.0f;
+  b = 8;
+  if ((tint_symbol.y >= x_9.x_GLF_uniform_float_values[0].el)) {
+    b = (b + 1);
+    b = (b + 1);
+  }
+  if ((a < x_9.x_GLF_uniform_float_values[1].el)) {
+    float x_88 = x_9.x_GLF_uniform_float_values[1].el;
+    return x_88;
+  }
+  c = float(min(max(b, 0), 2));
+  float x_92 = c;
+  return x_92;
+}
+void main_1() {
+  float a_1 = 0.0f;
+  float param = 0.0f;
+  param = x_9.x_GLF_uniform_float_values[1].el;
+  float x_44 = f1_f1_(param);
+  a_1 = x_44;
+  if ((a_1 == x_9.x_GLF_uniform_float_values[2].el)) {
+    float v = float(x_14.x_GLF_uniform_int_values[1].el);
+    float v_1 = float(x_14.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_14.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_14.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_14.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..60e298f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-pre-increment-clamp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,92 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_14;
+float f1_f1_(inout float a) {
+  int b = 0;
+  float c = 0.0f;
+  b = 8;
+  float x_71 = tint_symbol.y;
+  float x_73 = x_9.x_GLF_uniform_float_values[0].el;
+  if ((x_71 >= x_73)) {
+    int x_77 = b;
+    b = (x_77 + 1);
+    int x_79 = b;
+    b = (x_79 + 1);
+  }
+  float x_81 = a;
+  float x_83 = x_9.x_GLF_uniform_float_values[1].el;
+  if ((x_81 < x_83)) {
+    float x_88 = x_9.x_GLF_uniform_float_values[1].el;
+    return x_88;
+  }
+  int x_89 = b;
+  c = float(min(max(x_89, 0), 2));
+  float x_92 = c;
+  return x_92;
+}
+void main_1() {
+  float a_1 = 0.0f;
+  float param = 0.0f;
+  float x_43 = x_9.x_GLF_uniform_float_values[1].el;
+  param = x_43;
+  float x_44 = f1_f1_(param);
+  a_1 = x_44;
+  float x_45 = a_1;
+  float x_47 = x_9.x_GLF_uniform_float_values[2].el;
+  if ((x_45 == x_47)) {
+    int x_53 = x_14.x_GLF_uniform_int_values[1].el;
+    int x_56 = x_14.x_GLF_uniform_int_values[0].el;
+    int x_59 = x_14.x_GLF_uniform_int_values[0].el;
+    int x_62 = x_14.x_GLF_uniform_int_values[1].el;
+    float v = float(x_53);
+    float v_1 = float(x_56);
+    float v_2 = float(x_59);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_62));
+  } else {
+    int x_66 = x_14.x_GLF_uniform_int_values[0].el;
+    float x_67 = float(x_66);
+    x_GLF_color = vec4(x_67, x_67, x_67, x_67);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ternary-vector-access/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ternary-vector-access/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ternary-vector-access/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ternary-vector-access/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ternary-vector-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ternary-vector-access/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ternary-vector-access/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-ternary-vector-access/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-while-modulo/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-while-modulo/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-while-modulo/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-while-modulo/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-while-modulo/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-while-modulo/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-while-modulo/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-compares-while-modulo/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..36713b8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,85 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[7];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 v1 = vec4(0.0f);
+  float E = 0.0f;
+  bool x_75 = false;
+  bool x_76 = false;
+  bool x_92 = false;
+  bool x_93 = false;
+  bool x_109 = false;
+  bool x_110 = false;
+  a = packUnorm2x16(vec2(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el));
+  v1 = unpackSnorm4x8(a);
+  E = 0.00999999977648258209f;
+  float v = abs((v1[x_10.x_GLF_uniform_int_values[2].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el)));
+  bool x_60 = (v < E);
+  x_76 = x_60;
+  if (x_60) {
+    float v_1 = abs((v1[x_10.x_GLF_uniform_int_values[1].el] - (x_6.x_GLF_uniform_float_values[4].el / x_6.x_GLF_uniform_float_values[3].el)));
+    x_75 = (v_1 < E);
+    x_76 = x_75;
+  }
+  x_93 = x_76;
+  if (x_76) {
+    float v_2 = abs((v1[x_10.x_GLF_uniform_int_values[3].el] - (-(x_6.x_GLF_uniform_float_values[5].el) / x_6.x_GLF_uniform_float_values[3].el)));
+    x_92 = (v_2 < E);
+    x_93 = x_92;
+  }
+  x_110 = x_93;
+  if (x_93) {
+    float v_3 = abs((v1[x_10.x_GLF_uniform_int_values[0].el] - (-(x_6.x_GLF_uniform_float_values[6].el) / x_6.x_GLF_uniform_float_values[3].el)));
+    x_109 = (v_3 < E);
+    x_110 = x_109;
+  }
+  if (x_110) {
+    float v_4 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_5 = float(x_10.x_GLF_uniform_int_values[2].el);
+    float v_6 = float(x_10.x_GLF_uniform_int_values[2].el);
+    x_GLF_color = vec4(v_4, v_5, v_6, float(x_10.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[5].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.ir.glsl
index 72ca17c..3c00782 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-pack-unpack/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[7];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 v1 = vec4(0.0f);
+  float E = 0.0f;
+  bool x_75 = false;
+  bool x_92 = false;
+  bool x_109 = false;
+  bool x_76_phi = false;
+  bool x_93_phi = false;
+  bool x_110_phi = false;
+  float x_41 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_43 = x_6.x_GLF_uniform_float_values[1].el;
+  a = packUnorm2x16(vec2(x_41, x_43));
+  uint x_46 = a;
+  v1 = unpackSnorm4x8(x_46);
+  E = 0.00999999977648258209f;
+  int x_49 = x_10.x_GLF_uniform_int_values[2].el;
+  float x_51 = v1[x_49];
+  float x_53 = x_6.x_GLF_uniform_float_values[2].el;
+  float x_55 = x_6.x_GLF_uniform_float_values[3].el;
+  float x_59 = E;
+  bool x_60 = (abs((x_51 - (x_53 / x_55))) < x_59);
+  x_76_phi = x_60;
+  if (x_60) {
+    int x_64 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_66 = v1[x_64];
+    float x_68 = x_6.x_GLF_uniform_float_values[4].el;
+    float x_70 = x_6.x_GLF_uniform_float_values[3].el;
+    float x_74 = E;
+    x_75 = (abs((x_66 - (x_68 / x_70))) < x_74);
+    x_76_phi = x_75;
+  }
+  bool x_76 = x_76_phi;
+  x_93_phi = x_76;
+  if (x_76) {
+    int x_80 = x_10.x_GLF_uniform_int_values[3].el;
+    float x_82 = v1[x_80];
+    float x_84 = x_6.x_GLF_uniform_float_values[5].el;
+    float x_87 = x_6.x_GLF_uniform_float_values[3].el;
+    float x_91 = E;
+    x_92 = (abs((x_82 - (-(x_84) / x_87))) < x_91);
+    x_93_phi = x_92;
+  }
+  bool x_93 = x_93_phi;
+  x_110_phi = x_93;
+  if (x_93) {
+    int x_97 = x_10.x_GLF_uniform_int_values[0].el;
+    float x_99 = v1[x_97];
+    float x_101 = x_6.x_GLF_uniform_float_values[6].el;
+    float x_104 = x_6.x_GLF_uniform_float_values[3].el;
+    float x_108 = E;
+    x_109 = (abs((x_99 - (-(x_101) / x_104))) < x_108);
+    x_110_phi = x_109;
+  }
+  bool x_110 = x_110_phi;
+  if (x_110) {
+    int x_115 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_118 = x_10.x_GLF_uniform_int_values[2].el;
+    int x_121 = x_10.x_GLF_uniform_int_values[2].el;
+    int x_124 = x_10.x_GLF_uniform_int_values[1].el;
+    float v = float(x_115);
+    float v_1 = float(x_118);
+    float v_2 = float(x_121);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_124));
+  } else {
+    float x_128 = x_6.x_GLF_uniform_float_values[5].el;
+    x_GLF_color = vec4(x_128, x_128, x_128, x_128);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-left-shift-for/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-left-shift-for/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-left-shift-for/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-left-shift-for/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-left-shift-for/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-left-shift-for/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-left-shift-for/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-left-shift-for/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.spvasm.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-shifts-mix-mix-clamp/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f35e247 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,85 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_8;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 v1 = vec4(0.0f);
+  float E = 0.0f;
+  bool x_69 = false;
+  bool x_70 = false;
+  bool x_85 = false;
+  bool x_86 = false;
+  bool x_101 = false;
+  bool x_102 = false;
+  a = 1006648320u;
+  v1 = unpackSnorm4x8(a);
+  E = 0.00999999977648258209f;
+  float v = abs((v1[x_8.x_GLF_uniform_int_values[1].el] - (x_10.x_GLF_uniform_float_values[0].el / x_10.x_GLF_uniform_float_values[1].el)));
+  bool x_54 = (v < E);
+  x_70 = x_54;
+  if (x_54) {
+    float v_1 = abs((v1[x_8.x_GLF_uniform_int_values[0].el] - (x_10.x_GLF_uniform_float_values[2].el / x_10.x_GLF_uniform_float_values[1].el)));
+    x_69 = (v_1 < E);
+    x_70 = x_69;
+  }
+  x_86 = x_70;
+  if (x_70) {
+    float v_2 = abs((v1[x_8.x_GLF_uniform_int_values[2].el] - (x_10.x_GLF_uniform_float_values[0].el / x_10.x_GLF_uniform_float_values[1].el)));
+    x_85 = (v_2 < E);
+    x_86 = x_85;
+  }
+  x_102 = x_86;
+  if (x_86) {
+    float v_3 = abs((v1[x_8.x_GLF_uniform_int_values[3].el] - (x_10.x_GLF_uniform_float_values[2].el / x_10.x_GLF_uniform_float_values[1].el)));
+    x_101 = (v_3 < E);
+    x_102 = x_101;
+  }
+  if (x_102) {
+    float v_4 = float(x_8.x_GLF_uniform_int_values[0].el);
+    float v_5 = float(x_8.x_GLF_uniform_int_values[1].el);
+    float v_6 = float(x_8.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_4, v_5, v_6, float(x_8.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(v1[x_8.x_GLF_uniform_int_values[1].el]);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..9d6bff6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-pack-unpack/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,111 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_8;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 v1 = vec4(0.0f);
+  float E = 0.0f;
+  bool x_69 = false;
+  bool x_85 = false;
+  bool x_101 = false;
+  bool x_70_phi = false;
+  bool x_86_phi = false;
+  bool x_102_phi = false;
+  a = 1006648320u;
+  uint x_40 = a;
+  v1 = unpackSnorm4x8(x_40);
+  E = 0.00999999977648258209f;
+  int x_43 = x_8.x_GLF_uniform_int_values[1].el;
+  float x_45 = v1[x_43];
+  float x_47 = x_10.x_GLF_uniform_float_values[0].el;
+  float x_49 = x_10.x_GLF_uniform_float_values[1].el;
+  float x_53 = E;
+  bool x_54 = (abs((x_45 - (x_47 / x_49))) < x_53);
+  x_70_phi = x_54;
+  if (x_54) {
+    int x_58 = x_8.x_GLF_uniform_int_values[0].el;
+    float x_60 = v1[x_58];
+    float x_62 = x_10.x_GLF_uniform_float_values[2].el;
+    float x_64 = x_10.x_GLF_uniform_float_values[1].el;
+    float x_68 = E;
+    x_69 = (abs((x_60 - (x_62 / x_64))) < x_68);
+    x_70_phi = x_69;
+  }
+  bool x_70 = x_70_phi;
+  x_86_phi = x_70;
+  if (x_70) {
+    int x_74 = x_8.x_GLF_uniform_int_values[2].el;
+    float x_76 = v1[x_74];
+    float x_78 = x_10.x_GLF_uniform_float_values[0].el;
+    float x_80 = x_10.x_GLF_uniform_float_values[1].el;
+    float x_84 = E;
+    x_85 = (abs((x_76 - (x_78 / x_80))) < x_84);
+    x_86_phi = x_85;
+  }
+  bool x_86 = x_86_phi;
+  x_102_phi = x_86;
+  if (x_86) {
+    int x_90 = x_8.x_GLF_uniform_int_values[3].el;
+    float x_92 = v1[x_90];
+    float x_94 = x_10.x_GLF_uniform_float_values[2].el;
+    float x_96 = x_10.x_GLF_uniform_float_values[1].el;
+    float x_100 = E;
+    x_101 = (abs((x_92 - (x_94 / x_96))) < x_100);
+    x_102_phi = x_101;
+  }
+  bool x_102 = x_102_phi;
+  if (x_102) {
+    int x_107 = x_8.x_GLF_uniform_int_values[0].el;
+    int x_110 = x_8.x_GLF_uniform_int_values[1].el;
+    int x_113 = x_8.x_GLF_uniform_int_values[1].el;
+    int x_116 = x_8.x_GLF_uniform_int_values[0].el;
+    float v = float(x_107);
+    float v_1 = float(x_110);
+    float v_2 = float(x_113);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_116));
+  } else {
+    int x_120 = x_8.x_GLF_uniform_int_values[1].el;
+    float x_122 = v1[x_120];
+    x_GLF_color = vec4(x_122, x_122, x_122, x_122);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f84dbe5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,85 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 v1 = vec4(0.0f);
+  float E = 0.0f;
+  bool x_69 = false;
+  bool x_70 = false;
+  bool x_85 = false;
+  bool x_86 = false;
+  bool x_101 = false;
+  bool x_102 = false;
+  a = packSnorm4x8(vec4(x_6.x_GLF_uniform_float_values[1].el));
+  v1 = unpackUnorm4x8(a);
+  E = x_6.x_GLF_uniform_float_values[0].el;
+  float v = abs((v1[x_10.x_GLF_uniform_int_values[1].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el)));
+  bool x_54 = (v < E);
+  x_70 = x_54;
+  if (x_54) {
+    float v_1 = abs((v1[x_10.x_GLF_uniform_int_values[0].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el)));
+    x_69 = (v_1 < E);
+    x_70 = x_69;
+  }
+  x_86 = x_70;
+  if (x_70) {
+    float v_2 = abs((v1[x_10.x_GLF_uniform_int_values[3].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el)));
+    x_85 = (v_2 < E);
+    x_86 = x_85;
+  }
+  x_102 = x_86;
+  if (x_86) {
+    float v_3 = abs((v1[x_10.x_GLF_uniform_int_values[2].el] - (x_6.x_GLF_uniform_float_values[2].el / x_6.x_GLF_uniform_float_values[3].el)));
+    x_101 = (v_3 < E);
+    x_102 = x_101;
+  }
+  if (x_102) {
+    float v_4 = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_5 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_6 = float(x_10.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_4, v_5, v_6, float(x_10.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.ir.glsl
index 72ca17c..d61aa5c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-packsnorm-unpackunorm/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,113 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 v1 = vec4(0.0f);
+  float E = 0.0f;
+  bool x_69 = false;
+  bool x_85 = false;
+  bool x_101 = false;
+  bool x_70_phi = false;
+  bool x_86_phi = false;
+  bool x_102_phi = false;
+  float x_35 = x_6.x_GLF_uniform_float_values[1].el;
+  a = packSnorm4x8(vec4(x_35, x_35, x_35, x_35));
+  uint x_38 = a;
+  v1 = unpackUnorm4x8(x_38);
+  float x_41 = x_6.x_GLF_uniform_float_values[0].el;
+  E = x_41;
+  int x_43 = x_10.x_GLF_uniform_int_values[1].el;
+  float x_45 = v1[x_43];
+  float x_47 = x_6.x_GLF_uniform_float_values[2].el;
+  float x_49 = x_6.x_GLF_uniform_float_values[3].el;
+  float x_53 = E;
+  bool x_54 = (abs((x_45 - (x_47 / x_49))) < x_53);
+  x_70_phi = x_54;
+  if (x_54) {
+    int x_58 = x_10.x_GLF_uniform_int_values[0].el;
+    float x_60 = v1[x_58];
+    float x_62 = x_6.x_GLF_uniform_float_values[2].el;
+    float x_64 = x_6.x_GLF_uniform_float_values[3].el;
+    float x_68 = E;
+    x_69 = (abs((x_60 - (x_62 / x_64))) < x_68);
+    x_70_phi = x_69;
+  }
+  bool x_70 = x_70_phi;
+  x_86_phi = x_70;
+  if (x_70) {
+    int x_74 = x_10.x_GLF_uniform_int_values[3].el;
+    float x_76 = v1[x_74];
+    float x_78 = x_6.x_GLF_uniform_float_values[2].el;
+    float x_80 = x_6.x_GLF_uniform_float_values[3].el;
+    float x_84 = E;
+    x_85 = (abs((x_76 - (x_78 / x_80))) < x_84);
+    x_86_phi = x_85;
+  }
+  bool x_86 = x_86_phi;
+  x_102_phi = x_86;
+  if (x_86) {
+    int x_90 = x_10.x_GLF_uniform_int_values[2].el;
+    float x_92 = v1[x_90];
+    float x_94 = x_6.x_GLF_uniform_float_values[2].el;
+    float x_96 = x_6.x_GLF_uniform_float_values[3].el;
+    float x_100 = E;
+    x_101 = (abs((x_92 - (x_94 / x_96))) < x_100);
+    x_102_phi = x_101;
+  }
+  bool x_102 = x_102_phi;
+  if (x_102) {
+    int x_107 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_110 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_113 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_116 = x_10.x_GLF_uniform_int_values[0].el;
+    float v = float(x_107);
+    float v_1 = float(x_110);
+    float v_2 = float(x_113);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_116));
+  } else {
+    int x_120 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_121 = float(x_120);
+    x_GLF_color = vec4(x_121, x_121, x_121, x_121);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f6cc4c1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 color = vec4(0.0f);
+  color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el);
+  int x_38 = x_8.x_GLF_uniform_int_values[1].el;
+  switch(((1 | x_38) ^ 1)) {
+    case 0:
+    {
+      int x_44 = x_8.x_GLF_uniform_int_values[0].el;
+      color[x_44] = x_6.x_GLF_uniform_float_values[1].el;
+      break;
+    }
+    default:
+    {
+      break;
+    }
+  }
+  x_GLF_color = color;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.wgsl.expected.ir.glsl
index 72ca17c..4b47ba1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-simplify-demanded-switch-or-xor/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,67 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 color = vec4(0.0f);
+  float x_29 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_31 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_33 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_35 = x_6.x_GLF_uniform_float_values[1].el;
+  color = vec4(x_29, x_31, x_33, x_35);
+  int x_38 = x_8.x_GLF_uniform_int_values[1].el;
+  switch(((1 | x_38) ^ 1)) {
+    case 0:
+    {
+      int x_44 = x_8.x_GLF_uniform_int_values[0].el;
+      float x_46 = x_6.x_GLF_uniform_float_values[1].el;
+      color[x_44] = x_46;
+      break;
+    }
+    default:
+    {
+      break;
+    }
+  }
+  vec4 x_48 = color;
+  x_GLF_color = x_48;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..3bee3f4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,85 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  int i = 0;
+  float b = 0.0f;
+  float c = 0.0f;
+  float d = 0.0f;
+  bool x_67 = false;
+  bool x_68 = false;
+  a = x_6.x_GLF_uniform_float_values[0].el;
+  i = x_9.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_9.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      b = a;
+      c = b;
+      d = asin(c);
+      c = x_6.x_GLF_uniform_float_values[1].el;
+      a = d;
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  bool x_61 = (x_6.x_GLF_uniform_float_values[2].el < a);
+  x_68 = x_61;
+  if (x_61) {
+    x_67 = (a < x_6.x_GLF_uniform_float_values[3].el);
+    x_68 = x_67;
+  }
+  if (x_68) {
+    float v = float(x_9.x_GLF_uniform_int_values[2].el);
+    float v_1 = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_9.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_9.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.wgsl.expected.ir.glsl
index 72ca17c..88c377c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-combine-vector-ops-asin/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,106 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  int i = 0;
+  float b = 0.0f;
+  float c = 0.0f;
+  float d = 0.0f;
+  bool x_67 = false;
+  bool x_68_phi = false;
+  float x_37 = x_6.x_GLF_uniform_float_values[0].el;
+  a = x_37;
+  int x_39 = x_9.x_GLF_uniform_int_values[1].el;
+  i = x_39;
+  {
+    while(true) {
+      int x_44 = i;
+      int x_46 = x_9.x_GLF_uniform_int_values[0].el;
+      if ((x_44 < x_46)) {
+      } else {
+        break;
+      }
+      float x_49 = a;
+      b = x_49;
+      float x_50 = b;
+      c = x_50;
+      float x_51 = c;
+      d = asin(x_51);
+      float x_54 = x_6.x_GLF_uniform_float_values[1].el;
+      c = x_54;
+      float x_55 = d;
+      a = x_55;
+      {
+        int x_56 = i;
+        i = (x_56 + 1);
+      }
+      continue;
+    }
+  }
+  float x_59 = x_6.x_GLF_uniform_float_values[2].el;
+  float x_60 = a;
+  bool x_61 = (x_59 < x_60);
+  x_68_phi = x_61;
+  if (x_61) {
+    float x_64 = a;
+    float x_66 = x_6.x_GLF_uniform_float_values[3].el;
+    x_67 = (x_64 < x_66);
+    x_68_phi = x_67;
+  }
+  bool x_68 = x_68_phi;
+  if (x_68) {
+    int x_73 = x_9.x_GLF_uniform_int_values[2].el;
+    int x_76 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_79 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_82 = x_9.x_GLF_uniform_int_values[2].el;
+    float v = float(x_73);
+    float v_1 = float(x_76);
+    float v_2 = float(x_79);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_82));
+  } else {
+    int x_86 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_87 = float(x_86);
+    x_GLF_color = vec4(x_87, x_87, x_87, x_87);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.ir.glsl
index e1168e3..a6ed1de 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  if ((inversesqrt(x_5.x_GLF_uniform_float_values[1].el) < -1.0f)) {
+    x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[0].el);
+  } else {
+    x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[1].el, x_5.x_GLF_uniform_float_values[0].el, x_5.x_GLF_uniform_float_values[0].el, x_5.x_GLF_uniform_float_values[1].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.ir.glsl
index 72ca17c..0a2a80c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-inst-value-tracking-inversesqrt/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_23 = x_5.x_GLF_uniform_float_values[1].el;
+  if ((inversesqrt(x_23) < -1.0f)) {
+    float x_30 = x_5.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_30, x_30, x_30, x_30);
+  } else {
+    float x_33 = x_5.x_GLF_uniform_float_values[1].el;
+    float x_35 = x_5.x_GLF_uniform_float_values[0].el;
+    float x_37 = x_5.x_GLF_uniform_float_values[0].el;
+    float x_39 = x_5.x_GLF_uniform_float_values[1].el;
+    x_GLF_color = vec4(x_33, x_35, x_37, x_39);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-bit-shifting/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-bit-shifting/0-opt.spvasm.expected.ir.glsl
index ae9b6d0..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-bit-shifting/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-bit-shifting/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-bit-shifting/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-bit-shifting/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-bit-shifting/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-bit-shifting/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.spvasm.expected.ir.glsl
index 69f590c..2d4b5f9 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  float v = float(x_6.x_GLF_uniform_int_values[0].el);
+  vec2 v_1 = vec2(v, float(x_6.x_GLF_uniform_int_values[1].el));
+  a = v_1[(x_6.x_GLF_uniform_int_values[0].el | 1)];
+  if ((a == x_8.x_GLF_uniform_float_values[0].el)) {
+    float v_2 = a;
+    float v_3 = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_4 = float(x_6.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v_2, v_3, v_4, a);
+  } else {
+    x_GLF_color = vec4(a);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.wgsl.expected.ir.glsl
index 72ca17c..e35fb97 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inclusive-or/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,64 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  int x_31 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_34 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_38 = x_6.x_GLF_uniform_int_values[0].el;
+  float v = float(x_31);
+  a = vec2(v, float(x_34))[(x_38 | 1)];
+  float x_41 = a;
+  float x_43 = x_8.x_GLF_uniform_float_values[0].el;
+  if ((x_41 == x_43)) {
+    float x_48 = a;
+    int x_50 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_53 = x_6.x_GLF_uniform_int_values[0].el;
+    float x_55 = a;
+    float v_1 = float(x_50);
+    x_GLF_color = vec4(x_48, v_1, float(x_53), x_55);
+  } else {
+    float x_57 = a;
+    x_GLF_color = vec4(x_57, x_57, x_57, x_57);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inst-combine-calls-for-compare-function-call-result/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inst-combine-calls-for-compare-function-call-result/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inst-combine-calls-for-compare-function-call-result/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inst-combine-calls-for-compare-function-call-result/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inst-combine-calls-for-compare-function-call-result/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inst-combine-calls-for-compare-function-call-result/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inst-combine-calls-for-compare-function-call-result/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-inst-combine-calls-for-compare-function-call-result/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.spvasm.expected.ir.glsl
index 69f590c..654ab3f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+uniform buf1 x_8;
+void main_1() {
+  float a = 0.0f;
+  float v = float(x_5.x_GLF_uniform_int_values[0].el);
+  float v_1 = float(x_5.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_5.x_GLF_uniform_int_values[1].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_5.x_GLF_uniform_int_values[0].el));
+  float x_45 = x_8.x_GLF_uniform_float_values[1].el;
+  a = (x_45 - (1.0f * floor((x_45 / 1.0f))));
+  if ((a != x_8.x_GLF_uniform_float_values[0].el)) {
+    x_GLF_color[1u] = x_8.x_GLF_uniform_float_values[0].el;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.ir.glsl
index 72ca17c..11e45ea 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-acos-undefined/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,62 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+uniform buf1 x_8;
+void main_1() {
+  float a = 0.0f;
+  int x_10 = x_5.x_GLF_uniform_int_values[0].el;
+  int x_11 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_12 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_13 = x_5.x_GLF_uniform_int_values[0].el;
+  float v = float(x_10);
+  float v_1 = float(x_11);
+  float v_2 = float(x_12);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_13));
+  float x_45 = x_8.x_GLF_uniform_float_values[1].el;
+  a = (x_45 - (1.0f * floor((x_45 / 1.0f))));
+  float x_47 = a;
+  float x_49 = x_8.x_GLF_uniform_float_values[0].el;
+  if ((x_47 != x_49)) {
+    float x_54 = x_8.x_GLF_uniform_float_values[0].el;
+    x_GLF_color[1u] = x_54;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.spvasm.expected.ir.glsl
index 69f590c..6688198 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+uniform buf1 x_8;
+void main_1() {
+  float a = 0.0f;
+  float v = float(x_5.x_GLF_uniform_int_values[0].el);
+  float v_1 = float(x_5.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_5.x_GLF_uniform_int_values[1].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_5.x_GLF_uniform_int_values[0].el));
+  float x_45 = x_8.x_GLF_uniform_float_values[1].el;
+  a = (1.0f - (x_45 * floor((1.0f / x_45))));
+  if ((a != x_8.x_GLF_uniform_float_values[0].el)) {
+    x_GLF_color[1u] = x_8.x_GLF_uniform_float_values[0].el;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.ir.glsl
index 72ca17c..31e6159 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-mod-sqrt-undefined/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,62 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+uniform buf1 x_8;
+void main_1() {
+  float a = 0.0f;
+  int x_10 = x_5.x_GLF_uniform_int_values[0].el;
+  int x_11 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_12 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_13 = x_5.x_GLF_uniform_int_values[0].el;
+  float v = float(x_10);
+  float v_1 = float(x_11);
+  float v_2 = float(x_12);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_13));
+  float x_45 = x_8.x_GLF_uniform_float_values[1].el;
+  a = (1.0f - (x_45 * floor((1.0f / x_45))));
+  float x_47 = a;
+  float x_49 = x_8.x_GLF_uniform_float_values[0].el;
+  if ((x_47 != x_49)) {
+    float x_54 = x_8.x_GLF_uniform_float_values[0].el;
+    x_GLF_color[1u] = x_54;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.spvasm.expected.ir.glsl
index e1168e3..efbc6b6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.spvasm.expected.ir.glsl
@@ -1,11 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_7;
+void main_1() {
+  if ((sqrt(x_5.x_GLF_uniform_float_values[0].el) < -1.0f)) {
+    x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[1].el));
+  } else {
+    float x_41 = float(x_7.x_GLF_uniform_int_values[0].el);
+    float x_43 = float(x_7.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(x_41, x_43, x_43, x_41);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.wgsl.expected.ir.glsl
index 72ca17c..f30a1c7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instruction-simplify-sqrt/0.wgsl.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_7;
+void main_1() {
+  float x_31 = x_5.x_GLF_uniform_float_values[0].el;
+  if ((sqrt(x_31) < -1.0f)) {
+    int x_10 = x_7.x_GLF_uniform_int_values[1].el;
+    float x_38 = float(x_10);
+    x_GLF_color = vec4(x_38, x_38, x_38, x_38);
+  } else {
+    int x_11 = x_7.x_GLF_uniform_int_values[0].el;
+    float x_41 = float(x_11);
+    int x_12 = x_7.x_GLF_uniform_int_values[1].el;
+    float x_43 = float(x_12);
+    x_GLF_color = vec4(x_41, x_43, x_43, x_41);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.spvasm.expected.ir.glsl
index e1168e3..0319c05 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,138 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 v1;
+};
+
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct S {
+  int data;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_8;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void func_struct_S_i11_(inout S s) {
+  if ((x_8.v1.x > x_8.v1.y)) {
+    return;
+  }
+  s.data = x_10.x_GLF_uniform_int_values[0].el;
+}
+void main_1() {
+  int i = 0;
+  S arr[3] = S[3](S(0), S(0), S(0));
+  int i_1 = 0;
+  S param = S(0);
+  int j = 0;
+  bool x_132 = false;
+  bool x_133 = false;
+  bool x_142 = false;
+  bool x_143 = false;
+  i = x_10.x_GLF_uniform_int_values[2].el;
+  {
+    while(true) {
+      if ((i < x_10.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      int x_56 = i;
+      arr[x_56].data = i;
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  i_1 = x_10.x_GLF_uniform_int_values[2].el;
+  {
+    while(true) {
+      if ((i_1 < x_10.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      if ((x_8.v1.x > x_8.v1.y)) {
+        break;
+      }
+      if ((arr[i_1].data == x_10.x_GLF_uniform_int_values[3].el)) {
+        int x_88 = i_1;
+        param = arr[i_1];
+        func_struct_S_i11_(param);
+        arr[x_88] = param;
+      } else {
+        j = x_10.x_GLF_uniform_int_values[2].el;
+        {
+          while(true) {
+            if ((j < x_10.x_GLF_uniform_int_values[0].el)) {
+            } else {
+              break;
+            }
+            if ((arr[j].data > x_10.x_GLF_uniform_int_values[4].el)) {
+              continue_execution = false;
+            }
+            {
+              j = (j + 1);
+            }
+            continue;
+          }
+        }
+      }
+      {
+        i_1 = (i_1 + 1);
+      }
+      continue;
+    }
+  }
+  bool x_123 = (arr[x_10.x_GLF_uniform_int_values[2].el].data == x_10.x_GLF_uniform_int_values[2].el);
+  x_133 = x_123;
+  if (x_123) {
+    x_132 = (arr[x_10.x_GLF_uniform_int_values[3].el].data == x_10.x_GLF_uniform_int_values[0].el);
+    x_133 = x_132;
+  }
+  x_143 = x_133;
+  if (x_133) {
+    x_142 = (arr[x_10.x_GLF_uniform_int_values[1].el].data == x_10.x_GLF_uniform_int_values[1].el);
+    x_143 = x_142;
+  }
+  if (x_143) {
+    float v = float(x_10.x_GLF_uniform_int_values[3].el);
+    float v_1 = float(x_10.x_GLF_uniform_int_values[2].el);
+    float v_2 = float(x_10.x_GLF_uniform_int_values[2].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[3].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[2].el));
+  }
+}
+main_out main() {
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..7a297c7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-first-value-phi/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,181 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 v1;
+};
+
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct S {
+  int data;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_8;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void func_struct_S_i11_(inout S s) {
+  float x_166 = x_8.v1.x;
+  float x_168 = x_8.v1.y;
+  if ((x_166 > x_168)) {
+    return;
+  }
+  int x_173 = x_10.x_GLF_uniform_int_values[0].el;
+  s.data = x_173;
+}
+void main_1() {
+  int i = 0;
+  S arr[3] = S[3](S(0), S(0), S(0));
+  int i_1 = 0;
+  S param = S(0);
+  int j = 0;
+  bool x_132 = false;
+  bool x_142 = false;
+  bool x_133_phi = false;
+  bool x_143_phi = false;
+  int x_46 = x_10.x_GLF_uniform_int_values[2].el;
+  i = x_46;
+  {
+    while(true) {
+      int x_51 = i;
+      int x_53 = x_10.x_GLF_uniform_int_values[0].el;
+      if ((x_51 < x_53)) {
+      } else {
+        break;
+      }
+      int x_56 = i;
+      int x_57 = i;
+      arr[x_56].data = x_57;
+      {
+        int x_59 = i;
+        i = (x_59 + 1);
+      }
+      continue;
+    }
+  }
+  int x_62 = x_10.x_GLF_uniform_int_values[2].el;
+  i_1 = x_62;
+  {
+    while(true) {
+      int x_67 = i_1;
+      int x_69 = x_10.x_GLF_uniform_int_values[0].el;
+      if ((x_67 < x_69)) {
+      } else {
+        break;
+      }
+      float x_73 = x_8.v1.x;
+      float x_75 = x_8.v1.y;
+      if ((x_73 > x_75)) {
+        break;
+      }
+      int x_79 = i_1;
+      int x_81 = arr[x_79].data;
+      int x_83 = x_10.x_GLF_uniform_int_values[3].el;
+      if ((x_81 == x_83)) {
+        int x_88 = i_1;
+        S x_90 = arr[x_88];
+        param = x_90;
+        func_struct_S_i11_(param);
+        S x_92 = param;
+        arr[x_88] = x_92;
+      } else {
+        int x_95 = x_10.x_GLF_uniform_int_values[2].el;
+        j = x_95;
+        {
+          while(true) {
+            int x_100 = j;
+            int x_102 = x_10.x_GLF_uniform_int_values[0].el;
+            if ((x_100 < x_102)) {
+            } else {
+              break;
+            }
+            int x_105 = j;
+            int x_107 = arr[x_105].data;
+            int x_109 = x_10.x_GLF_uniform_int_values[4].el;
+            if ((x_107 > x_109)) {
+              continue_execution = false;
+            }
+            {
+              int x_113 = j;
+              j = (x_113 + 1);
+            }
+            continue;
+          }
+        }
+      }
+      {
+        int x_115 = i_1;
+        i_1 = (x_115 + 1);
+      }
+      continue;
+    }
+  }
+  int x_118 = x_10.x_GLF_uniform_int_values[2].el;
+  int x_120 = arr[x_118].data;
+  int x_122 = x_10.x_GLF_uniform_int_values[2].el;
+  bool x_123 = (x_120 == x_122);
+  x_133_phi = x_123;
+  if (x_123) {
+    int x_127 = x_10.x_GLF_uniform_int_values[3].el;
+    int x_129 = arr[x_127].data;
+    int x_131 = x_10.x_GLF_uniform_int_values[0].el;
+    x_132 = (x_129 == x_131);
+    x_133_phi = x_132;
+  }
+  bool x_133 = x_133_phi;
+  x_143_phi = x_133;
+  if (x_133) {
+    int x_137 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_139 = arr[x_137].data;
+    int x_141 = x_10.x_GLF_uniform_int_values[1].el;
+    x_142 = (x_139 == x_141);
+    x_143_phi = x_142;
+  }
+  bool x_143 = x_143_phi;
+  if (x_143) {
+    int x_148 = x_10.x_GLF_uniform_int_values[3].el;
+    int x_151 = x_10.x_GLF_uniform_int_values[2].el;
+    int x_154 = x_10.x_GLF_uniform_int_values[2].el;
+    int x_157 = x_10.x_GLF_uniform_int_values[3].el;
+    float v = float(x_148);
+    float v_1 = float(x_151);
+    float v_2 = float(x_154);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_157));
+  } else {
+    int x_161 = x_10.x_GLF_uniform_int_values[2].el;
+    float x_162 = float(x_161);
+    x_GLF_color = vec4(x_162, x_162, x_162, x_162);
+  }
+}
+main_out main() {
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..5230851 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,68 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_5;
+uniform buf0 x_8;
+void main_1() {
+  int i = 0;
+  x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[0].el));
+  i = x_5.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      if ((i < x_5.x_GLF_uniform_int_values[1].el)) {
+      } else {
+        break;
+      }
+      float v = x_8.x_GLF_uniform_float_values[1].el;
+      if (!((v <= float(i)))) {
+        vec4 v_1 = x_GLF_color;
+        float v_2 = x_8.x_GLF_uniform_float_values[0].el;
+        float v_3 = float(i);
+        float v_4 = float(i);
+        x_GLF_color = (v_1 + vec4(v_2, v_3, v_4, x_8.x_GLF_uniform_float_values[0].el));
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.wgsl.expected.ir.glsl
index 72ca17c..ca484b7fd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-instructions-for-if-less-than-equal/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,77 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_5;
+uniform buf0 x_8;
+void main_1() {
+  int i = 0;
+  int x_29 = x_5.x_GLF_uniform_int_values[0].el;
+  float x_30 = float(x_29);
+  x_GLF_color = vec4(x_30, x_30, x_30, x_30);
+  int x_33 = x_5.x_GLF_uniform_int_values[0].el;
+  i = x_33;
+  {
+    while(true) {
+      int x_38 = i;
+      int x_40 = x_5.x_GLF_uniform_int_values[1].el;
+      if ((x_38 < x_40)) {
+      } else {
+        break;
+      }
+      float x_44 = x_8.x_GLF_uniform_float_values[1].el;
+      int x_45 = i;
+      if (!((x_44 <= float(x_45)))) {
+        float x_52 = x_8.x_GLF_uniform_float_values[0].el;
+        int x_53 = i;
+        int x_55 = i;
+        float x_58 = x_8.x_GLF_uniform_float_values[0].el;
+        vec4 x_60 = x_GLF_color;
+        float v = float(x_53);
+        x_GLF_color = (x_60 + vec4(x_52, v, float(x_55), x_58));
+      }
+      {
+        int x_62 = i;
+        i = (x_62 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-int-div-round-to-zero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-int-div-round-to-zero/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-int-div-round-to-zero/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-int-div-round-to-zero/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-int-div-round-to-zero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-int-div-round-to-zero/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-int-div-round-to-zero/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-int-div-round-to-zero/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-int-full-bits-divide-by-two-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-int-full-bits-divide-by-two-loop/0-opt.spvasm.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-int-full-bits-divide-by-two-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-int-full-bits-divide-by-two-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-int-full-bits-divide-by-two-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-int-full-bits-divide-by-two-loop/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-int-full-bits-divide-by-two-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-int-full-bits-divide-by-two-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-integer-modulo-negative/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-integer-modulo-negative/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-integer-modulo-negative/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-integer-modulo-negative/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-integer-modulo-negative/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-integer-modulo-negative/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-integer-modulo-negative/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-integer-modulo-negative/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-intervalmap-set-stop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-intervalmap-set-stop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..25905a3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-intervalmap-set-stop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-intervalmap-set-stop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,106 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 func_() {
+  vec2 v = vec2(0.0f);
+  int i = 0;
+  int k = 0;
+  v = vec2(1.0f);
+  i = 0;
+  k = 0;
+  {
+    while(true) {
+      if ((k < 2)) {
+      } else {
+        break;
+      }
+      if (((v.y + 1.0f) > 4.0f)) {
+        break;
+      }
+      v[1u] = 1.0f;
+      i = (i + 1);
+      {
+        k = (k + 1);
+      }
+      continue;
+    }
+  }
+  if ((i < 10)) {
+    return vec3(1.0f, 0.0f, 0.0f);
+  } else {
+    return vec3(0.0f, 0.0f, 1.0f);
+  }
+  /* unreachable */
+}
+void main_1() {
+  int j = 0;
+  vec3 data[2] = vec3[2](vec3(0.0f), vec3(0.0f));
+  int j_1 = 0;
+  bool x_80 = false;
+  bool x_81 = false;
+  j = 0;
+  {
+    while(true) {
+      if ((j < 1)) {
+      } else {
+        break;
+      }
+      int x_52 = j;
+      vec3 x_53 = func_();
+      data[x_52] = x_53;
+      {
+        j = (j + 1);
+      }
+      continue;
+    }
+  }
+  j_1 = 0;
+  {
+    while(true) {
+      if ((j_1 < 1)) {
+      } else {
+        break;
+      }
+      int x_64 = j_1;
+      vec3 x_67 = func_();
+      data[((4 * x_64) + 1)] = x_67;
+      {
+        j_1 = (j_1 + 1);
+      }
+      continue;
+    }
+  }
+  bool x_74 = all((data[0] == vec3(1.0f, 0.0f, 0.0f)));
+  x_81 = x_74;
+  if (x_74) {
+    x_80 = all((data[1] == vec3(1.0f, 0.0f, 0.0f)));
+    x_81 = x_80;
+  }
+  if (x_81) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-intervalmap-set-stop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-intervalmap-set-stop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..6df7ad0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-intervalmap-set-stop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-intervalmap-set-stop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 func_() {
+  vec2 v = vec2(0.0f);
+  int i = 0;
+  int k = 0;
+  v = vec2(1.0f);
+  i = 0;
+  k = 0;
+  {
+    while(true) {
+      int x_90 = k;
+      if ((x_90 < 2)) {
+      } else {
+        break;
+      }
+      float x_94 = v.y;
+      if (((x_94 + 1.0f) > 4.0f)) {
+        break;
+      }
+      v[1u] = 1.0f;
+      int x_100 = i;
+      i = (x_100 + 1);
+      {
+        int x_102 = k;
+        k = (x_102 + 1);
+      }
+      continue;
+    }
+  }
+  int x_104 = i;
+  if ((x_104 < 10)) {
+    return vec3(1.0f, 0.0f, 0.0f);
+  } else {
+    return vec3(0.0f, 0.0f, 1.0f);
+  }
+  /* unreachable */
+}
+void main_1() {
+  int j = 0;
+  vec3 data[2] = vec3[2](vec3(0.0f), vec3(0.0f));
+  int j_1 = 0;
+  bool x_80 = false;
+  bool x_81_phi = false;
+  j = 0;
+  {
+    while(true) {
+      int x_49 = j;
+      if ((x_49 < 1)) {
+      } else {
+        break;
+      }
+      int x_52 = j;
+      vec3 x_53 = func_();
+      data[x_52] = x_53;
+      {
+        int x_55 = j;
+        j = (x_55 + 1);
+      }
+      continue;
+    }
+  }
+  j_1 = 0;
+  {
+    while(true) {
+      int x_61 = j_1;
+      if ((x_61 < 1)) {
+      } else {
+        break;
+      }
+      int x_64 = j_1;
+      vec3 x_67 = func_();
+      data[((4 * x_64) + 1)] = x_67;
+      {
+        int x_69 = j_1;
+        j_1 = (x_69 + 1);
+      }
+      continue;
+    }
+  }
+  vec3 x_72 = data[0];
+  bool x_74 = all((x_72 == vec3(1.0f, 0.0f, 0.0f)));
+  x_81_phi = x_74;
+  if (x_74) {
+    vec3 x_78 = data[1];
+    x_80 = all((x_78 == vec3(1.0f, 0.0f, 0.0f)));
+    x_81_phi = x_80;
+  }
+  bool x_81 = x_81_phi;
+  if (x_81) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.spvasm.expected.ir.glsl
index 72ca17c..2c758a4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.spvasm.expected.ir.glsl
@@ -1,11 +1,59 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v1 = vec2(0.0f);
+  float x_35 = x_6.x_GLF_uniform_float_values[0].el;
+  v1 = vec2(x_35);
+  int x_38 = x_8.x_GLF_uniform_int_values[0].el;
+  v1[x_38] = ldexp(v1.y, -256);
+  vec2 v = v1;
+  vec2 v_1 = vec2(x_35, 0.0f);
+  if (((v * mat2(v_1, vec2(0.0f, x_35)))[0u] == x_35)) {
+    float x_53 = float(x_38);
+    float x_56 = float(x_8.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(x_53, x_56, x_56, x_53);
+  } else {
+    x_GLF_color = vec4(float(x_8.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.wgsl.expected.ir.glsl
index 72ca17c..ba9160a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-ldexp-undefined-mat-vec-multiply/0.wgsl.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v1 = vec2(0.0f);
+  float x_35 = x_6.x_GLF_uniform_float_values[0].el;
+  v1 = vec2(x_35, x_35);
+  int x_38 = x_8.x_GLF_uniform_int_values[0].el;
+  float x_40 = v1.y;
+  v1[x_38] = ldexp(x_40, -256);
+  vec2 x_43 = v1;
+  vec2 v = vec2(x_35, 0.0f);
+  if (((x_43 * mat2(v, vec2(0.0f, x_35)))[0u] == x_35)) {
+    float x_53 = float(x_38);
+    int x_55 = x_8.x_GLF_uniform_int_values[1].el;
+    float x_56 = float(x_55);
+    x_GLF_color = vec4(x_53, x_56, x_56, x_53);
+  } else {
+    int x_59 = x_8.x_GLF_uniform_int_values[1].el;
+    float x_60 = float(x_59);
+    x_GLF_color = vec4(x_60, x_60, x_60, x_60);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-array-access/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-array-access/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-array-access/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-array-access/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-array-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-array-access/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-array-access/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-array-access/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-right-shift-compare/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-right-shift-compare/0.spvasm.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-right-shift-compare/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-right-shift-compare/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-right-shift-compare/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-right-shift-compare/0.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-right-shift-compare/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-left-shift-right-shift-compare/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..7da30c9 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,95 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 func_() {
+  vec2 v = vec2(0.0f);
+  int i = 0;
+  int k = 0;
+  v = vec2(1.0f);
+  i = 0;
+  k = 0;
+  {
+    while(true) {
+      if ((k < 2)) {
+      } else {
+        break;
+      }
+      if (((v.y + 1.0f) > 4.0f)) {
+        break;
+      }
+      v[1u] = 1.0f;
+      i = (i + 1);
+      {
+        k = (k + 1);
+      }
+      continue;
+    }
+  }
+  if ((i < 10)) {
+    return vec3(1.0f, 0.0f, 0.0f);
+  } else {
+    return vec3(0.0f, 0.0f, 1.0f);
+  }
+  /* unreachable */
+}
+void main_1() {
+  int j = 0;
+  vec3 data[2] = vec3[2](vec3(0.0f), vec3(0.0f));
+  int j_1 = 0;
+  j = 0;
+  {
+    while(true) {
+      if ((j < 1)) {
+      } else {
+        break;
+      }
+      int x_49 = j;
+      vec3 x_50 = func_();
+      data[x_49] = x_50;
+      {
+        j = (j + 1);
+      }
+      continue;
+    }
+  }
+  j_1 = 0;
+  {
+    while(true) {
+      if ((j_1 < 1)) {
+      } else {
+        break;
+      }
+      int x_61 = j_1;
+      vec3 x_64 = func_();
+      data[((4 * x_61) + 1)] = x_64;
+      {
+        j_1 = (j_1 + 1);
+      }
+      continue;
+    }
+  }
+  vec3 x_69 = data[0];
+  x_GLF_color = vec4(x_69[0u], x_69[1u], x_69[2u], 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..5a34706 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-liveinterval-different-dest/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,104 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 func_() {
+  vec2 v = vec2(0.0f);
+  int i = 0;
+  int k = 0;
+  v = vec2(1.0f);
+  i = 0;
+  k = 0;
+  {
+    while(true) {
+      int x_79 = k;
+      if ((x_79 < 2)) {
+      } else {
+        break;
+      }
+      float x_83 = v.y;
+      if (((x_83 + 1.0f) > 4.0f)) {
+        break;
+      }
+      v[1u] = 1.0f;
+      int x_89 = i;
+      i = (x_89 + 1);
+      {
+        int x_91 = k;
+        k = (x_91 + 1);
+      }
+      continue;
+    }
+  }
+  int x_93 = i;
+  if ((x_93 < 10)) {
+    return vec3(1.0f, 0.0f, 0.0f);
+  } else {
+    return vec3(0.0f, 0.0f, 1.0f);
+  }
+  /* unreachable */
+}
+void main_1() {
+  int j = 0;
+  vec3 data[2] = vec3[2](vec3(0.0f), vec3(0.0f));
+  int j_1 = 0;
+  j = 0;
+  {
+    while(true) {
+      int x_46 = j;
+      if ((x_46 < 1)) {
+      } else {
+        break;
+      }
+      int x_49 = j;
+      vec3 x_50 = func_();
+      data[x_49] = x_50;
+      {
+        int x_52 = j;
+        j = (x_52 + 1);
+      }
+      continue;
+    }
+  }
+  j_1 = 0;
+  {
+    while(true) {
+      int x_58 = j_1;
+      if ((x_58 < 1)) {
+      } else {
+        break;
+      }
+      int x_61 = j_1;
+      vec3 x_64 = func_();
+      data[((4 * x_61) + 1)] = x_64;
+      {
+        int x_66 = j_1;
+        j_1 = (x_66 + 1);
+      }
+      continue;
+    }
+  }
+  vec3 x_69 = data[0];
+  x_GLF_color = vec4(x_69[0u], x_69[1u], x_69[2u], 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..c9ad625 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,79 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int i = 0;
+  bool x_66 = false;
+  bool x_67 = false;
+  f = x_6.x_GLF_uniform_float_values[0].el;
+  i = x_9.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_9.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      float v = abs((-(x_6.x_GLF_uniform_float_values[3].el) * f));
+      f = (v + x_6.x_GLF_uniform_float_values[0].el);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  bool x_60 = (f > x_6.x_GLF_uniform_float_values[1].el);
+  x_67 = x_60;
+  if (x_60) {
+    x_66 = (f < x_6.x_GLF_uniform_float_values[2].el);
+    x_67 = x_66;
+  }
+  if (x_67) {
+    float v_1 = float(x_9.x_GLF_uniform_int_values[2].el);
+    float v_2 = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_3 = float(x_9.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_9.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.wgsl.expected.ir.glsl
index 72ca17c..e9977a6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-abs-multiply-offset/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,97 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int i = 0;
+  bool x_66 = false;
+  bool x_67_phi = false;
+  float x_34 = x_6.x_GLF_uniform_float_values[0].el;
+  f = x_34;
+  int x_36 = x_9.x_GLF_uniform_int_values[1].el;
+  i = x_36;
+  {
+    while(true) {
+      int x_41 = i;
+      int x_43 = x_9.x_GLF_uniform_int_values[0].el;
+      if ((x_41 < x_43)) {
+      } else {
+        break;
+      }
+      float x_47 = x_6.x_GLF_uniform_float_values[3].el;
+      float x_49 = f;
+      float x_53 = x_6.x_GLF_uniform_float_values[0].el;
+      f = (abs((-(x_47) * x_49)) + x_53);
+      {
+        int x_55 = i;
+        i = (x_55 + 1);
+      }
+      continue;
+    }
+  }
+  float x_57 = f;
+  float x_59 = x_6.x_GLF_uniform_float_values[1].el;
+  bool x_60 = (x_57 > x_59);
+  x_67_phi = x_60;
+  if (x_60) {
+    float x_63 = f;
+    float x_65 = x_6.x_GLF_uniform_float_values[2].el;
+    x_66 = (x_63 < x_65);
+    x_67_phi = x_66;
+  }
+  bool x_67 = x_67_phi;
+  if (x_67) {
+    int x_72 = x_9.x_GLF_uniform_int_values[2].el;
+    int x_75 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_78 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_81 = x_9.x_GLF_uniform_int_values[2].el;
+    float v = float(x_72);
+    float v_1 = float(x_75);
+    float v_2 = float(x_78);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_81));
+  } else {
+    int x_85 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_86 = float(x_85);
+    x_GLF_color = vec4(x_86, x_86, x_86, x_86);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..48054bb 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,76 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf0 x_7;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int i = 0;
+  x_GLF_global_loop_count = 0;
+  f = x_7.x_GLF_uniform_float_values[1].el;
+  i = x_10.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_10.x_GLF_uniform_int_values[2].el)) {
+      } else {
+        break;
+      }
+      if ((f > x_7.x_GLF_uniform_float_values[1].el)) {
+      }
+      f = 1.0f;
+      float v = (1.0f - clamp(x_7.x_GLF_uniform_float_values[2].el, 1.0f, f));
+      f = (v + float(i));
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((f == x_7.x_GLF_uniform_float_values[0].el)) {
+    float v_1 = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_3 = float(x_10.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_10.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..23ddcd7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-clamp-to-one-empty-condition/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,94 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf0 x_7;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int i = 0;
+  x_GLF_global_loop_count = 0;
+  float x_36 = x_7.x_GLF_uniform_float_values[1].el;
+  f = x_36;
+  int x_38 = x_10.x_GLF_uniform_int_values[1].el;
+  i = x_38;
+  {
+    while(true) {
+      int x_43 = i;
+      int x_45 = x_10.x_GLF_uniform_int_values[2].el;
+      if ((x_43 < x_45)) {
+      } else {
+        break;
+      }
+      float x_48 = f;
+      float x_50 = x_7.x_GLF_uniform_float_values[1].el;
+      if ((x_48 > x_50)) {
+      }
+      f = 1.0f;
+      float x_55 = x_7.x_GLF_uniform_float_values[2].el;
+      float x_56 = f;
+      int x_59 = i;
+      float v = (1.0f - clamp(x_55, 1.0f, x_56));
+      f = (v + float(x_59));
+      {
+        int x_62 = i;
+        i = (x_62 + 1);
+      }
+      continue;
+    }
+  }
+  float x_64 = f;
+  float x_66 = x_7.x_GLF_uniform_float_values[0].el;
+  if ((x_64 == x_66)) {
+    int x_72 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_75 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_78 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_81 = x_10.x_GLF_uniform_int_values[0].el;
+    float v_1 = float(x_72);
+    float v_2 = float(x_75);
+    float v_3 = float(x_78);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_81));
+  } else {
+    int x_85 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_86 = float(x_85);
+    x_GLF_color = vec4(x_86, x_86, x_86, x_86);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..73b5fbe 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,85 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[6];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int arr[3] = int[3](0, 0, 0);
+  int index = 0;
+  bool x_76 = false;
+  bool x_77 = false;
+  bool x_86 = false;
+  bool x_87 = false;
+  arr = int[3](x_6.x_GLF_uniform_int_values[3].el, x_6.x_GLF_uniform_int_values[5].el, x_6.x_GLF_uniform_int_values[2].el);
+  index = 1;
+  {
+    while(true) {
+      bool x_51 = false;
+      bool x_52 = false;
+      x_52 = true;
+      if (true) {
+        x_51 = !(((x_6.x_GLF_uniform_int_values[0].el == 1) & (index <= 1)));
+        x_52 = x_51;
+      }
+      if (!(x_52)) {
+      } else {
+        break;
+      }
+      int x_55 = index;
+      int x_56_save = x_55;
+      arr[x_56_save] = (arr[x_55] + 1);
+      index = (index + 1);
+      {
+      }
+      continue;
+    }
+  }
+  bool x_67 = (arr[x_6.x_GLF_uniform_int_values[1].el] == x_6.x_GLF_uniform_int_values[3].el);
+  x_77 = x_67;
+  if (x_67) {
+    x_76 = (arr[x_6.x_GLF_uniform_int_values[0].el] == x_6.x_GLF_uniform_int_values[4].el);
+    x_77 = x_76;
+  }
+  x_87 = x_77;
+  if (x_77) {
+    x_86 = (arr[x_6.x_GLF_uniform_int_values[3].el] == x_6.x_GLF_uniform_int_values[2].el);
+    x_87 = x_86;
+  }
+  if (x_87) {
+    float v = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.wgsl.expected.ir.glsl
index 72ca17c..5a3c739 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-condition-double-negate/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,110 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[6];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int arr[3] = int[3](0, 0, 0);
+  int index = 0;
+  bool x_76 = false;
+  bool x_86 = false;
+  bool x_77_phi = false;
+  bool x_87_phi = false;
+  int x_33 = x_6.x_GLF_uniform_int_values[3].el;
+  int x_35 = x_6.x_GLF_uniform_int_values[5].el;
+  int x_37 = x_6.x_GLF_uniform_int_values[2].el;
+  arr = int[3](x_33, x_35, x_37);
+  index = 1;
+  {
+    while(true) {
+      bool x_51 = false;
+      bool x_52_phi = false;
+      x_52_phi = true;
+      if (true) {
+        int x_46 = x_6.x_GLF_uniform_int_values[0].el;
+        int x_48 = index;
+        x_51 = !(((x_46 == 1) & (x_48 <= 1)));
+        x_52_phi = x_51;
+      }
+      bool x_52 = x_52_phi;
+      if (!(x_52)) {
+      } else {
+        break;
+      }
+      int x_55 = index;
+      int x_56_save = x_55;
+      int x_57 = arr[x_56_save];
+      arr[x_56_save] = (x_57 + 1);
+      int x_59 = index;
+      index = (x_59 + 1);
+      {
+      }
+      continue;
+    }
+  }
+  int x_62 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_64 = arr[x_62];
+  int x_66 = x_6.x_GLF_uniform_int_values[3].el;
+  bool x_67 = (x_64 == x_66);
+  x_77_phi = x_67;
+  if (x_67) {
+    int x_71 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_73 = arr[x_71];
+    int x_75 = x_6.x_GLF_uniform_int_values[4].el;
+    x_76 = (x_73 == x_75);
+    x_77_phi = x_76;
+  }
+  bool x_77 = x_77_phi;
+  x_87_phi = x_77;
+  if (x_77) {
+    int x_81 = x_6.x_GLF_uniform_int_values[3].el;
+    int x_83 = arr[x_81];
+    int x_85 = x_6.x_GLF_uniform_int_values[2].el;
+    x_86 = (x_83 == x_85);
+    x_87_phi = x_86;
+  }
+  bool x_87 = x_87_phi;
+  if (x_87) {
+    int x_92 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_95 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_98 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_101 = x_6.x_GLF_uniform_int_values[0].el;
+    float v = float(x_92);
+    float v_1 = float(x_95);
+    float v_2 = float(x_98);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_101));
+  } else {
+    int x_105 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_106 = float(x_105);
+    x_GLF_color = vec4(x_106, x_106, x_106, x_106);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..32ed84c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,81 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  float b = 0.0f;
+  float c = 0.0f;
+  int i = 0;
+  a = x_6.x_GLF_uniform_float_values[1].el;
+  b = x_6.x_GLF_uniform_float_values[1].el;
+  c = x_6.x_GLF_uniform_float_values[1].el;
+  i = x_11.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_11.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      if ((i == x_11.x_GLF_uniform_int_values[2].el)) {
+        float x_57 = a;
+        float x_60 = x_6.x_GLF_uniform_float_values[1].el;
+        b = (dFdx(x_57) + x_60);
+      }
+      float x_62 = a;
+      c = dFdx(x_62);
+      a = (c / b);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == x_6.x_GLF_uniform_float_values[0].el)) {
+    float v = float(x_11.x_GLF_uniform_int_values[2].el);
+    float v_1 = float(x_11.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_11.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_11.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_11.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.ir.glsl
index 72ca17c..6a0986b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-dfdx-constant-divide/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  float b = 0.0f;
+  float c = 0.0f;
+  int i = 0;
+  float x_35 = x_6.x_GLF_uniform_float_values[1].el;
+  a = x_35;
+  float x_37 = x_6.x_GLF_uniform_float_values[1].el;
+  b = x_37;
+  float x_39 = x_6.x_GLF_uniform_float_values[1].el;
+  c = x_39;
+  int x_41 = x_11.x_GLF_uniform_int_values[1].el;
+  i = x_41;
+  {
+    while(true) {
+      int x_46 = i;
+      int x_48 = x_11.x_GLF_uniform_int_values[0].el;
+      if ((x_46 < x_48)) {
+      } else {
+        break;
+      }
+      int x_51 = i;
+      int x_53 = x_11.x_GLF_uniform_int_values[2].el;
+      if ((x_51 == x_53)) {
+        float x_57 = a;
+        float x_60 = x_6.x_GLF_uniform_float_values[1].el;
+        b = (dFdx(x_57) + x_60);
+      }
+      float x_62 = a;
+      c = dFdx(x_62);
+      float x_64 = c;
+      float x_65 = b;
+      a = (x_64 / x_65);
+      {
+        int x_67 = i;
+        i = (x_67 + 1);
+      }
+      continue;
+    }
+  }
+  float x_69 = a;
+  float x_71 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_69 == x_71)) {
+    int x_77 = x_11.x_GLF_uniform_int_values[2].el;
+    int x_80 = x_11.x_GLF_uniform_int_values[1].el;
+    int x_83 = x_11.x_GLF_uniform_int_values[1].el;
+    int x_86 = x_11.x_GLF_uniform_int_values[2].el;
+    float v = float(x_77);
+    float v_1 = float(x_80);
+    float v_2 = float(x_83);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_86));
+  } else {
+    int x_90 = x_11.x_GLF_uniform_int_values[1].el;
+    float x_91 = float(x_90);
+    x_GLF_color = vec4(x_91, x_91, x_91, x_91);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.spvasm.expected.ir.glsl
index 72ca17c..b6c08bd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,95 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_7;
+uniform buf0 x_10;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2x3 m23 = mat2x3(vec3(0.0f), vec3(0.0f));
+  int i = 0;
+  float x_46 = x_7.x_GLF_uniform_float_values[1].el;
+  vec3 v = vec3(x_46, 0.0f, 0.0f);
+  m23 = mat2x3(v, vec3(0.0f, x_46, 0.0f));
+  i = 1;
+  {
+    while(true) {
+      bool x_80 = false;
+      bool x_81 = false;
+      if ((i < x_10.x_GLF_uniform_int_values[3].el)) {
+      } else {
+        break;
+      }
+      int x_60 = x_10.x_GLF_uniform_int_values[0].el;
+      int x_62 = x_10.x_GLF_uniform_int_values[2].el;
+      m23[x_60][x_62] = (m23[x_60][x_62] + x_7.x_GLF_uniform_float_values[0].el);
+      if ((tint_symbol.y < x_7.x_GLF_uniform_float_values[0].el)) {
+      }
+      x_81 = true;
+      if (true) {
+        x_80 = (tint_symbol.x < 0.0f);
+        x_81 = x_80;
+      }
+      if (!(x_81)) {
+        break;
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  float v_1 = float(x_10.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_10.x_GLF_uniform_int_values[1].el);
+  vec3 v_3 = vec3(v_1, v_2, float(x_10.x_GLF_uniform_int_values[1].el));
+  float v_4 = float(x_10.x_GLF_uniform_int_values[1].el);
+  float v_5 = float(x_10.x_GLF_uniform_int_values[1].el);
+  mat2x3 x_108 = mat2x3(v_3, vec3(v_4, v_5, float(x_10.x_GLF_uniform_int_values[0].el)));
+  bool v_6 = all((m23[0u] == x_108[0u]));
+  if ((v_6 & all((m23[1u] == x_108[1u])))) {
+    float v_7 = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_8 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_9 = float(x_10.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_7, v_8, v_9, float(x_10.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.wgsl.expected.ir.glsl
index 72ca17c..07dacb8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-matrix-element-break-after-first-iteration/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,117 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_7;
+uniform buf0 x_10;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2x3 m23 = mat2x3(vec3(0.0f), vec3(0.0f));
+  int i = 0;
+  float x_46 = x_7.x_GLF_uniform_float_values[1].el;
+  vec3 v = vec3(x_46, 0.0f, 0.0f);
+  m23 = mat2x3(v, vec3(0.0f, x_46, 0.0f));
+  i = 1;
+  {
+    while(true) {
+      bool x_80 = false;
+      bool x_81_phi = false;
+      int x_54 = i;
+      int x_56 = x_10.x_GLF_uniform_int_values[3].el;
+      if ((x_54 < x_56)) {
+      } else {
+        break;
+      }
+      int x_60 = x_10.x_GLF_uniform_int_values[0].el;
+      int x_62 = x_10.x_GLF_uniform_int_values[2].el;
+      float x_64 = x_7.x_GLF_uniform_float_values[0].el;
+      float x_66 = m23[x_60][x_62];
+      m23[x_60][x_62] = (x_66 + x_64);
+      float x_70 = tint_symbol.y;
+      float x_72 = x_7.x_GLF_uniform_float_values[0].el;
+      if ((x_70 < x_72)) {
+      }
+      x_81_phi = true;
+      if (true) {
+        float x_79 = tint_symbol.x;
+        x_80 = (x_79 < 0.0f);
+        x_81_phi = x_80;
+      }
+      bool x_81 = x_81_phi;
+      if (!(x_81)) {
+        break;
+      }
+      {
+        int x_85 = i;
+        i = (x_85 + 1);
+      }
+      continue;
+    }
+  }
+  mat2x3 x_87 = m23;
+  int x_89 = x_10.x_GLF_uniform_int_values[1].el;
+  int x_92 = x_10.x_GLF_uniform_int_values[1].el;
+  int x_95 = x_10.x_GLF_uniform_int_values[1].el;
+  int x_98 = x_10.x_GLF_uniform_int_values[1].el;
+  int x_101 = x_10.x_GLF_uniform_int_values[1].el;
+  int x_104 = x_10.x_GLF_uniform_int_values[0].el;
+  float v_1 = float(x_89);
+  float v_2 = float(x_92);
+  vec3 v_3 = vec3(v_1, v_2, float(x_95));
+  float v_4 = float(x_98);
+  float v_5 = float(x_101);
+  mat2x3 x_108 = mat2x3(v_3, vec3(v_4, v_5, float(x_104)));
+  bool v_6 = all((x_87[0u] == x_108[0u]));
+  if ((v_6 & all((x_87[1u] == x_108[1u])))) {
+    int x_122 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_125 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_128 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_131 = x_10.x_GLF_uniform_int_values[0].el;
+    float v_7 = float(x_122);
+    float v_8 = float(x_125);
+    float v_9 = float(x_128);
+    x_GLF_color = vec4(v_7, v_8, v_9, float(x_131));
+  } else {
+    int x_135 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_136 = float(x_135);
+    x_GLF_color = vec4(x_136, x_136, x_136, x_136);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-or-divide-by-loop-index/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-or-divide-by-loop-index/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-or-divide-by-loop-index/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-or-divide-by-loop-index/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-or-divide-by-loop-index/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-or-divide-by-loop-index/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-or-divide-by-loop-index/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-increment-or-divide-by-loop-index/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-integer-half-minus-one/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-integer-half-minus-one/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-integer-half-minus-one/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-integer-half-minus-one/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-integer-half-minus-one/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-integer-half-minus-one/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-integer-half-minus-one/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-integer-half-minus-one/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f8a9dc0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  a = x_6.x_GLF_uniform_int_values[0].el;
+  x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  {
+    while(true) {
+      if (((x_6.x_GLF_uniform_int_values[2].el == a) != true)) {
+      } else {
+        break;
+      }
+      float v = float(x_6.x_GLF_uniform_int_values[0].el);
+      float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+      float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+      x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.wgsl.expected.ir.glsl
index 72ca17c..5f837f5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-logical-xor/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int x_26 = x_6.x_GLF_uniform_int_values[0].el;
+  a = x_26;
+  int x_28 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_29 = float(x_28);
+  x_GLF_color = vec4(x_29, x_29, x_29, x_29);
+  {
+    while(true) {
+      int x_36 = x_6.x_GLF_uniform_int_values[2].el;
+      int x_37 = a;
+      if (((x_36 == x_37) != true)) {
+      } else {
+        break;
+      }
+      int x_42 = x_6.x_GLF_uniform_int_values[0].el;
+      int x_45 = x_6.x_GLF_uniform_int_values[1].el;
+      int x_48 = x_6.x_GLF_uniform_int_values[1].el;
+      int x_51 = x_6.x_GLF_uniform_int_values[0].el;
+      float v = float(x_42);
+      float v_1 = float(x_45);
+      float v_2 = float(x_48);
+      x_GLF_color = vec4(v, v_1, v_2, float(x_51));
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..731238c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,86 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float arr[5] = float[5](0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int i = 0;
+  int j = 0;
+  arr = float[5](x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el);
+  i = x_9.x_GLF_uniform_int_values[1].el;
+  j = 0;
+  {
+    while(true) {
+      if ((i < x_9.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      if ((j < -1)) {
+        break;
+      }
+      int x_63 = j;
+      arr[x_63] = (arr[j] + 1.0f);
+      {
+        i = (i + 1);
+        j = (j + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el);
+  i = x_9.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_9.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      if (!((arr[i] == 2.0f))) {
+        x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el);
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.wgsl.expected.ir.glsl
index 72ca17c..6b55cdc 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-loop-with-two-integers/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float arr[5] = float[5](0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int i = 0;
+  int j = 0;
+  float x_38 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_40 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_42 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_44 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_46 = x_6.x_GLF_uniform_float_values[0].el;
+  arr = float[5](x_38, x_40, x_42, x_44, x_46);
+  int x_49 = x_9.x_GLF_uniform_int_values[1].el;
+  i = x_49;
+  j = 0;
+  {
+    while(true) {
+      int x_54 = i;
+      int x_56 = x_9.x_GLF_uniform_int_values[0].el;
+      if ((x_54 < x_56)) {
+      } else {
+        break;
+      }
+      int x_59 = j;
+      if ((x_59 < -1)) {
+        break;
+      }
+      int x_63 = j;
+      float x_65 = arr[x_63];
+      arr[x_63] = (x_65 + 1.0f);
+      {
+        int x_68 = i;
+        i = (x_68 + 1);
+        int x_70 = j;
+        j = (x_70 + 1);
+      }
+      continue;
+    }
+  }
+  float x_73 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_75 = x_6.x_GLF_uniform_float_values[1].el;
+  float x_77 = x_6.x_GLF_uniform_float_values[1].el;
+  float x_79 = x_6.x_GLF_uniform_float_values[0].el;
+  x_GLF_color = vec4(x_73, x_75, x_77, x_79);
+  int x_82 = x_9.x_GLF_uniform_int_values[1].el;
+  i = x_82;
+  {
+    while(true) {
+      int x_87 = i;
+      int x_89 = x_9.x_GLF_uniform_int_values[0].el;
+      if ((x_87 < x_89)) {
+      } else {
+        break;
+      }
+      int x_92 = i;
+      float x_94 = arr[x_92];
+      if (!((x_94 == 2.0f))) {
+        float x_99 = x_6.x_GLF_uniform_float_values[1].el;
+        x_GLF_color = vec4(x_99, x_99, x_99, x_99);
+      }
+      {
+        int x_101 = i;
+        i = (x_101 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.spvasm.expected.ir.glsl
index 69f590c..eb1a6d7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,124 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[6];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_6;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_12;
+void main_1() {
+  int data[5] = int[5](0, 0, 0, 0, 0);
+  int a = 0;
+  int i = 0;
+  int j = 0;
+  int i_1 = 0;
+  float v = float(x_6.x_GLF_uniform_int_values[0].el);
+  float v_1 = float(x_6.x_GLF_uniform_int_values[5].el);
+  float v_2 = float(x_6.x_GLF_uniform_int_values[5].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  data = int[5](x_6.x_GLF_uniform_int_values[1].el, x_6.x_GLF_uniform_int_values[2].el, x_6.x_GLF_uniform_int_values[3].el, x_6.x_GLF_uniform_int_values[4].el, x_6.x_GLF_uniform_int_values[0].el);
+  a = x_6.x_GLF_uniform_int_values[5].el;
+  {
+    while(true) {
+      if ((a < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      i = x_6.x_GLF_uniform_int_values[5].el;
+      {
+        while(true) {
+          if ((i < x_6.x_GLF_uniform_int_values[1].el)) {
+          } else {
+            break;
+          }
+          j = i;
+          {
+            while(true) {
+              if ((j < x_6.x_GLF_uniform_int_values[1].el)) {
+              } else {
+                break;
+              }
+              if ((data[i] < data[j])) {
+                x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[5].el));
+              }
+              {
+                j = (j + 1);
+              }
+              continue;
+            }
+          }
+          {
+            i = (i + 1);
+          }
+          continue;
+        }
+      }
+      {
+        a = (a + 1);
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      if ((tint_symbol.x < x_12.x_GLF_uniform_float_values[0].el)) {
+      } else {
+        break;
+      }
+      i_1 = x_6.x_GLF_uniform_int_values[5].el;
+      {
+        while(true) {
+          if ((i_1 < x_6.x_GLF_uniform_int_values[0].el)) {
+          } else {
+            break;
+          }
+          x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[5].el));
+          {
+            i_1 = (i_1 + 1);
+          }
+          continue;
+        }
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.wgsl.expected.ir.glsl
index 72ca17c..a3ca1bf 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-basic-block-for-for-for-less-than/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,159 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[6];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_6;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_12;
+void main_1() {
+  int data[5] = int[5](0, 0, 0, 0, 0);
+  int a = 0;
+  int i = 0;
+  int j = 0;
+  int i_1 = 0;
+  int x_45 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_48 = x_6.x_GLF_uniform_int_values[5].el;
+  int x_51 = x_6.x_GLF_uniform_int_values[5].el;
+  int x_54 = x_6.x_GLF_uniform_int_values[0].el;
+  float v = float(x_45);
+  float v_1 = float(x_48);
+  float v_2 = float(x_51);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_54));
+  int x_58 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_60 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_62 = x_6.x_GLF_uniform_int_values[3].el;
+  int x_64 = x_6.x_GLF_uniform_int_values[4].el;
+  int x_66 = x_6.x_GLF_uniform_int_values[0].el;
+  data = int[5](x_58, x_60, x_62, x_64, x_66);
+  int x_69 = x_6.x_GLF_uniform_int_values[5].el;
+  a = x_69;
+  {
+    while(true) {
+      int x_74 = a;
+      int x_76 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_74 < x_76)) {
+      } else {
+        break;
+      }
+      int x_80 = x_6.x_GLF_uniform_int_values[5].el;
+      i = x_80;
+      {
+        while(true) {
+          int x_85 = i;
+          int x_87 = x_6.x_GLF_uniform_int_values[1].el;
+          if ((x_85 < x_87)) {
+          } else {
+            break;
+          }
+          int x_90 = i;
+          j = x_90;
+          {
+            while(true) {
+              int x_95 = j;
+              int x_97 = x_6.x_GLF_uniform_int_values[1].el;
+              if ((x_95 < x_97)) {
+              } else {
+                break;
+              }
+              int x_100 = i;
+              int x_102 = data[x_100];
+              int x_103 = j;
+              int x_105 = data[x_103];
+              if ((x_102 < x_105)) {
+                int x_110 = x_6.x_GLF_uniform_int_values[5].el;
+                float x_111 = float(x_110);
+                x_GLF_color = vec4(x_111, x_111, x_111, x_111);
+              }
+              {
+                int x_113 = j;
+                j = (x_113 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            int x_115 = i;
+            i = (x_115 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_117 = a;
+        a = (x_117 + 1);
+      }
+      continue;
+    }
+  }
+  {
+    while(true) {
+      float x_124 = tint_symbol.x;
+      float x_126 = x_12.x_GLF_uniform_float_values[0].el;
+      if ((x_124 < x_126)) {
+      } else {
+        break;
+      }
+      int x_130 = x_6.x_GLF_uniform_int_values[5].el;
+      i_1 = x_130;
+      {
+        while(true) {
+          int x_135 = i_1;
+          int x_137 = x_6.x_GLF_uniform_int_values[0].el;
+          if ((x_135 < x_137)) {
+          } else {
+            break;
+          }
+          int x_141 = x_6.x_GLF_uniform_int_values[5].el;
+          float x_142 = float(x_141);
+          x_GLF_color = vec4(x_142, x_142, x_142, x_142);
+          {
+            int x_144 = i_1;
+            i_1 = (x_144 + 1);
+          }
+          continue;
+        }
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..d80a892 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,87 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_v1_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+uniform buf0 x_12;
+vec4 x_GLF_v1 = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  vec2 uv = vec2(0.0f);
+  vec4 v1 = vec4(0.0f);
+  float a = 0.0f;
+  int i = 0;
+  uv = tint_symbol.xy;
+  v1 = vec4(x_8.x_GLF_uniform_float_values[0].el);
+  if ((uv.y >= x_8.x_GLF_uniform_float_values[0].el)) {
+    v1[0u] = x_8.x_GLF_uniform_float_values[2].el;
+    v1[1u] = x_8.x_GLF_uniform_float_values[0].el;
+    v1[2u] = x_8.x_GLF_uniform_float_values[0].el;
+    v1[3u] = x_8.x_GLF_uniform_float_values[2].el;
+  }
+  a = x_8.x_GLF_uniform_float_values[2].el;
+  i = x_12.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_12.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      if ((x_8.x_GLF_uniform_float_values[2].el < x_8.x_GLF_uniform_float_values[0].el)) {
+        continue_execution = false;
+      }
+      a = pow((((v1.x + v1.y) + v1.z) + v1.w), x_8.x_GLF_uniform_float_values[3].el);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == x_8.x_GLF_uniform_float_values[1].el)) {
+    x_GLF_v1 = v1;
+  } else {
+    x_GLF_v1 = vec4(float(x_12.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_v1);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2029028 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-machine-scheduler-for-if-pow/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_v1_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+uniform buf0 x_12;
+vec4 x_GLF_v1 = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  vec2 uv = vec2(0.0f);
+  vec4 v1 = vec4(0.0f);
+  float a = 0.0f;
+  int i = 0;
+  vec4 x_49 = tint_symbol;
+  uv = vec2(x_49[0u], x_49[1u]);
+  float x_52 = x_8.x_GLF_uniform_float_values[0].el;
+  v1 = vec4(x_52, x_52, x_52, x_52);
+  float x_55 = uv.y;
+  float x_57 = x_8.x_GLF_uniform_float_values[0].el;
+  if ((x_55 >= x_57)) {
+    float x_62 = x_8.x_GLF_uniform_float_values[2].el;
+    v1[0u] = x_62;
+    float x_65 = x_8.x_GLF_uniform_float_values[0].el;
+    v1[1u] = x_65;
+    float x_68 = x_8.x_GLF_uniform_float_values[0].el;
+    v1[2u] = x_68;
+    float x_71 = x_8.x_GLF_uniform_float_values[2].el;
+    v1[3u] = x_71;
+  }
+  float x_74 = x_8.x_GLF_uniform_float_values[2].el;
+  a = x_74;
+  int x_15 = x_12.x_GLF_uniform_int_values[1].el;
+  i = x_15;
+  {
+    while(true) {
+      int x_16 = i;
+      int x_17 = x_12.x_GLF_uniform_int_values[0].el;
+      if ((x_16 < x_17)) {
+      } else {
+        break;
+      }
+      float x_84 = x_8.x_GLF_uniform_float_values[2].el;
+      float x_86 = x_8.x_GLF_uniform_float_values[0].el;
+      if ((x_84 < x_86)) {
+        continue_execution = false;
+      }
+      float x_91 = v1.x;
+      float x_93 = v1.y;
+      float x_96 = v1.z;
+      float x_99 = v1.w;
+      float x_102 = x_8.x_GLF_uniform_float_values[3].el;
+      a = pow((((x_91 + x_93) + x_96) + x_99), x_102);
+      {
+        int x_18 = i;
+        i = (x_18 + 1);
+      }
+      continue;
+    }
+  }
+  float x_104 = a;
+  float x_106 = x_8.x_GLF_uniform_float_values[1].el;
+  if ((x_104 == x_106)) {
+    vec4 x_111 = v1;
+    x_GLF_v1 = x_111;
+  } else {
+    int x_20 = x_12.x_GLF_uniform_int_values[1].el;
+    float x_113 = float(x_20);
+    x_GLF_v1 = vec4(x_113, x_113, x_113, x_113);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_v1);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machinevaluetype-one-iter-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machinevaluetype-one-iter-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machinevaluetype-one-iter-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-machinevaluetype-one-iter-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-machinevaluetype-one-iter-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-machinevaluetype-one-iter-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-machinevaluetype-one-iter-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-machinevaluetype-one-iter-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.spvasm.expected.ir.glsl
index 69f590c..bae8498 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,70 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  float v = float(x_6.x_GLF_uniform_int_values[0].el);
+  float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  if ((tint_symbol.y < 0.0f)) {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+  i = x_6.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[2].el)) {
+      } else {
+        break;
+      }
+      if ((tint_symbol.x > 0.0f)) {
+        if ((tint_symbol.y < 0.0f)) {
+          x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+          break;
+        }
+      }
+      if ((tint_symbol.x > 0.0f)) {
+        if ((tint_symbol.y < 0.0f)) {
+          x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.wgsl.expected.ir.glsl
index 72ca17c..549e41d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-conditions-break/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,89 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int x_31 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_34 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_37 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_40 = x_6.x_GLF_uniform_int_values[0].el;
+  float v = float(x_31);
+  float v_1 = float(x_34);
+  float v_2 = float(x_37);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_40));
+  float x_44 = tint_symbol.y;
+  if ((x_44 < 0.0f)) {
+    int x_49 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_50 = float(x_49);
+    x_GLF_color = vec4(x_50, x_50, x_50, x_50);
+  }
+  int x_53 = x_6.x_GLF_uniform_int_values[1].el;
+  i = x_53;
+  {
+    while(true) {
+      int x_58 = i;
+      int x_60 = x_6.x_GLF_uniform_int_values[2].el;
+      if ((x_58 < x_60)) {
+      } else {
+        break;
+      }
+      float x_64 = tint_symbol.x;
+      if ((x_64 > 0.0f)) {
+        float x_69 = tint_symbol.y;
+        if ((x_69 < 0.0f)) {
+          int x_74 = x_6.x_GLF_uniform_int_values[1].el;
+          float x_75 = float(x_74);
+          x_GLF_color = vec4(x_75, x_75, x_75, x_75);
+          break;
+        }
+      }
+      float x_78 = tint_symbol.x;
+      if ((x_78 > 0.0f)) {
+        float x_83 = tint_symbol.y;
+        if ((x_83 < 0.0f)) {
+          int x_88 = x_6.x_GLF_uniform_int_values[1].el;
+          float x_89 = float(x_88);
+          x_GLF_color = vec4(x_89, x_89, x_89, x_89);
+        }
+      }
+      {
+        int x_91 = i;
+        i = (x_91 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..aeceae6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,89 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+int func_i1_(inout int x) {
+  int a = 0;
+  int i = 0;
+  int indexable[4] = int[4](0, 0, 0, 0);
+  a = x_8.x_GLF_uniform_int_values[0].el;
+  i = x_8.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      if ((i < x_8.x_GLF_uniform_int_values[1].el)) {
+      } else {
+        break;
+      }
+      int x_93 = a;
+      indexable = int[4](x_8.x_GLF_uniform_int_values[3].el, x_8.x_GLF_uniform_int_values[3].el, x_8.x_GLF_uniform_int_values[3].el, x_8.x_GLF_uniform_int_values[3].el);
+      if ((indexable[x_93] > x)) {
+        if (true) {
+          int x_105 = x_8.x_GLF_uniform_int_values[3].el;
+          return x_105;
+        } else {
+          a = x_8.x_GLF_uniform_int_values[3].el;
+        }
+      } else {
+        if (true) {
+          int x_111 = x_8.x_GLF_uniform_int_values[4].el;
+          return x_111;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  int x_115 = x_8.x_GLF_uniform_int_values[0].el;
+  return x_115;
+}
+void main_1() {
+  int a_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  param = x_8.x_GLF_uniform_int_values[0].el;
+  int x_40 = func_i1_(param);
+  a_1 = x_40;
+  param_1 = x_8.x_GLF_uniform_int_values[3].el;
+  int x_43 = func_i1_(param_1);
+  a_1 = (a_1 + x_43);
+  if ((a_1 == x_8.x_GLF_uniform_int_values[2].el)) {
+    float v = float(x_8.x_GLF_uniform_int_values[3].el);
+    float v_1 = float(x_8.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_8.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[3].el));
+  } else {
+    x_GLF_color = vec4(float(x_8.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2da4e13 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-matching-if-always-true-inside-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,112 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+int func_i1_(inout int x) {
+  int a = 0;
+  int i = 0;
+  int indexable[4] = int[4](0, 0, 0, 0);
+  int x_72 = x_8.x_GLF_uniform_int_values[0].el;
+  a = x_72;
+  int x_74 = x_8.x_GLF_uniform_int_values[0].el;
+  i = x_74;
+  {
+    while(true) {
+      int x_79 = i;
+      int x_81 = x_8.x_GLF_uniform_int_values[1].el;
+      if ((x_79 < x_81)) {
+      } else {
+        break;
+      }
+      int x_85 = x_8.x_GLF_uniform_int_values[3].el;
+      int x_87 = x_8.x_GLF_uniform_int_values[3].el;
+      int x_89 = x_8.x_GLF_uniform_int_values[3].el;
+      int x_91 = x_8.x_GLF_uniform_int_values[3].el;
+      int x_93 = a;
+      indexable = int[4](x_85, x_87, x_89, x_91);
+      int x_95 = indexable[x_93];
+      int x_96 = x;
+      if ((x_95 > x_96)) {
+        if (true) {
+          int x_105 = x_8.x_GLF_uniform_int_values[3].el;
+          return x_105;
+        } else {
+          int x_107 = x_8.x_GLF_uniform_int_values[3].el;
+          a = x_107;
+        }
+      } else {
+        if (true) {
+          int x_111 = x_8.x_GLF_uniform_int_values[4].el;
+          return x_111;
+        }
+      }
+      {
+        int x_112 = i;
+        i = (x_112 + 1);
+      }
+      continue;
+    }
+  }
+  int x_115 = x_8.x_GLF_uniform_int_values[0].el;
+  return x_115;
+}
+void main_1() {
+  int a_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int x_39 = x_8.x_GLF_uniform_int_values[0].el;
+  param = x_39;
+  int x_40 = func_i1_(param);
+  a_1 = x_40;
+  int x_42 = x_8.x_GLF_uniform_int_values[3].el;
+  param_1 = x_42;
+  int x_43 = func_i1_(param_1);
+  int x_44 = a_1;
+  a_1 = (x_44 + x_43);
+  int x_46 = a_1;
+  int x_48 = x_8.x_GLF_uniform_int_values[2].el;
+  if ((x_46 == x_48)) {
+    int x_54 = x_8.x_GLF_uniform_int_values[3].el;
+    int x_57 = x_8.x_GLF_uniform_int_values[0].el;
+    int x_60 = x_8.x_GLF_uniform_int_values[0].el;
+    int x_63 = x_8.x_GLF_uniform_int_values[3].el;
+    float v = float(x_54);
+    float v_1 = float(x_57);
+    float v_2 = float(x_60);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_63));
+  } else {
+    int x_67 = x_8.x_GLF_uniform_int_values[0].el;
+    float x_68 = float(x_67);
+    x_GLF_color = vec4(x_68, x_68, x_68, x_68);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.spvasm.expected.ir.glsl
index 69f590c..6d24be3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m = mat2(vec2(0.0f), vec2(0.0f));
+  float x_30 = float(x_6.x_GLF_uniform_int_values[0].el);
+  vec2 v = vec2(x_30, 0.0f);
+  m = transpose(transpose(mat2(v, vec2(0.0f, x_30))));
+  float x_39 = float(x_6.x_GLF_uniform_int_values[0].el);
+  vec2 v_1 = vec2(x_39, 0.0f);
+  mat2 x_42 = mat2(v_1, vec2(0.0f, x_39));
+  bool v_2 = all((m[0u] == x_42[0u]));
+  if ((v_2 & all((m[1u] == x_42[1u])))) {
+    float v_3 = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_4 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_5 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_3, v_4, v_5, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.wgsl.expected.ir.glsl
index 72ca17c..ca75f7a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-double-transpose/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m = mat2(vec2(0.0f), vec2(0.0f));
+  int x_29 = x_6.x_GLF_uniform_int_values[0].el;
+  float x_30 = float(x_29);
+  vec2 v = vec2(x_30, 0.0f);
+  m = transpose(transpose(mat2(v, vec2(0.0f, x_30))));
+  mat2 x_36 = m;
+  int x_38 = x_6.x_GLF_uniform_int_values[0].el;
+  float x_39 = float(x_38);
+  vec2 v_1 = vec2(x_39, 0.0f);
+  mat2 x_42 = mat2(v_1, vec2(0.0f, x_39));
+  bool v_2 = all((x_36[0u] == x_42[0u]));
+  if ((v_2 & all((x_36[1u] == x_42[1u])))) {
+    int x_56 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_59 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_62 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_65 = x_6.x_GLF_uniform_int_values[0].el;
+    float v_3 = float(x_56);
+    float v_4 = float(x_59);
+    float v_5 = float(x_62);
+    x_GLF_color = vec4(v_3, v_4, v_5, float(x_65));
+  } else {
+    int x_69 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_70 = float(x_69);
+    x_GLF_color = vec4(x_70, x_70, x_70, x_70);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.spvasm.expected.ir.glsl
index 37c14ad..1b86234 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m0 = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 m1 = mat2(vec2(0.0f), vec2(0.0f));
+  vec2 v = vec2(0.0f);
+  vec2 v_1 = vec2(x_6.x_GLF_uniform_float_values[0].el, -0.540302276611328125f);
+  m0 = mat2(v_1, vec2(0.540302276611328125f, x_6.x_GLF_uniform_float_values[0].el));
+  m1 = (m0 * m0);
+  vec2 v_2 = vec2(x_6.x_GLF_uniform_float_values[0].el);
+  v = (v_2 * m1);
+  if ((v.x < x_6.x_GLF_uniform_float_values[0].el)) {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el);
+  } else {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.wgsl.expected.ir.glsl
index 72ca17c..11342b9 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-matrix-square-mul-with-vector/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m0 = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 m1 = mat2(vec2(0.0f), vec2(0.0f));
+  vec2 v = vec2(0.0f);
+  float x_35 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_37 = x_6.x_GLF_uniform_float_values[0].el;
+  vec2 v_1 = vec2(x_35, -0.540302276611328125f);
+  m0 = mat2(v_1, vec2(0.540302276611328125f, x_37));
+  mat2 x_41 = m0;
+  mat2 x_42 = m0;
+  m1 = (x_41 * x_42);
+  float x_45 = x_6.x_GLF_uniform_float_values[0].el;
+  mat2 x_47 = m1;
+  v = (vec2(x_45, x_45) * x_47);
+  float x_50 = v.x;
+  float x_52 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_50 < x_52)) {
+    float x_58 = x_6.x_GLF_uniform_float_values[0].el;
+    float x_60 = x_6.x_GLF_uniform_float_values[1].el;
+    float x_62 = x_6.x_GLF_uniform_float_values[1].el;
+    float x_64 = x_6.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_58, x_60, x_62, x_64);
+  } else {
+    float x_67 = x_6.x_GLF_uniform_float_values[1].el;
+    x_GLF_color = vec4(x_67, x_67, x_67, x_67);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.spvasm.expected.ir.glsl
index 72ca17c..2297010 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int v = x_5.one;
+  if ((max(v, min(max(x_5.one, x_5.one), 1)) == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.wgsl.expected.ir.glsl
index 72ca17c..d199df9 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-clamp-same-minval/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x_23 = x_5.one;
+  int x_25 = x_5.one;
+  int x_27 = x_5.one;
+  if ((max(x_23, min(max(x_25, x_27), 1)) == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-min-less-than/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-min-less-than/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-min-less-than/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-min-less-than/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-min-less-than/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-min-less-than/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-max-min-less-than/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-max-min-less-than/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.spvasm.expected.ir.glsl
index 0480431..8ef92f8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,108 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct S {
+  int a;
+  int b;
+  int c;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x_43 = 0;
+  bool x_44 = false;
+  S arr[2] = S[2](S(0, 0, 0), S(0, 0, 0));
+  S param = S(0, 0, 0);
+  int param_1 = 0;
+  {
+    while(true) {
+      int x_50 = 0;
+      x_50 = x_10.one;
+      arr[x_50].a = 2;
+      if ((arr[1].a < 1)) {
+        x_GLF_color = vec4(0.0f);
+        x_44 = true;
+        break;
+      } else {
+        param = arr[1];
+        param_1 = (2 + x_50);
+        int x_61 = param_1;
+        S x_63 = param;
+        S x_64_1 = x_63;
+        x_64_1.a = x_61;
+        param = x_64_1;
+        if ((param.a == 2)) {
+          S x_70 = param;
+          S x_71_1 = x_70;
+          x_71_1.a = 9;
+          param = x_71_1;
+        }
+        int x_72 = param_1;
+        S x_75 = param;
+        S x_76_1 = x_75;
+        x_76_1.b = (x_72 + 1);
+        param = x_76_1;
+        int x_77 = param_1;
+        S x_80 = param;
+        S x_81_1 = x_80;
+        x_81_1.c = (x_77 + 2);
+        param = x_81_1;
+        if ((param.b == 2)) {
+          S x_87 = param;
+          S x_88_1 = x_87;
+          x_88_1.b = 7;
+          param = x_88_1;
+        }
+        x_43 = ((param.a + param.b) + param.c);
+        if ((x_43 == 12)) {
+          x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+        } else {
+          x_GLF_color = vec4(0.0f);
+        }
+      }
+      x_44 = true;
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+int func_struct_S_i1_i1_i11_i1_(inout S s, inout int x) {
+  s.a = x;
+  if ((s.a == 2)) {
+    s.a = 9;
+  }
+  s.b = (x + 1);
+  s.c = (x + 2);
+  if ((s.b == 2)) {
+    s.b = 7;
+  }
+  int x_119 = s.a;
+  int x_120 = s.b;
+  int x_122 = s.c;
+  return ((x_119 + x_120) + x_122);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.wgsl.expected.ir.glsl
index 0480431..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-sum-struct-members/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.spvasm.expected.ir.glsl
index 1268749..45561cf 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::StoreVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float two;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+float func_vf2_(inout vec2 v) {
+  v[0u] = x_7.two;
+  if ((v.y < 1.0f)) {
+    return 1.0f;
+  }
+  return 5.0f;
+}
+void main_1() {
+  float f = 0.0f;
+  vec2 param = vec2(0.0f);
+  param = vec2(1.0f);
+  float x_34 = func_vf2_(param);
+  f = x_34;
+  if ((f == 5.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.wgsl.expected.ir.glsl
index 72ca17c..987113d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-mem-pass-unused-component/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float two;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+float func_vf2_(inout vec2 v) {
+  float x_42 = x_7.two;
+  v[0u] = x_42;
+  float x_45 = v.y;
+  if ((x_45 < 1.0f)) {
+    return 1.0f;
+  }
+  return 5.0f;
+}
+void main_1() {
+  float f = 0.0f;
+  vec2 param = vec2(0.0f);
+  param = vec2(1.0f);
+  float x_34 = func_vf2_(param);
+  f = x_34;
+  float x_35 = f;
+  if ((x_35 == 5.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..af18a98 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,64 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+float func_() {
+  float b = 0.0f;
+  float x_34 = 0.0f;
+  float x_48 = 0.0f;
+  b = 2.0f;
+  x_34 = 2.0f;
+  {
+    while(true) {
+      if ((x_7.three == 0.0f)) {
+        x_48 = x_34;
+        break;
+      }
+      if ((x_7.three == 0.0f)) {
+        return 1.0f;
+      }
+      b = 1.0f;
+      {
+        x_34 = 1.0f;
+        x_48 = 1.0f;
+        if (true) { break; }
+      }
+      continue;
+    }
+  }
+  return x_48;
+}
+void main_1() {
+  float x_27 = func_();
+  if ((x_27 == 1.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..c42dd1c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-merge-return-condition-twice/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,69 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+float func_() {
+  float b = 0.0f;
+  float x_34 = 0.0f;
+  float x_34_phi = 0.0f;
+  float x_48_phi = 0.0f;
+  b = 2.0f;
+  x_34_phi = 2.0f;
+  {
+    while(true) {
+      x_34 = x_34_phi;
+      float x_39 = x_7.three;
+      if ((x_39 == 0.0f)) {
+        x_48_phi = x_34;
+        break;
+      }
+      float x_44 = x_7.three;
+      if ((x_44 == 0.0f)) {
+        return 1.0f;
+      }
+      b = 1.0f;
+      {
+        x_34_phi = 1.0f;
+        x_48_phi = 1.0f;
+        if (true) { break; }
+      }
+      continue;
+    }
+  }
+  float x_48 = x_48_phi;
+  return x_48;
+}
+void main_1() {
+  float x_27 = func_();
+  if ((x_27 == 1.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-min-nested-loop-same-value-for-variables/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-min-nested-loop-same-value-for-variables/0-opt.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-min-nested-loop-same-value-for-variables/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-min-nested-loop-same-value-for-variables/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-min-nested-loop-same-value-for-variables/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-min-nested-loop-same-value-for-variables/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-min-nested-loop-same-value-for-variables/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-min-nested-loop-same-value-for-variables/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.ir.glsl
index af9ca24..dfda189 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,70 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Switch
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  uint one;
+};
+
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_10;
+float func_() {
+  switch(1) {
+    case 0:
+    {
+      return 1.0f;
+    }
+    default:
+    {
+      break;
+    }
+  }
+  return 0.0f;
+}
+void main_1() {
+  vec4 v = vec4(0.0f);
+  v = vec4(1.0f);
+  if ((tint_symbol.y < 0.0f)) {
+    float x_42 = func_();
+    v = vec4(x_42);
+  }
+  if ((packUnorm4x8(v) == 1u)) {
+    return;
+  }
+  if (((1u << (x_8.one & 31u)) == 2u)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.ir.glsl
index af9ca24..212dcae 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-missing-return-value-function-never-called/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,75 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Switch
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  uint one;
+};
+
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_10;
+float func_() {
+  switch(1) {
+    case 0:
+    {
+      return 1.0f;
+    }
+    default:
+    {
+      break;
+    }
+  }
+  return 0.0f;
+}
+void main_1() {
+  vec4 v = vec4(0.0f);
+  v = vec4(1.0f);
+  float x_38 = tint_symbol.y;
+  if ((x_38 < 0.0f)) {
+    float x_42 = func_();
+    v = vec4(x_42, x_42, x_42, x_42);
+  }
+  vec4 x_44 = v;
+  if ((packUnorm4x8(x_44) == 1u)) {
+    return;
+  }
+  uint x_50 = x_8.one;
+  if (((1u << (x_50 & 31u)) == 2u)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    int x_57 = x_10.x_GLF_uniform_int_values[0].el;
+    float x_58 = float(x_57);
+    x_GLF_color = vec4(x_58, x_58, x_58, x_58);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..327022c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  float a = 0.0f;
+  a = 1.40129846e-45f;
+  x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[1].el);
+  if ((a < x_6.x_GLF_uniform_float_values[2].el)) {
+    x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[0].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..151f4e5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-mod-uint-bits-float/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  float a = 0.0f;
+  a = 1.40129846e-45f;
+  float x_29 = x_6.x_GLF_uniform_float_values[1].el;
+  x_GLF_color = vec4(x_29, x_29, x_29, x_29);
+  float x_31 = a;
+  float x_33 = x_6.x_GLF_uniform_float_values[2].el;
+  if ((x_31 < x_33)) {
+    float x_38 = x_6.x_GLF_uniform_float_values[0].el;
+    float x_40 = x_6.x_GLF_uniform_float_values[1].el;
+    float x_42 = x_6.x_GLF_uniform_float_values[1].el;
+    float x_44 = x_6.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_38, x_40, x_42, x_44);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-modulo-zero-never-executed/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-modulo-zero-never-executed/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-modulo-zero-never-executed/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-modulo-zero-never-executed/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-modulo-zero-never-executed/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-modulo-zero-never-executed/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-modulo-zero-never-executed/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-modulo-zero-never-executed/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..d6b44f5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,641 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2x3 m23 = mat2x3(vec3(0.0f), vec3(0.0f));
+  mat2x4 m24 = mat2x4(vec4(0.0f), vec4(0.0f));
+  mat3x2 m32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  mat3 m33 = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  mat3x4 m34 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  mat4x2 m42 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  mat4x3 m43 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  mat4 m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int i_3 = 0;
+  int i_4 = 0;
+  int i_5 = 0;
+  int i_6 = 0;
+  int i_7 = 0;
+  int i_8 = 0;
+  int i_9 = 0;
+  int i_10 = 0;
+  int i_11 = 0;
+  int i_12 = 0;
+  int i_13 = 0;
+  int i_14 = 0;
+  int i_15 = 0;
+  int i_16 = 0;
+  int i_17 = 0;
+  int i_18 = 0;
+  int i_19 = 0;
+  int i_20 = 0;
+  int i_21 = 0;
+  int i_22 = 0;
+  int i_23 = 0;
+  int i_24 = 0;
+  int i_25 = 0;
+  int i_26 = 0;
+  int i_27 = 0;
+  int i_28 = 0;
+  int i_29 = 0;
+  int i_30 = 0;
+  int i_31 = 0;
+  int i_32 = 0;
+  int i_33 = 0;
+  int i_34 = 0;
+  int i_35 = 0;
+  int i_36 = 0;
+  int i_37 = 0;
+  float sum = 0.0f;
+  int r = 0;
+  x_GLF_global_loop_count = 0;
+  m23 = mat2x3(vec3(0.0f), vec3(0.0f));
+  m24 = mat2x4(vec4(0.0f), vec4(0.0f));
+  m32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  m33 = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  m34 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  m42 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  m43 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  i = 0;
+  {
+    while(true) {
+      if ((i < 1)) {
+      } else {
+        break;
+      }
+      i_1 = 0;
+      {
+        while(true) {
+          if ((i_1 < 1)) {
+          } else {
+            break;
+          }
+          i_2 = 0;
+          {
+            while(true) {
+              if ((i_2 < 1)) {
+              } else {
+                break;
+              }
+              i_3 = 0;
+              {
+                while(true) {
+                  if ((i_3 < 1)) {
+                  } else {
+                    break;
+                  }
+                  i_4 = 0;
+                  {
+                    while(true) {
+                      if ((i_4 < 1)) {
+                      } else {
+                        break;
+                      }
+                      i_5 = 0;
+                      {
+                        while(true) {
+                          if ((i_5 < 1)) {
+                          } else {
+                            break;
+                          }
+                          i_6 = 0;
+                          {
+                            while(true) {
+                              if ((i_6 < 1)) {
+                              } else {
+                                break;
+                              }
+                              i_7 = 0;
+                              {
+                                while(true) {
+                                  if ((i_7 < 1)) {
+                                  } else {
+                                    break;
+                                  }
+                                  i_8 = 0;
+                                  {
+                                    while(true) {
+                                      if ((i_8 < 1)) {
+                                      } else {
+                                        break;
+                                      }
+                                      i_9 = 0;
+                                      {
+                                        while(true) {
+                                          if ((i_9 < 1)) {
+                                          } else {
+                                            break;
+                                          }
+                                          i_10 = 0;
+                                          {
+                                            while(true) {
+                                              if ((i_10 < 1)) {
+                                              } else {
+                                                break;
+                                              }
+                                              i_11 = 0;
+                                              {
+                                                while(true) {
+                                                  if ((i_11 < 1)) {
+                                                  } else {
+                                                    break;
+                                                  }
+                                                  i_12 = 0;
+                                                  {
+                                                    while(true) {
+                                                      if ((i_12 < 1)) {
+                                                      } else {
+                                                        break;
+                                                      }
+                                                      i_13 = 0;
+                                                      {
+                                                        while(true) {
+                                                          if ((i_13 < 1)) {
+                                                          } else {
+                                                            break;
+                                                          }
+                                                          i_14 = 0;
+                                                          {
+                                                            while(true) {
+                                                              if ((i_14 < 1)) {
+                                                              } else {
+                                                                break;
+                                                              }
+                                                              i_15 = 0;
+                                                              {
+                                                                while(true) {
+                                                                  if ((i_15 < 1)) {
+                                                                  } else {
+                                                                    break;
+                                                                  }
+                                                                  i_16 = 0;
+                                                                  {
+                                                                    while(true) {
+                                                                      if ((i_16 < 1)) {
+                                                                      } else {
+                                                                        break;
+                                                                      }
+                                                                      i_17 = 0;
+                                                                      {
+                                                                        while(true) {
+                                                                          if ((i_17 < 1)) {
+                                                                          } else {
+                                                                            break;
+                                                                          }
+                                                                          i_18 = 0;
+                                                                          {
+                                                                            while(true) {
+                                                                              if ((i_18 < 1)) {
+                                                                              } else {
+                                                                                break;
+                                                                              }
+                                                                              i_19 = 0;
+                                                                              {
+                                                                                while(true) {
+                                                                                  if ((i_19 < 1)) {
+                                                                                  } else {
+                                                                                    break;
+                                                                                  }
+                                                                                  i_20 = 0;
+                                                                                  {
+                                                                                    while(true) {
+                                                                                      if ((i_20 < 1)) {
+                                                                                      } else {
+                                                                                        break;
+                                                                                      }
+                                                                                      i_21 = 0;
+                                                                                      {
+                                                                                        while(true) {
+                                                                                          if ((i_21 < 1)) {
+                                                                                          } else {
+                                                                                            break;
+                                                                                          }
+                                                                                          i_22 = 0;
+                                                                                          {
+                                                                                            while(true) {
+                                                                                              if ((i_22 < 1)) {
+                                                                                              } else {
+                                                                                                break;
+                                                                                              }
+                                                                                              i_23 = 0;
+                                                                                              {
+                                                                                                while(true) {
+                                                                                                  if ((i_23 < 1)) {
+                                                                                                  } else {
+                                                                                                    break;
+                                                                                                  }
+                                                                                                  i_24 = 0;
+                                                                                                  {
+                                                                                                    while(true) {
+                                                                                                      if ((i_24 < 1)) {
+                                                                                                      } else {
+                                                                                                        break;
+                                                                                                      }
+                                                                                                      i_25 = 0;
+                                                                                                      {
+                                                                                                        while(true) {
+                                                                                                          if ((i_25 < 1)) {
+                                                                                                          } else {
+                                                                                                            break;
+                                                                                                          }
+                                                                                                          i_26 = 0;
+                                                                                                          {
+                                                                                                            while(true) {
+                                                                                                              if ((i_26 < 1)) {
+                                                                                                              } else {
+                                                                                                                break;
+                                                                                                              }
+                                                                                                              i_27 = 0;
+                                                                                                              {
+                                                                                                                while(true) {
+                                                                                                                  if ((i_27 < 1)) {
+                                                                                                                  } else {
+                                                                                                                    break;
+                                                                                                                  }
+                                                                                                                  i_28 = 0;
+                                                                                                                  {
+                                                                                                                    while(true) {
+                                                                                                                      if ((i_28 < 1)) {
+                                                                                                                      } else {
+                                                                                                                        break;
+                                                                                                                      }
+                                                                                                                      i_29 = 0;
+                                                                                                                      {
+                                                                                                                        while(true) {
+                                                                                                                          if ((i_29 < 1)) {
+                                                                                                                          } else {
+                                                                                                                            break;
+                                                                                                                          }
+                                                                                                                          i_30 = 0;
+                                                                                                                          {
+                                                                                                                            while(true) {
+                                                                                                                              if ((i_30 < 1)) {
+                                                                                                                              } else {
+                                                                                                                                break;
+                                                                                                                              }
+                                                                                                                              i_31 = 0;
+                                                                                                                              {
+                                                                                                                                while(true) {
+                                                                                                                                  if ((i_31 < 1)) {
+                                                                                                                                  } else {
+                                                                                                                                    break;
+                                                                                                                                  }
+                                                                                                                                  i_32 = 0;
+                                                                                                                                  {
+                                                                                                                                    while(true) {
+                                                                                                                                      if ((i_32 < 1)) {
+                                                                                                                                      } else {
+                                                                                                                                        break;
+                                                                                                                                      }
+                                                                                                                                      i_33 = 0;
+                                                                                                                                      {
+                                                                                                                                        while(true) {
+                                                                                                                                          if ((i_33 < 1)) {
+                                                                                                                                          } else {
+                                                                                                                                            break;
+                                                                                                                                          }
+                                                                                                                                          i_34 = 0;
+                                                                                                                                          {
+                                                                                                                                            while(true) {
+                                                                                                                                              if ((i_34 < 1)) {
+                                                                                                                                              } else {
+                                                                                                                                                break;
+                                                                                                                                              }
+                                                                                                                                              i_35 = 0;
+                                                                                                                                              {
+                                                                                                                                                while(true) {
+                                                                                                                                                  if ((i_35 < 1)) {
+                                                                                                                                                  } else {
+                                                                                                                                                    break;
+                                                                                                                                                  }
+                                                                                                                                                  i_36 = 0;
+                                                                                                                                                  {
+                                                                                                                                                    while(true) {
+                                                                                                                                                      if ((i_36 < 1)) {
+                                                                                                                                                      } else {
+                                                                                                                                                        break;
+                                                                                                                                                      }
+                                                                                                                                                      i_37 = 0;
+                                                                                                                                                      {
+                                                                                                                                                        while(true) {
+                                                                                                                                                          if ((i_37 < 1)) {
+                                                                                                                                                          } else {
+                                                                                                                                                            break;
+                                                                                                                                                          }
+                                                                                                                                                          {
+                                                                                                                                                            while(true) {
+                                                                                                                                                              x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+                                                                                                                                                              {
+                                                                                                                                                                int x_373 = x_GLF_global_loop_count;
+                                                                                                                                                                if (!((x_373 < 98))) { break; }
+                                                                                                                                                              }
+                                                                                                                                                              continue;
+                                                                                                                                                            }
+                                                                                                                                                          }
+                                                                                                                                                          int x_375 = i_37;
+                                                                                                                                                          int x_376 = i_37;
+                                                                                                                                                          m23[x_375][x_376] = 1.0f;
+                                                                                                                                                          int x_378 = i_37;
+                                                                                                                                                          int x_379 = i_37;
+                                                                                                                                                          m24[x_378][x_379] = 1.0f;
+                                                                                                                                                          int x_381 = i_37;
+                                                                                                                                                          int x_382 = i_37;
+                                                                                                                                                          m32[x_381][x_382] = 1.0f;
+                                                                                                                                                          int x_384 = i_37;
+                                                                                                                                                          int x_385 = i_37;
+                                                                                                                                                          m33[x_384][x_385] = 1.0f;
+                                                                                                                                                          int x_387 = i_37;
+                                                                                                                                                          int x_388 = i_37;
+                                                                                                                                                          m34[x_387][x_388] = 1.0f;
+                                                                                                                                                          int x_390 = i_37;
+                                                                                                                                                          int x_391 = i_37;
+                                                                                                                                                          m42[x_390][x_391] = 1.0f;
+                                                                                                                                                          int x_393 = i_37;
+                                                                                                                                                          int x_394 = i_37;
+                                                                                                                                                          m43[x_393][x_394] = 1.0f;
+                                                                                                                                                          int x_396 = i_37;
+                                                                                                                                                          int x_397 = i_37;
+                                                                                                                                                          m44[x_396][x_397] = 1.0f;
+                                                                                                                                                          {
+                                                                                                                                                            i_37 = (i_37 + 1);
+                                                                                                                                                          }
+                                                                                                                                                          continue;
+                                                                                                                                                        }
+                                                                                                                                                      }
+                                                                                                                                                      {
+                                                                                                                                                        i_36 = (i_36 + 1);
+                                                                                                                                                      }
+                                                                                                                                                      continue;
+                                                                                                                                                    }
+                                                                                                                                                  }
+                                                                                                                                                  {
+                                                                                                                                                    i_35 = (i_35 + 1);
+                                                                                                                                                  }
+                                                                                                                                                  continue;
+                                                                                                                                                }
+                                                                                                                                              }
+                                                                                                                                              {
+                                                                                                                                                i_34 = (i_34 + 1);
+                                                                                                                                              }
+                                                                                                                                              continue;
+                                                                                                                                            }
+                                                                                                                                          }
+                                                                                                                                          {
+                                                                                                                                            i_33 = (i_33 + 1);
+                                                                                                                                          }
+                                                                                                                                          continue;
+                                                                                                                                        }
+                                                                                                                                      }
+                                                                                                                                      {
+                                                                                                                                        i_32 = (i_32 + 1);
+                                                                                                                                      }
+                                                                                                                                      continue;
+                                                                                                                                    }
+                                                                                                                                  }
+                                                                                                                                  {
+                                                                                                                                    i_31 = (i_31 + 1);
+                                                                                                                                  }
+                                                                                                                                  continue;
+                                                                                                                                }
+                                                                                                                              }
+                                                                                                                              {
+                                                                                                                                i_30 = (i_30 + 1);
+                                                                                                                              }
+                                                                                                                              continue;
+                                                                                                                            }
+                                                                                                                          }
+                                                                                                                          {
+                                                                                                                            i_29 = (i_29 + 1);
+                                                                                                                          }
+                                                                                                                          continue;
+                                                                                                                        }
+                                                                                                                      }
+                                                                                                                      {
+                                                                                                                        i_28 = (i_28 + 1);
+                                                                                                                      }
+                                                                                                                      continue;
+                                                                                                                    }
+                                                                                                                  }
+                                                                                                                  {
+                                                                                                                    i_27 = (i_27 + 1);
+                                                                                                                  }
+                                                                                                                  continue;
+                                                                                                                }
+                                                                                                              }
+                                                                                                              {
+                                                                                                                i_26 = (i_26 + 1);
+                                                                                                              }
+                                                                                                              continue;
+                                                                                                            }
+                                                                                                          }
+                                                                                                          {
+                                                                                                            i_25 = (i_25 + 1);
+                                                                                                          }
+                                                                                                          continue;
+                                                                                                        }
+                                                                                                      }
+                                                                                                      {
+                                                                                                        i_24 = (i_24 + 1);
+                                                                                                      }
+                                                                                                      continue;
+                                                                                                    }
+                                                                                                  }
+                                                                                                  {
+                                                                                                    i_23 = (i_23 + 1);
+                                                                                                  }
+                                                                                                  continue;
+                                                                                                }
+                                                                                              }
+                                                                                              {
+                                                                                                i_22 = (i_22 + 1);
+                                                                                              }
+                                                                                              continue;
+                                                                                            }
+                                                                                          }
+                                                                                          {
+                                                                                            i_21 = (i_21 + 1);
+                                                                                          }
+                                                                                          continue;
+                                                                                        }
+                                                                                      }
+                                                                                      {
+                                                                                        i_20 = (i_20 + 1);
+                                                                                      }
+                                                                                      continue;
+                                                                                    }
+                                                                                  }
+                                                                                  {
+                                                                                    i_19 = (i_19 + 1);
+                                                                                  }
+                                                                                  continue;
+                                                                                }
+                                                                              }
+                                                                              {
+                                                                                i_18 = (i_18 + 1);
+                                                                              }
+                                                                              continue;
+                                                                            }
+                                                                          }
+                                                                          {
+                                                                            i_17 = (i_17 + 1);
+                                                                          }
+                                                                          continue;
+                                                                        }
+                                                                      }
+                                                                      {
+                                                                        i_16 = (i_16 + 1);
+                                                                      }
+                                                                      continue;
+                                                                    }
+                                                                  }
+                                                                  {
+                                                                    i_15 = (i_15 + 1);
+                                                                  }
+                                                                  continue;
+                                                                }
+                                                              }
+                                                              {
+                                                                i_14 = (i_14 + 1);
+                                                              }
+                                                              continue;
+                                                            }
+                                                          }
+                                                          {
+                                                            i_13 = (i_13 + 1);
+                                                          }
+                                                          continue;
+                                                        }
+                                                      }
+                                                      {
+                                                        i_12 = (i_12 + 1);
+                                                      }
+                                                      continue;
+                                                    }
+                                                  }
+                                                  {
+                                                    i_11 = (i_11 + 1);
+                                                  }
+                                                  continue;
+                                                }
+                                              }
+                                              {
+                                                i_10 = (i_10 + 1);
+                                              }
+                                              continue;
+                                            }
+                                          }
+                                          {
+                                            i_9 = (i_9 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        i_8 = (i_8 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    i_7 = (i_7 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                i_6 = (i_6 + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            i_5 = (i_5 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        i_4 = (i_4 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    i_3 = (i_3 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                i_2 = (i_2 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            i_1 = (i_1 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  sum = 0.0f;
+  r = 0;
+  {
+    while(true) {
+      if ((x_GLF_global_loop_count < 100)) {
+      } else {
+        break;
+      }
+      x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      sum = (sum + m23[0][r]);
+      sum = (sum + m24[0][r]);
+      sum = (sum + m32[0][r]);
+      sum = (sum + m33[0][r]);
+      sum = (sum + m34[0][r]);
+      sum = (sum + m42[0][r]);
+      sum = (sum + m43[0][r]);
+      sum = (sum + m44[0][r]);
+      {
+        r = (r + 1);
+      }
+      continue;
+    }
+  }
+  if ((sum == 8.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..1fb2a51 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-multiple-one-iteration-loops-global-counter-write-matrices/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,746 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2x3 m23 = mat2x3(vec3(0.0f), vec3(0.0f));
+  mat2x4 m24 = mat2x4(vec4(0.0f), vec4(0.0f));
+  mat3x2 m32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  mat3 m33 = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  mat3x4 m34 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  mat4x2 m42 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  mat4x3 m43 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  mat4 m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int i_3 = 0;
+  int i_4 = 0;
+  int i_5 = 0;
+  int i_6 = 0;
+  int i_7 = 0;
+  int i_8 = 0;
+  int i_9 = 0;
+  int i_10 = 0;
+  int i_11 = 0;
+  int i_12 = 0;
+  int i_13 = 0;
+  int i_14 = 0;
+  int i_15 = 0;
+  int i_16 = 0;
+  int i_17 = 0;
+  int i_18 = 0;
+  int i_19 = 0;
+  int i_20 = 0;
+  int i_21 = 0;
+  int i_22 = 0;
+  int i_23 = 0;
+  int i_24 = 0;
+  int i_25 = 0;
+  int i_26 = 0;
+  int i_27 = 0;
+  int i_28 = 0;
+  int i_29 = 0;
+  int i_30 = 0;
+  int i_31 = 0;
+  int i_32 = 0;
+  int i_33 = 0;
+  int i_34 = 0;
+  int i_35 = 0;
+  int i_36 = 0;
+  int i_37 = 0;
+  float sum = 0.0f;
+  int r = 0;
+  x_GLF_global_loop_count = 0;
+  m23 = mat2x3(vec3(0.0f), vec3(0.0f));
+  m24 = mat2x4(vec4(0.0f), vec4(0.0f));
+  m32 = mat3x2(vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  m33 = mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  m34 = mat3x4(vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  m42 = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  m43 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  i = 0;
+  {
+    while(true) {
+      int x_105 = i;
+      if ((x_105 < 1)) {
+      } else {
+        break;
+      }
+      i_1 = 0;
+      {
+        while(true) {
+          int x_112 = i_1;
+          if ((x_112 < 1)) {
+          } else {
+            break;
+          }
+          i_2 = 0;
+          {
+            while(true) {
+              int x_119 = i_2;
+              if ((x_119 < 1)) {
+              } else {
+                break;
+              }
+              i_3 = 0;
+              {
+                while(true) {
+                  int x_126 = i_3;
+                  if ((x_126 < 1)) {
+                  } else {
+                    break;
+                  }
+                  i_4 = 0;
+                  {
+                    while(true) {
+                      int x_133 = i_4;
+                      if ((x_133 < 1)) {
+                      } else {
+                        break;
+                      }
+                      i_5 = 0;
+                      {
+                        while(true) {
+                          int x_140 = i_5;
+                          if ((x_140 < 1)) {
+                          } else {
+                            break;
+                          }
+                          i_6 = 0;
+                          {
+                            while(true) {
+                              int x_147 = i_6;
+                              if ((x_147 < 1)) {
+                              } else {
+                                break;
+                              }
+                              i_7 = 0;
+                              {
+                                while(true) {
+                                  int x_154 = i_7;
+                                  if ((x_154 < 1)) {
+                                  } else {
+                                    break;
+                                  }
+                                  i_8 = 0;
+                                  {
+                                    while(true) {
+                                      int x_161 = i_8;
+                                      if ((x_161 < 1)) {
+                                      } else {
+                                        break;
+                                      }
+                                      i_9 = 0;
+                                      {
+                                        while(true) {
+                                          int x_168 = i_9;
+                                          if ((x_168 < 1)) {
+                                          } else {
+                                            break;
+                                          }
+                                          i_10 = 0;
+                                          {
+                                            while(true) {
+                                              int x_175 = i_10;
+                                              if ((x_175 < 1)) {
+                                              } else {
+                                                break;
+                                              }
+                                              i_11 = 0;
+                                              {
+                                                while(true) {
+                                                  int x_182 = i_11;
+                                                  if ((x_182 < 1)) {
+                                                  } else {
+                                                    break;
+                                                  }
+                                                  i_12 = 0;
+                                                  {
+                                                    while(true) {
+                                                      int x_189 = i_12;
+                                                      if ((x_189 < 1)) {
+                                                      } else {
+                                                        break;
+                                                      }
+                                                      i_13 = 0;
+                                                      {
+                                                        while(true) {
+                                                          int x_196 = i_13;
+                                                          if ((x_196 < 1)) {
+                                                          } else {
+                                                            break;
+                                                          }
+                                                          i_14 = 0;
+                                                          {
+                                                            while(true) {
+                                                              int x_203 = i_14;
+                                                              if ((x_203 < 1)) {
+                                                              } else {
+                                                                break;
+                                                              }
+                                                              i_15 = 0;
+                                                              {
+                                                                while(true) {
+                                                                  int x_210 = i_15;
+                                                                  if ((x_210 < 1)) {
+                                                                  } else {
+                                                                    break;
+                                                                  }
+                                                                  i_16 = 0;
+                                                                  {
+                                                                    while(true) {
+                                                                      int x_217 = i_16;
+                                                                      if ((x_217 < 1)) {
+                                                                      } else {
+                                                                        break;
+                                                                      }
+                                                                      i_17 = 0;
+                                                                      {
+                                                                        while(true) {
+                                                                          int x_224 = i_17;
+                                                                          if ((x_224 < 1)) {
+                                                                          } else {
+                                                                            break;
+                                                                          }
+                                                                          i_18 = 0;
+                                                                          {
+                                                                            while(true) {
+                                                                              int x_231 = i_18;
+                                                                              if ((x_231 < 1)) {
+                                                                              } else {
+                                                                                break;
+                                                                              }
+                                                                              i_19 = 0;
+                                                                              {
+                                                                                while(true) {
+                                                                                  int x_238 = i_19;
+                                                                                  if ((x_238 < 1)) {
+                                                                                  } else {
+                                                                                    break;
+                                                                                  }
+                                                                                  i_20 = 0;
+                                                                                  {
+                                                                                    while(true) {
+                                                                                      int x_245 = i_20;
+                                                                                      if ((x_245 < 1)) {
+                                                                                      } else {
+                                                                                        break;
+                                                                                      }
+                                                                                      i_21 = 0;
+                                                                                      {
+                                                                                        while(true) {
+                                                                                          int x_252 = i_21;
+                                                                                          if ((x_252 < 1)) {
+                                                                                          } else {
+                                                                                            break;
+                                                                                          }
+                                                                                          i_22 = 0;
+                                                                                          {
+                                                                                            while(true) {
+                                                                                              int x_259 = i_22;
+                                                                                              if ((x_259 < 1)) {
+                                                                                              } else {
+                                                                                                break;
+                                                                                              }
+                                                                                              i_23 = 0;
+                                                                                              {
+                                                                                                while(true) {
+                                                                                                  int x_266 = i_23;
+                                                                                                  if ((x_266 < 1)) {
+                                                                                                  } else {
+                                                                                                    break;
+                                                                                                  }
+                                                                                                  i_24 = 0;
+                                                                                                  {
+                                                                                                    while(true) {
+                                                                                                      int x_273 = i_24;
+                                                                                                      if ((x_273 < 1)) {
+                                                                                                      } else {
+                                                                                                        break;
+                                                                                                      }
+                                                                                                      i_25 = 0;
+                                                                                                      {
+                                                                                                        while(true) {
+                                                                                                          int x_280 = i_25;
+                                                                                                          if ((x_280 < 1)) {
+                                                                                                          } else {
+                                                                                                            break;
+                                                                                                          }
+                                                                                                          i_26 = 0;
+                                                                                                          {
+                                                                                                            while(true) {
+                                                                                                              int x_287 = i_26;
+                                                                                                              if ((x_287 < 1)) {
+                                                                                                              } else {
+                                                                                                                break;
+                                                                                                              }
+                                                                                                              i_27 = 0;
+                                                                                                              {
+                                                                                                                while(true) {
+                                                                                                                  int x_294 = i_27;
+                                                                                                                  if ((x_294 < 1)) {
+                                                                                                                  } else {
+                                                                                                                    break;
+                                                                                                                  }
+                                                                                                                  i_28 = 0;
+                                                                                                                  {
+                                                                                                                    while(true) {
+                                                                                                                      int x_301 = i_28;
+                                                                                                                      if ((x_301 < 1)) {
+                                                                                                                      } else {
+                                                                                                                        break;
+                                                                                                                      }
+                                                                                                                      i_29 = 0;
+                                                                                                                      {
+                                                                                                                        while(true) {
+                                                                                                                          int x_308 = i_29;
+                                                                                                                          if ((x_308 < 1)) {
+                                                                                                                          } else {
+                                                                                                                            break;
+                                                                                                                          }
+                                                                                                                          i_30 = 0;
+                                                                                                                          {
+                                                                                                                            while(true) {
+                                                                                                                              int x_315 = i_30;
+                                                                                                                              if ((x_315 < 1)) {
+                                                                                                                              } else {
+                                                                                                                                break;
+                                                                                                                              }
+                                                                                                                              i_31 = 0;
+                                                                                                                              {
+                                                                                                                                while(true) {
+                                                                                                                                  int x_322 = i_31;
+                                                                                                                                  if ((x_322 < 1)) {
+                                                                                                                                  } else {
+                                                                                                                                    break;
+                                                                                                                                  }
+                                                                                                                                  i_32 = 0;
+                                                                                                                                  {
+                                                                                                                                    while(true) {
+                                                                                                                                      int x_329 = i_32;
+                                                                                                                                      if ((x_329 < 1)) {
+                                                                                                                                      } else {
+                                                                                                                                        break;
+                                                                                                                                      }
+                                                                                                                                      i_33 = 0;
+                                                                                                                                      {
+                                                                                                                                        while(true) {
+                                                                                                                                          int x_336 = i_33;
+                                                                                                                                          if ((x_336 < 1)) {
+                                                                                                                                          } else {
+                                                                                                                                            break;
+                                                                                                                                          }
+                                                                                                                                          i_34 = 0;
+                                                                                                                                          {
+                                                                                                                                            while(true) {
+                                                                                                                                              int x_343 = i_34;
+                                                                                                                                              if ((x_343 < 1)) {
+                                                                                                                                              } else {
+                                                                                                                                                break;
+                                                                                                                                              }
+                                                                                                                                              i_35 = 0;
+                                                                                                                                              {
+                                                                                                                                                while(true) {
+                                                                                                                                                  int x_350 = i_35;
+                                                                                                                                                  if ((x_350 < 1)) {
+                                                                                                                                                  } else {
+                                                                                                                                                    break;
+                                                                                                                                                  }
+                                                                                                                                                  i_36 = 0;
+                                                                                                                                                  {
+                                                                                                                                                    while(true) {
+                                                                                                                                                      int x_357 = i_36;
+                                                                                                                                                      if ((x_357 < 1)) {
+                                                                                                                                                      } else {
+                                                                                                                                                        break;
+                                                                                                                                                      }
+                                                                                                                                                      i_37 = 0;
+                                                                                                                                                      {
+                                                                                                                                                        while(true) {
+                                                                                                                                                          int x_364 = i_37;
+                                                                                                                                                          if ((x_364 < 1)) {
+                                                                                                                                                          } else {
+                                                                                                                                                            break;
+                                                                                                                                                          }
+                                                                                                                                                          {
+                                                                                                                                                            while(true) {
+                                                                                                                                                              int x_371 = x_GLF_global_loop_count;
+                                                                                                                                                              x_GLF_global_loop_count = (x_371 + 1);
+                                                                                                                                                              {
+                                                                                                                                                                int x_373 = x_GLF_global_loop_count;
+                                                                                                                                                                if (!((x_373 < 98))) { break; }
+                                                                                                                                                              }
+                                                                                                                                                              continue;
+                                                                                                                                                            }
+                                                                                                                                                          }
+                                                                                                                                                          int x_375 = i_37;
+                                                                                                                                                          int x_376 = i_37;
+                                                                                                                                                          m23[x_375][x_376] = 1.0f;
+                                                                                                                                                          int x_378 = i_37;
+                                                                                                                                                          int x_379 = i_37;
+                                                                                                                                                          m24[x_378][x_379] = 1.0f;
+                                                                                                                                                          int x_381 = i_37;
+                                                                                                                                                          int x_382 = i_37;
+                                                                                                                                                          m32[x_381][x_382] = 1.0f;
+                                                                                                                                                          int x_384 = i_37;
+                                                                                                                                                          int x_385 = i_37;
+                                                                                                                                                          m33[x_384][x_385] = 1.0f;
+                                                                                                                                                          int x_387 = i_37;
+                                                                                                                                                          int x_388 = i_37;
+                                                                                                                                                          m34[x_387][x_388] = 1.0f;
+                                                                                                                                                          int x_390 = i_37;
+                                                                                                                                                          int x_391 = i_37;
+                                                                                                                                                          m42[x_390][x_391] = 1.0f;
+                                                                                                                                                          int x_393 = i_37;
+                                                                                                                                                          int x_394 = i_37;
+                                                                                                                                                          m43[x_393][x_394] = 1.0f;
+                                                                                                                                                          int x_396 = i_37;
+                                                                                                                                                          int x_397 = i_37;
+                                                                                                                                                          m44[x_396][x_397] = 1.0f;
+                                                                                                                                                          {
+                                                                                                                                                            int x_399 = i_37;
+                                                                                                                                                            i_37 = (x_399 + 1);
+                                                                                                                                                          }
+                                                                                                                                                          continue;
+                                                                                                                                                        }
+                                                                                                                                                      }
+                                                                                                                                                      {
+                                                                                                                                                        int x_401 = i_36;
+                                                                                                                                                        i_36 = (x_401 + 1);
+                                                                                                                                                      }
+                                                                                                                                                      continue;
+                                                                                                                                                    }
+                                                                                                                                                  }
+                                                                                                                                                  {
+                                                                                                                                                    int x_403 = i_35;
+                                                                                                                                                    i_35 = (x_403 + 1);
+                                                                                                                                                  }
+                                                                                                                                                  continue;
+                                                                                                                                                }
+                                                                                                                                              }
+                                                                                                                                              {
+                                                                                                                                                int x_405 = i_34;
+                                                                                                                                                i_34 = (x_405 + 1);
+                                                                                                                                              }
+                                                                                                                                              continue;
+                                                                                                                                            }
+                                                                                                                                          }
+                                                                                                                                          {
+                                                                                                                                            int x_407 = i_33;
+                                                                                                                                            i_33 = (x_407 + 1);
+                                                                                                                                          }
+                                                                                                                                          continue;
+                                                                                                                                        }
+                                                                                                                                      }
+                                                                                                                                      {
+                                                                                                                                        int x_409 = i_32;
+                                                                                                                                        i_32 = (x_409 + 1);
+                                                                                                                                      }
+                                                                                                                                      continue;
+                                                                                                                                    }
+                                                                                                                                  }
+                                                                                                                                  {
+                                                                                                                                    int x_411 = i_31;
+                                                                                                                                    i_31 = (x_411 + 1);
+                                                                                                                                  }
+                                                                                                                                  continue;
+                                                                                                                                }
+                                                                                                                              }
+                                                                                                                              {
+                                                                                                                                int x_413 = i_30;
+                                                                                                                                i_30 = (x_413 + 1);
+                                                                                                                              }
+                                                                                                                              continue;
+                                                                                                                            }
+                                                                                                                          }
+                                                                                                                          {
+                                                                                                                            int x_415 = i_29;
+                                                                                                                            i_29 = (x_415 + 1);
+                                                                                                                          }
+                                                                                                                          continue;
+                                                                                                                        }
+                                                                                                                      }
+                                                                                                                      {
+                                                                                                                        int x_417 = i_28;
+                                                                                                                        i_28 = (x_417 + 1);
+                                                                                                                      }
+                                                                                                                      continue;
+                                                                                                                    }
+                                                                                                                  }
+                                                                                                                  {
+                                                                                                                    int x_419 = i_27;
+                                                                                                                    i_27 = (x_419 + 1);
+                                                                                                                  }
+                                                                                                                  continue;
+                                                                                                                }
+                                                                                                              }
+                                                                                                              {
+                                                                                                                int x_421 = i_26;
+                                                                                                                i_26 = (x_421 + 1);
+                                                                                                              }
+                                                                                                              continue;
+                                                                                                            }
+                                                                                                          }
+                                                                                                          {
+                                                                                                            int x_423 = i_25;
+                                                                                                            i_25 = (x_423 + 1);
+                                                                                                          }
+                                                                                                          continue;
+                                                                                                        }
+                                                                                                      }
+                                                                                                      {
+                                                                                                        int x_425 = i_24;
+                                                                                                        i_24 = (x_425 + 1);
+                                                                                                      }
+                                                                                                      continue;
+                                                                                                    }
+                                                                                                  }
+                                                                                                  {
+                                                                                                    int x_427 = i_23;
+                                                                                                    i_23 = (x_427 + 1);
+                                                                                                  }
+                                                                                                  continue;
+                                                                                                }
+                                                                                              }
+                                                                                              {
+                                                                                                int x_429 = i_22;
+                                                                                                i_22 = (x_429 + 1);
+                                                                                              }
+                                                                                              continue;
+                                                                                            }
+                                                                                          }
+                                                                                          {
+                                                                                            int x_431 = i_21;
+                                                                                            i_21 = (x_431 + 1);
+                                                                                          }
+                                                                                          continue;
+                                                                                        }
+                                                                                      }
+                                                                                      {
+                                                                                        int x_433 = i_20;
+                                                                                        i_20 = (x_433 + 1);
+                                                                                      }
+                                                                                      continue;
+                                                                                    }
+                                                                                  }
+                                                                                  {
+                                                                                    int x_435 = i_19;
+                                                                                    i_19 = (x_435 + 1);
+                                                                                  }
+                                                                                  continue;
+                                                                                }
+                                                                              }
+                                                                              {
+                                                                                int x_437 = i_18;
+                                                                                i_18 = (x_437 + 1);
+                                                                              }
+                                                                              continue;
+                                                                            }
+                                                                          }
+                                                                          {
+                                                                            int x_439 = i_17;
+                                                                            i_17 = (x_439 + 1);
+                                                                          }
+                                                                          continue;
+                                                                        }
+                                                                      }
+                                                                      {
+                                                                        int x_441 = i_16;
+                                                                        i_16 = (x_441 + 1);
+                                                                      }
+                                                                      continue;
+                                                                    }
+                                                                  }
+                                                                  {
+                                                                    int x_443 = i_15;
+                                                                    i_15 = (x_443 + 1);
+                                                                  }
+                                                                  continue;
+                                                                }
+                                                              }
+                                                              {
+                                                                int x_445 = i_14;
+                                                                i_14 = (x_445 + 1);
+                                                              }
+                                                              continue;
+                                                            }
+                                                          }
+                                                          {
+                                                            int x_447 = i_13;
+                                                            i_13 = (x_447 + 1);
+                                                          }
+                                                          continue;
+                                                        }
+                                                      }
+                                                      {
+                                                        int x_449 = i_12;
+                                                        i_12 = (x_449 + 1);
+                                                      }
+                                                      continue;
+                                                    }
+                                                  }
+                                                  {
+                                                    int x_451 = i_11;
+                                                    i_11 = (x_451 + 1);
+                                                  }
+                                                  continue;
+                                                }
+                                              }
+                                              {
+                                                int x_453 = i_10;
+                                                i_10 = (x_453 + 1);
+                                              }
+                                              continue;
+                                            }
+                                          }
+                                          {
+                                            int x_455 = i_9;
+                                            i_9 = (x_455 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        int x_457 = i_8;
+                                        i_8 = (x_457 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    int x_459 = i_7;
+                                    i_7 = (x_459 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                int x_461 = i_6;
+                                i_6 = (x_461 + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            int x_463 = i_5;
+                            i_5 = (x_463 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        int x_465 = i_4;
+                        i_4 = (x_465 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    int x_467 = i_3;
+                    i_3 = (x_467 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                int x_469 = i_2;
+                i_2 = (x_469 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            int x_471 = i_1;
+            i_1 = (x_471 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_473 = i;
+        i = (x_473 + 1);
+      }
+      continue;
+    }
+  }
+  sum = 0.0f;
+  r = 0;
+  {
+    while(true) {
+      int x_479 = x_GLF_global_loop_count;
+      if ((x_479 < 100)) {
+      } else {
+        break;
+      }
+      int x_482 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_482 + 1);
+      int x_484 = r;
+      float x_486 = m23[0][x_484];
+      float x_487 = sum;
+      sum = (x_487 + x_486);
+      int x_489 = r;
+      float x_491 = m24[0][x_489];
+      float x_492 = sum;
+      sum = (x_492 + x_491);
+      int x_494 = r;
+      float x_496 = m32[0][x_494];
+      float x_497 = sum;
+      sum = (x_497 + x_496);
+      int x_499 = r;
+      float x_501 = m33[0][x_499];
+      float x_502 = sum;
+      sum = (x_502 + x_501);
+      int x_504 = r;
+      float x_506 = m34[0][x_504];
+      float x_507 = sum;
+      sum = (x_507 + x_506);
+      int x_509 = r;
+      float x_511 = m42[0][x_509];
+      float x_512 = sum;
+      sum = (x_512 + x_511);
+      int x_514 = r;
+      float x_516 = m43[0][x_514];
+      float x_517 = sum;
+      sum = (x_517 + x_516);
+      int x_519 = r;
+      float x_521 = m44[0][x_519];
+      float x_522 = sum;
+      sum = (x_522 + x_521);
+      {
+        int x_524 = r;
+        r = (x_524 + 1);
+      }
+      continue;
+    }
+  }
+  float x_526 = sum;
+  if ((x_526 == 8.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.spvasm.expected.ir.glsl
index ae9b6d0..d2eecf2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,121 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf2 {
+  float one;
+};
+
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+mat4x2 m = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+uniform buf2 x_10;
+uniform buf0 x_12;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_16;
+vec4 x_GLF_color = vec4(0.0f);
+void func0_i1_(inout int x) {
+  int i = 0;
+  bool x_137 = false;
+  bool x_138 = false;
+  bool x_139 = false;
+  bool x_125 = (x < 1);
+  x_139 = x_125;
+  if (!(x_125)) {
+    bool x_130 = (x > 1);
+    x_138 = x_130;
+    if (x_130) {
+      x_137 = (x_10.one > x_12.x_GLF_uniform_float_values[0].el);
+      x_138 = x_137;
+    }
+    x_139 = x_138;
+  }
+  if (x_139) {
+    return;
+  }
+  if ((x_10.one == x_12.x_GLF_uniform_float_values[0].el)) {
+    i = 0;
+    {
+      while(true) {
+        if ((i < 2)) {
+        } else {
+          break;
+        }
+        {
+          int x_155 = min(max(x, 0), 3);
+          int x_156 = i;
+          m[x_155][x_156] = (m[x_155][i] + x_12.x_GLF_uniform_float_values[0].el);
+          i = (i + 1);
+        }
+        continue;
+      }
+    }
+  }
+}
+void func1_() {
+  int param = 0;
+  if ((tint_symbol.y < 0.0f)) {
+    return;
+  }
+  param = 1;
+  func0_i1_(param);
+}
+void main_1() {
+  m = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  func1_();
+  func1_();
+  float v = float(x_16.x_GLF_uniform_int_values[0].el);
+  vec2 v_1 = vec2(v, float(x_16.x_GLF_uniform_int_values[0].el));
+  float v_2 = float(x_16.x_GLF_uniform_int_values[1].el);
+  vec2 v_3 = vec2(v_2, float(x_16.x_GLF_uniform_int_values[1].el));
+  float v_4 = float(x_16.x_GLF_uniform_int_values[0].el);
+  vec2 v_5 = vec2(v_4, float(x_16.x_GLF_uniform_int_values[0].el));
+  float v_6 = float(x_16.x_GLF_uniform_int_values[0].el);
+  mat4x2 x_83 = mat4x2(v_1, v_3, v_5, vec2(v_6, float(x_16.x_GLF_uniform_int_values[0].el)));
+  bool v_7 = all((m[0u] == x_83[0u]));
+  bool v_8 = (v_7 & all((m[1u] == x_83[1u])));
+  bool v_9 = (v_8 & all((m[2u] == x_83[2u])));
+  if ((v_9 & all((m[3u] == x_83[3u])))) {
+    float v_10 = float(x_16.x_GLF_uniform_int_values[3].el);
+    float v_11 = float(x_16.x_GLF_uniform_int_values[0].el);
+    float v_12 = float(x_16.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v_10, v_11, v_12, float(x_16.x_GLF_uniform_int_values[3].el));
+  } else {
+    x_GLF_color = vec4(float(x_16.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.wgsl.expected.ir.glsl
index 72ca17c..ed301ba 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-functions-accumulate-global-matrix/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,151 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf2 {
+  float one;
+};
+
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+mat4x2 m = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+uniform buf2 x_10;
+uniform buf0 x_12;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_16;
+vec4 x_GLF_color = vec4(0.0f);
+void func0_i1_(inout int x) {
+  int i = 0;
+  bool x_137 = false;
+  bool x_138 = false;
+  bool x_138_phi = false;
+  bool x_139_phi = false;
+  int x_124 = x;
+  bool x_125 = (x_124 < 1);
+  x_139_phi = x_125;
+  if (!(x_125)) {
+    int x_129 = x;
+    bool x_130 = (x_129 > 1);
+    x_138_phi = x_130;
+    if (x_130) {
+      float x_134 = x_10.one;
+      float x_136 = x_12.x_GLF_uniform_float_values[0].el;
+      x_137 = (x_134 > x_136);
+      x_138_phi = x_137;
+    }
+    x_138 = x_138_phi;
+    x_139_phi = x_138;
+  }
+  bool x_139 = x_139_phi;
+  if (x_139) {
+    return;
+  }
+  float x_143 = x_10.one;
+  float x_145 = x_12.x_GLF_uniform_float_values[0].el;
+  if ((x_143 == x_145)) {
+    i = 0;
+    {
+      while(true) {
+        int x_150 = i;
+        if ((x_150 < 2)) {
+        } else {
+          break;
+        }
+        {
+          int x_154 = x;
+          int x_155 = min(max(x_154, 0), 3);
+          int x_156 = i;
+          float x_158 = x_12.x_GLF_uniform_float_values[0].el;
+          float x_160 = m[x_155][x_156];
+          m[x_155][x_156] = (x_160 + x_158);
+          int x_163 = i;
+          i = (x_163 + 1);
+        }
+        continue;
+      }
+    }
+  }
+}
+void func1_() {
+  int param = 0;
+  float x_167 = tint_symbol.y;
+  if ((x_167 < 0.0f)) {
+    return;
+  }
+  param = 1;
+  func0_i1_(param);
+}
+void main_1() {
+  m = mat4x2(vec2(0.0f), vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  func1_();
+  func1_();
+  mat4x2 x_54 = m;
+  int x_56 = x_16.x_GLF_uniform_int_values[0].el;
+  int x_59 = x_16.x_GLF_uniform_int_values[0].el;
+  int x_62 = x_16.x_GLF_uniform_int_values[1].el;
+  int x_65 = x_16.x_GLF_uniform_int_values[1].el;
+  int x_68 = x_16.x_GLF_uniform_int_values[0].el;
+  int x_71 = x_16.x_GLF_uniform_int_values[0].el;
+  int x_74 = x_16.x_GLF_uniform_int_values[0].el;
+  int x_77 = x_16.x_GLF_uniform_int_values[0].el;
+  float v = float(x_56);
+  vec2 v_1 = vec2(v, float(x_59));
+  float v_2 = float(x_62);
+  vec2 v_3 = vec2(v_2, float(x_65));
+  float v_4 = float(x_68);
+  vec2 v_5 = vec2(v_4, float(x_71));
+  float v_6 = float(x_74);
+  mat4x2 x_83 = mat4x2(v_1, v_3, v_5, vec2(v_6, float(x_77)));
+  bool v_7 = all((x_54[0u] == x_83[0u]));
+  bool v_8 = (v_7 & all((x_54[1u] == x_83[1u])));
+  bool v_9 = (v_8 & all((x_54[2u] == x_83[2u])));
+  if ((v_9 & all((x_54[3u] == x_83[3u])))) {
+    int x_107 = x_16.x_GLF_uniform_int_values[3].el;
+    int x_110 = x_16.x_GLF_uniform_int_values[0].el;
+    int x_113 = x_16.x_GLF_uniform_int_values[0].el;
+    int x_116 = x_16.x_GLF_uniform_int_values[3].el;
+    float v_10 = float(x_107);
+    float v_11 = float(x_110);
+    float v_12 = float(x_113);
+    x_GLF_color = vec4(v_10, v_11, v_12, float(x_116));
+  } else {
+    int x_120 = x_16.x_GLF_uniform_int_values[0].el;
+    float x_121 = float(x_120);
+    x_GLF_color = vec4(x_121, x_121, x_121, x_121);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b55c5d3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,93 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v0 = vec4(0.0f);
+  vec4 v1 = vec4(0.0f);
+  int a = 0;
+  int c = 0;
+  v0 = vec4(x_6.x_GLF_uniform_float_values[1].el);
+  v1 = vec4(x_6.x_GLF_uniform_float_values[0].el);
+  a = x_10.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((a < x_10.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      c = x_10.x_GLF_uniform_int_values[3].el;
+      {
+        while(true) {
+          if ((c < x_10.x_GLF_uniform_int_values[2].el)) {
+          } else {
+            break;
+          }
+          int x_69 = min(max(c, 0), 3);
+          v0[x_69] = (v0[x_69] - x_6.x_GLF_uniform_float_values[1].el);
+          if ((x_10.x_GLF_uniform_int_values[1].el == x_10.x_GLF_uniform_int_values[3].el)) {
+            int x_83 = a;
+            vec4 v = vec4(x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, x_6.x_GLF_uniform_float_values[1].el, 3.0f);
+            vec4 v_1 = smoothstep(v, vec4(1.0f), v0);
+            v1[x_83] = v_1[a];
+          }
+          {
+            c = (c + 1);
+          }
+          continue;
+        }
+      }
+      {
+        a = (a + 1);
+      }
+      continue;
+    }
+  }
+  if ((v1.x == x_6.x_GLF_uniform_float_values[0].el)) {
+    float v_2 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_3 = float(x_10.x_GLF_uniform_int_values[3].el);
+    float v_4 = float(x_10.x_GLF_uniform_int_values[3].el);
+    x_GLF_color = vec4(v_2, v_3, v_4, float(x_10.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[3].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.wgsl.expected.ir.glsl
index 72ca17c..dc29f30 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loop-undefined-smoothstep-never-executed/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,119 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v0 = vec4(0.0f);
+  vec4 v1 = vec4(0.0f);
+  int a = 0;
+  int c = 0;
+  float x_41 = x_6.x_GLF_uniform_float_values[1].el;
+  v0 = vec4(x_41, x_41, x_41, x_41);
+  float x_44 = x_6.x_GLF_uniform_float_values[0].el;
+  v1 = vec4(x_44, x_44, x_44, x_44);
+  int x_47 = x_10.x_GLF_uniform_int_values[1].el;
+  a = x_47;
+  {
+    while(true) {
+      int x_52 = a;
+      int x_54 = x_10.x_GLF_uniform_int_values[0].el;
+      if ((x_52 < x_54)) {
+      } else {
+        break;
+      }
+      int x_58 = x_10.x_GLF_uniform_int_values[3].el;
+      c = x_58;
+      {
+        while(true) {
+          int x_63 = c;
+          int x_65 = x_10.x_GLF_uniform_int_values[2].el;
+          if ((x_63 < x_65)) {
+          } else {
+            break;
+          }
+          int x_68 = c;
+          int x_69 = min(max(x_68, 0), 3);
+          float x_71 = x_6.x_GLF_uniform_float_values[1].el;
+          float x_73 = v0[x_69];
+          v0[x_69] = (x_73 - x_71);
+          int x_77 = x_10.x_GLF_uniform_int_values[1].el;
+          int x_79 = x_10.x_GLF_uniform_int_values[3].el;
+          if ((x_77 == x_79)) {
+            int x_83 = a;
+            float x_85 = x_6.x_GLF_uniform_float_values[1].el;
+            float x_87 = x_6.x_GLF_uniform_float_values[1].el;
+            float x_89 = x_6.x_GLF_uniform_float_values[1].el;
+            vec4 x_91 = v0;
+            int x_93 = a;
+            v1[x_83] = smoothstep(vec4(x_85, x_87, x_89, 3.0f), vec4(1.0f), x_91)[x_93];
+          }
+          {
+            int x_96 = c;
+            c = (x_96 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_98 = a;
+        a = (x_98 + 1);
+      }
+      continue;
+    }
+  }
+  float x_101 = v1.x;
+  float x_103 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_101 == x_103)) {
+    int x_109 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_112 = x_10.x_GLF_uniform_int_values[3].el;
+    int x_115 = x_10.x_GLF_uniform_int_values[3].el;
+    int x_118 = x_10.x_GLF_uniform_int_values[1].el;
+    float v = float(x_109);
+    float v_1 = float(x_112);
+    float v_2 = float(x_115);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_118));
+  } else {
+    int x_122 = x_10.x_GLF_uniform_int_values[3].el;
+    float x_123 = float(x_122);
+    x_GLF_color = vec4(x_123, x_123, x_123, x_123);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..389d324 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,297 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf0 x_7;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int i_3 = 0;
+  int i_4 = 0;
+  int i_5 = 0;
+  int i_6 = 0;
+  int i_7 = 0;
+  int i_8 = 0;
+  int i_9 = 0;
+  int i_10 = 0;
+  int i_11 = 0;
+  int i_12 = 0;
+  int i_13 = 0;
+  int i_14 = 0;
+  float sum = 0.0f;
+  int r = 0;
+  x_GLF_global_loop_count = 0;
+  f = x_7.x_GLF_uniform_float_values[1].el;
+  i = x_10.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_10.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      i_1 = x_10.x_GLF_uniform_int_values[1].el;
+      {
+        while(true) {
+          if ((i_1 < x_10.x_GLF_uniform_int_values[0].el)) {
+          } else {
+            break;
+          }
+          i_2 = x_10.x_GLF_uniform_int_values[1].el;
+          {
+            while(true) {
+              if ((i_2 < x_10.x_GLF_uniform_int_values[0].el)) {
+              } else {
+                break;
+              }
+              i_3 = x_10.x_GLF_uniform_int_values[1].el;
+              {
+                while(true) {
+                  if ((i_3 < x_10.x_GLF_uniform_int_values[0].el)) {
+                  } else {
+                    break;
+                  }
+                  i_4 = x_10.x_GLF_uniform_int_values[1].el;
+                  {
+                    while(true) {
+                      if ((i_4 < x_10.x_GLF_uniform_int_values[0].el)) {
+                      } else {
+                        break;
+                      }
+                      i_5 = x_10.x_GLF_uniform_int_values[1].el;
+                      {
+                        while(true) {
+                          if ((i_5 < x_10.x_GLF_uniform_int_values[0].el)) {
+                          } else {
+                            break;
+                          }
+                          i_6 = x_10.x_GLF_uniform_int_values[1].el;
+                          {
+                            while(true) {
+                              if ((i_6 < x_10.x_GLF_uniform_int_values[0].el)) {
+                              } else {
+                                break;
+                              }
+                              i_7 = x_10.x_GLF_uniform_int_values[1].el;
+                              {
+                                while(true) {
+                                  if ((i_7 < x_10.x_GLF_uniform_int_values[0].el)) {
+                                  } else {
+                                    break;
+                                  }
+                                  i_8 = x_10.x_GLF_uniform_int_values[1].el;
+                                  {
+                                    while(true) {
+                                      if ((i_8 < x_10.x_GLF_uniform_int_values[0].el)) {
+                                      } else {
+                                        break;
+                                      }
+                                      i_9 = x_10.x_GLF_uniform_int_values[1].el;
+                                      {
+                                        while(true) {
+                                          if ((i_9 < x_10.x_GLF_uniform_int_values[0].el)) {
+                                          } else {
+                                            break;
+                                          }
+                                          i_10 = x_10.x_GLF_uniform_int_values[1].el;
+                                          {
+                                            while(true) {
+                                              if ((i_10 < x_10.x_GLF_uniform_int_values[0].el)) {
+                                              } else {
+                                                break;
+                                              }
+                                              i_11 = x_10.x_GLF_uniform_int_values[1].el;
+                                              {
+                                                while(true) {
+                                                  if ((i_11 < x_10.x_GLF_uniform_int_values[2].el)) {
+                                                  } else {
+                                                    break;
+                                                  }
+                                                  i_12 = x_10.x_GLF_uniform_int_values[1].el;
+                                                  {
+                                                    while(true) {
+                                                      if ((i_12 < x_10.x_GLF_uniform_int_values[0].el)) {
+                                                      } else {
+                                                        break;
+                                                      }
+                                                      i_13 = x_10.x_GLF_uniform_int_values[1].el;
+                                                      {
+                                                        while(true) {
+                                                          if ((i_13 < x_10.x_GLF_uniform_int_values[0].el)) {
+                                                          } else {
+                                                            break;
+                                                          }
+                                                          i_14 = x_10.x_GLF_uniform_int_values[1].el;
+                                                          {
+                                                            while(true) {
+                                                              if ((i_14 < x_10.x_GLF_uniform_int_values[2].el)) {
+                                                              } else {
+                                                                break;
+                                                              }
+                                                              {
+                                                                while(true) {
+                                                                  x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+                                                                  {
+                                                                    int x_225 = x_GLF_global_loop_count;
+                                                                    int x_227 = x_10.x_GLF_uniform_int_values[3].el;
+                                                                    if (!((x_225 < (100 - x_227)))) { break; }
+                                                                  }
+                                                                  continue;
+                                                                }
+                                                              }
+                                                              f = (f + x_7.x_GLF_uniform_float_values[0].el);
+                                                              {
+                                                                i_14 = (i_14 + 1);
+                                                              }
+                                                              continue;
+                                                            }
+                                                          }
+                                                          {
+                                                            i_13 = (i_13 + 1);
+                                                          }
+                                                          continue;
+                                                        }
+                                                      }
+                                                      {
+                                                        i_12 = (i_12 + 1);
+                                                      }
+                                                      continue;
+                                                    }
+                                                  }
+                                                  {
+                                                    i_11 = (i_11 + 1);
+                                                  }
+                                                  continue;
+                                                }
+                                              }
+                                              {
+                                                i_10 = (i_10 + 1);
+                                              }
+                                              continue;
+                                            }
+                                          }
+                                          {
+                                            i_9 = (i_9 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        i_8 = (i_8 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    i_7 = (i_7 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                i_6 = (i_6 + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            i_5 = (i_5 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        i_4 = (i_4 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    i_3 = (i_3 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                i_2 = (i_2 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            i_1 = (i_1 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  sum = x_7.x_GLF_uniform_float_values[1].el;
+  r = x_10.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((x_GLF_global_loop_count < 100)) {
+      } else {
+        break;
+      }
+      x_GLF_global_loop_count = (x_GLF_global_loop_count + 1);
+      sum = (sum + f);
+      {
+        r = (r + 1);
+      }
+      continue;
+    }
+  }
+  if ((sum == x_7.x_GLF_uniform_float_values[2].el)) {
+    float v = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_10.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..4e3365b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nested-loops-global-loop-counter-do-while-accumulate-float/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,376 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+int x_GLF_global_loop_count = 0;
+uniform buf0 x_7;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int i_3 = 0;
+  int i_4 = 0;
+  int i_5 = 0;
+  int i_6 = 0;
+  int i_7 = 0;
+  int i_8 = 0;
+  int i_9 = 0;
+  int i_10 = 0;
+  int i_11 = 0;
+  int i_12 = 0;
+  int i_13 = 0;
+  int i_14 = 0;
+  float sum = 0.0f;
+  int r = 0;
+  x_GLF_global_loop_count = 0;
+  float x_53 = x_7.x_GLF_uniform_float_values[1].el;
+  f = x_53;
+  int x_55 = x_10.x_GLF_uniform_int_values[1].el;
+  i = x_55;
+  {
+    while(true) {
+      int x_60 = i;
+      int x_62 = x_10.x_GLF_uniform_int_values[0].el;
+      if ((x_60 < x_62)) {
+      } else {
+        break;
+      }
+      int x_66 = x_10.x_GLF_uniform_int_values[1].el;
+      i_1 = x_66;
+      {
+        while(true) {
+          int x_71 = i_1;
+          int x_73 = x_10.x_GLF_uniform_int_values[0].el;
+          if ((x_71 < x_73)) {
+          } else {
+            break;
+          }
+          int x_77 = x_10.x_GLF_uniform_int_values[1].el;
+          i_2 = x_77;
+          {
+            while(true) {
+              int x_82 = i_2;
+              int x_84 = x_10.x_GLF_uniform_int_values[0].el;
+              if ((x_82 < x_84)) {
+              } else {
+                break;
+              }
+              int x_88 = x_10.x_GLF_uniform_int_values[1].el;
+              i_3 = x_88;
+              {
+                while(true) {
+                  int x_93 = i_3;
+                  int x_95 = x_10.x_GLF_uniform_int_values[0].el;
+                  if ((x_93 < x_95)) {
+                  } else {
+                    break;
+                  }
+                  int x_99 = x_10.x_GLF_uniform_int_values[1].el;
+                  i_4 = x_99;
+                  {
+                    while(true) {
+                      int x_104 = i_4;
+                      int x_106 = x_10.x_GLF_uniform_int_values[0].el;
+                      if ((x_104 < x_106)) {
+                      } else {
+                        break;
+                      }
+                      int x_110 = x_10.x_GLF_uniform_int_values[1].el;
+                      i_5 = x_110;
+                      {
+                        while(true) {
+                          int x_115 = i_5;
+                          int x_117 = x_10.x_GLF_uniform_int_values[0].el;
+                          if ((x_115 < x_117)) {
+                          } else {
+                            break;
+                          }
+                          int x_121 = x_10.x_GLF_uniform_int_values[1].el;
+                          i_6 = x_121;
+                          {
+                            while(true) {
+                              int x_126 = i_6;
+                              int x_128 = x_10.x_GLF_uniform_int_values[0].el;
+                              if ((x_126 < x_128)) {
+                              } else {
+                                break;
+                              }
+                              int x_132 = x_10.x_GLF_uniform_int_values[1].el;
+                              i_7 = x_132;
+                              {
+                                while(true) {
+                                  int x_137 = i_7;
+                                  int x_139 = x_10.x_GLF_uniform_int_values[0].el;
+                                  if ((x_137 < x_139)) {
+                                  } else {
+                                    break;
+                                  }
+                                  int x_143 = x_10.x_GLF_uniform_int_values[1].el;
+                                  i_8 = x_143;
+                                  {
+                                    while(true) {
+                                      int x_148 = i_8;
+                                      int x_150 = x_10.x_GLF_uniform_int_values[0].el;
+                                      if ((x_148 < x_150)) {
+                                      } else {
+                                        break;
+                                      }
+                                      int x_154 = x_10.x_GLF_uniform_int_values[1].el;
+                                      i_9 = x_154;
+                                      {
+                                        while(true) {
+                                          int x_159 = i_9;
+                                          int x_161 = x_10.x_GLF_uniform_int_values[0].el;
+                                          if ((x_159 < x_161)) {
+                                          } else {
+                                            break;
+                                          }
+                                          int x_165 = x_10.x_GLF_uniform_int_values[1].el;
+                                          i_10 = x_165;
+                                          {
+                                            while(true) {
+                                              int x_170 = i_10;
+                                              int x_172 = x_10.x_GLF_uniform_int_values[0].el;
+                                              if ((x_170 < x_172)) {
+                                              } else {
+                                                break;
+                                              }
+                                              int x_176 = x_10.x_GLF_uniform_int_values[1].el;
+                                              i_11 = x_176;
+                                              {
+                                                while(true) {
+                                                  int x_181 = i_11;
+                                                  int x_183 = x_10.x_GLF_uniform_int_values[2].el;
+                                                  if ((x_181 < x_183)) {
+                                                  } else {
+                                                    break;
+                                                  }
+                                                  int x_187 = x_10.x_GLF_uniform_int_values[1].el;
+                                                  i_12 = x_187;
+                                                  {
+                                                    while(true) {
+                                                      int x_192 = i_12;
+                                                      int x_194 = x_10.x_GLF_uniform_int_values[0].el;
+                                                      if ((x_192 < x_194)) {
+                                                      } else {
+                                                        break;
+                                                      }
+                                                      int x_198 = x_10.x_GLF_uniform_int_values[1].el;
+                                                      i_13 = x_198;
+                                                      {
+                                                        while(true) {
+                                                          int x_203 = i_13;
+                                                          int x_205 = x_10.x_GLF_uniform_int_values[0].el;
+                                                          if ((x_203 < x_205)) {
+                                                          } else {
+                                                            break;
+                                                          }
+                                                          int x_209 = x_10.x_GLF_uniform_int_values[1].el;
+                                                          i_14 = x_209;
+                                                          {
+                                                            while(true) {
+                                                              int x_214 = i_14;
+                                                              int x_216 = x_10.x_GLF_uniform_int_values[2].el;
+                                                              if ((x_214 < x_216)) {
+                                                              } else {
+                                                                break;
+                                                              }
+                                                              {
+                                                                while(true) {
+                                                                  int x_223 = x_GLF_global_loop_count;
+                                                                  x_GLF_global_loop_count = (x_223 + 1);
+                                                                  {
+                                                                    int x_225 = x_GLF_global_loop_count;
+                                                                    int x_227 = x_10.x_GLF_uniform_int_values[3].el;
+                                                                    if (!((x_225 < (100 - x_227)))) { break; }
+                                                                  }
+                                                                  continue;
+                                                                }
+                                                              }
+                                                              float x_231 = x_7.x_GLF_uniform_float_values[0].el;
+                                                              float x_232 = f;
+                                                              f = (x_232 + x_231);
+                                                              {
+                                                                int x_234 = i_14;
+                                                                i_14 = (x_234 + 1);
+                                                              }
+                                                              continue;
+                                                            }
+                                                          }
+                                                          {
+                                                            int x_236 = i_13;
+                                                            i_13 = (x_236 + 1);
+                                                          }
+                                                          continue;
+                                                        }
+                                                      }
+                                                      {
+                                                        int x_238 = i_12;
+                                                        i_12 = (x_238 + 1);
+                                                      }
+                                                      continue;
+                                                    }
+                                                  }
+                                                  {
+                                                    int x_240 = i_11;
+                                                    i_11 = (x_240 + 1);
+                                                  }
+                                                  continue;
+                                                }
+                                              }
+                                              {
+                                                int x_242 = i_10;
+                                                i_10 = (x_242 + 1);
+                                              }
+                                              continue;
+                                            }
+                                          }
+                                          {
+                                            int x_244 = i_9;
+                                            i_9 = (x_244 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        int x_246 = i_8;
+                                        i_8 = (x_246 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    int x_248 = i_7;
+                                    i_7 = (x_248 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                int x_250 = i_6;
+                                i_6 = (x_250 + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            int x_252 = i_5;
+                            i_5 = (x_252 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        int x_254 = i_4;
+                        i_4 = (x_254 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    int x_256 = i_3;
+                    i_3 = (x_256 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                int x_258 = i_2;
+                i_2 = (x_258 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            int x_260 = i_1;
+            i_1 = (x_260 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_262 = i;
+        i = (x_262 + 1);
+      }
+      continue;
+    }
+  }
+  float x_265 = x_7.x_GLF_uniform_float_values[1].el;
+  sum = x_265;
+  int x_267 = x_10.x_GLF_uniform_int_values[1].el;
+  r = x_267;
+  {
+    while(true) {
+      int x_272 = x_GLF_global_loop_count;
+      if ((x_272 < 100)) {
+      } else {
+        break;
+      }
+      int x_275 = x_GLF_global_loop_count;
+      x_GLF_global_loop_count = (x_275 + 1);
+      float x_277 = f;
+      float x_278 = sum;
+      sum = (x_278 + x_277);
+      {
+        int x_280 = r;
+        r = (x_280 + 1);
+      }
+      continue;
+    }
+  }
+  float x_282 = sum;
+  float x_284 = x_7.x_GLF_uniform_float_values[2].el;
+  if ((x_282 == x_284)) {
+    int x_290 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_293 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_296 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_299 = x_10.x_GLF_uniform_int_values[0].el;
+    float v = float(x_290);
+    float v_1 = float(x_293);
+    float v_2 = float(x_296);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_299));
+  } else {
+    int x_303 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_304 = float(x_303);
+    x_GLF_color = vec4(x_304, x_304, x_304, x_304);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.wgsl.expected.ir.glsl
index 72ca17c..bf94f91 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-array-access/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,146 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[19];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int A[17] = int[17](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int r[17] = int[17](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int a = 0;
+  int i = 0;
+  bool ok = false;
+  int i_1 = 0;
+  int x_52 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_54 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_56 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_58 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_60 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_62 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_64 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_66 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_68 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_70 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_72 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_74 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_76 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_78 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_80 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_82 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_84 = x_6.x_GLF_uniform_int_values[2].el;
+  A = int[17](x_52, x_54, x_56, x_58, x_60, x_62, x_64, x_66, x_68, x_70, x_72, x_74, x_76, x_78, x_80, x_82, x_84);
+  int x_87 = x_6.x_GLF_uniform_int_values[3].el;
+  int x_89 = x_6.x_GLF_uniform_int_values[4].el;
+  int x_91 = x_6.x_GLF_uniform_int_values[5].el;
+  int x_93 = x_6.x_GLF_uniform_int_values[6].el;
+  int x_95 = x_6.x_GLF_uniform_int_values[7].el;
+  int x_97 = x_6.x_GLF_uniform_int_values[8].el;
+  int x_99 = x_6.x_GLF_uniform_int_values[9].el;
+  int x_101 = x_6.x_GLF_uniform_int_values[10].el;
+  int x_103 = x_6.x_GLF_uniform_int_values[11].el;
+  int x_105 = x_6.x_GLF_uniform_int_values[12].el;
+  int x_107 = x_6.x_GLF_uniform_int_values[13].el;
+  int x_109 = x_6.x_GLF_uniform_int_values[14].el;
+  int x_111 = x_6.x_GLF_uniform_int_values[15].el;
+  int x_113 = x_6.x_GLF_uniform_int_values[16].el;
+  int x_115 = x_6.x_GLF_uniform_int_values[17].el;
+  int x_117 = x_6.x_GLF_uniform_int_values[18].el;
+  int x_119 = x_6.x_GLF_uniform_int_values[1].el;
+  r = int[17](x_87, x_89, x_91, x_93, x_95, x_97, x_99, x_101, x_103, x_105, x_107, x_109, x_111, x_113, x_115, x_117, x_119);
+  int x_122 = x_6.x_GLF_uniform_int_values[2].el;
+  a = x_122;
+  int x_124 = x_6.x_GLF_uniform_int_values[2].el;
+  i = x_124;
+  {
+    while(true) {
+      int x_129 = i;
+      int x_131 = x_6.x_GLF_uniform_int_values[1].el;
+      if ((x_129 < x_131)) {
+      } else {
+        break;
+      }
+      int x_134 = i;
+      int x_135 = a;
+      a = (x_135 - 1);
+      A[x_134] = x_135;
+      int x_138 = i;
+      int x_140 = x_6.x_GLF_uniform_int_values[2].el;
+      int x_142 = x_6.x_GLF_uniform_int_values[18].el;
+      int x_144 = i;
+      int x_146 = x_6.x_GLF_uniform_int_values[3].el;
+      A[min(max(x_138, x_140), x_142)] = (x_144 + x_146);
+      {
+        int x_149 = i;
+        i = (x_149 + 1);
+      }
+      continue;
+    }
+  }
+  ok = true;
+  int x_152 = x_6.x_GLF_uniform_int_values[2].el;
+  i_1 = x_152;
+  {
+    while(true) {
+      int x_157 = i_1;
+      int x_159 = x_6.x_GLF_uniform_int_values[1].el;
+      if ((x_157 < x_159)) {
+      } else {
+        break;
+      }
+      int x_162 = i_1;
+      int x_164 = A[x_162];
+      int x_165 = i_1;
+      int x_167 = r[x_165];
+      if ((x_164 != x_167)) {
+        ok = false;
+      }
+      {
+        int x_171 = i_1;
+        i_1 = (x_171 + 1);
+      }
+      continue;
+    }
+  }
+  int x_174 = x_6.x_GLF_uniform_int_values[2].el;
+  float x_175 = float(x_174);
+  x_GLF_color = vec4(x_175, x_175, x_175, x_175);
+  bool x_177 = ok;
+  if (x_177) {
+    int x_181 = x_6.x_GLF_uniform_int_values[3].el;
+    int x_184 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_187 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_190 = x_6.x_GLF_uniform_int_values[3].el;
+    float v = float(x_181);
+    float v_1 = float(x_184);
+    float v_2 = float(x_187);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_190));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-large-constants-for-clamp-vector-access/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-large-constants-for-clamp-vector-access/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-large-constants-for-clamp-vector-access/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-large-constants-for-clamp-vector-access/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-large-constants-for-clamp-vector-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-large-constants-for-clamp-vector-access/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-large-constants-for-clamp-vector-access/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-large-constants-for-clamp-vector-access/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..9bd342e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,75 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+uniform buf1 x_8;
+void main_1() {
+  float a = 0.0f;
+  x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[1].el);
+  a = x_5.x_GLF_uniform_float_values[0].el;
+  {
+    while(true) {
+      if (((x_5.x_GLF_uniform_float_values[0].el / 0.20000000298023223877f) < x_5.x_GLF_uniform_float_values[0].el)) {
+        return;
+      }
+      if (((x_5.x_GLF_uniform_float_values[0].el / 0.20000000298023223877f) < x_5.x_GLF_uniform_float_values[0].el)) {
+        return;
+      }
+      if (((x_5.x_GLF_uniform_float_values[0].el / 0.20000000298023223877f) < x_5.x_GLF_uniform_float_values[0].el)) {
+        return;
+      }
+      if (((x_5.x_GLF_uniform_float_values[0].el / 0.20000000298023223877f) < x_5.x_GLF_uniform_float_values[0].el)) {
+        return;
+      } else {
+        a = 0.0f;
+      }
+      {
+        float x_72 = a;
+        if (!(!((x_72 == 0.0f)))) { break; }
+      }
+      continue;
+    }
+  }
+  float v = float(x_8.x_GLF_uniform_int_values[1].el);
+  float v_1 = float(x_8.x_GLF_uniform_int_values[0].el);
+  float v_2 = float(x_8.x_GLF_uniform_int_values[0].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[1].el));
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.wgsl.expected.ir.glsl
index 72ca17c..e30ec85 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-nir-opt-loop-unroll-if-if-if-if-do-while/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,89 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+uniform buf1 x_8;
+void main_1() {
+  float a = 0.0f;
+  float x_31 = x_5.x_GLF_uniform_float_values[1].el;
+  x_GLF_color = vec4(x_31, x_31, x_31, x_31);
+  float x_34 = x_5.x_GLF_uniform_float_values[0].el;
+  a = x_34;
+  {
+    while(true) {
+      float x_40 = x_5.x_GLF_uniform_float_values[0].el;
+      float x_43 = x_5.x_GLF_uniform_float_values[0].el;
+      if (((x_40 / 0.20000000298023223877f) < x_43)) {
+        return;
+      }
+      float x_48 = x_5.x_GLF_uniform_float_values[0].el;
+      float x_51 = x_5.x_GLF_uniform_float_values[0].el;
+      if (((x_48 / 0.20000000298023223877f) < x_51)) {
+        return;
+      }
+      float x_56 = x_5.x_GLF_uniform_float_values[0].el;
+      float x_59 = x_5.x_GLF_uniform_float_values[0].el;
+      if (((x_56 / 0.20000000298023223877f) < x_59)) {
+        return;
+      }
+      float x_64 = x_5.x_GLF_uniform_float_values[0].el;
+      float x_67 = x_5.x_GLF_uniform_float_values[0].el;
+      if (((x_64 / 0.20000000298023223877f) < x_67)) {
+        return;
+      } else {
+        a = 0.0f;
+      }
+      {
+        float x_72 = a;
+        if (!((x_72 == 0.0f))) { break; }
+      }
+      continue;
+    }
+  }
+  int x_75 = x_8.x_GLF_uniform_int_values[1].el;
+  int x_78 = x_8.x_GLF_uniform_int_values[0].el;
+  int x_81 = x_8.x_GLF_uniform_int_values[0].el;
+  int x_84 = x_8.x_GLF_uniform_int_values[1].el;
+  float v = float(x_75);
+  float v_1 = float(x_78);
+  float v_2 = float(x_81);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_84));
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.spvasm.expected.ir.glsl
index 37c14ad..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.wgsl.expected.ir.glsl
index 72ca17c..91b0aef 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-not-clamp-matrix-access/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,94 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[5];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 M1 = mat2(vec2(0.0f), vec2(0.0f));
+  float a = 0.0f;
+  int c = 0;
+  float x_41 = x_6.x_GLF_uniform_float_values[1].el;
+  float x_43 = x_6.x_GLF_uniform_float_values[2].el;
+  float x_45 = x_6.x_GLF_uniform_float_values[3].el;
+  float x_47 = x_6.x_GLF_uniform_float_values[4].el;
+  vec2 v = vec2(x_41, x_43);
+  M1 = mat2(v, vec2(x_45, x_47));
+  float x_52 = x_6.x_GLF_uniform_float_values[1].el;
+  a = x_52;
+  int x_54 = x_10.x_GLF_uniform_int_values[1].el;
+  c = x_54;
+  {
+    while(true) {
+      int x_59 = c;
+      int x_61 = x_10.x_GLF_uniform_int_values[0].el;
+      if ((x_59 < x_61)) {
+      } else {
+        break;
+      }
+      int x_65 = x_10.x_GLF_uniform_int_values[2].el;
+      int x_66 = c;
+      float x_70 = M1[x_65][min(max(~(x_66), 0), 1)];
+      float x_71 = a;
+      a = (x_71 + x_70);
+      {
+        int x_73 = c;
+        c = (x_73 + 1);
+      }
+      continue;
+    }
+  }
+  float x_75 = a;
+  float x_77 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_75 == x_77)) {
+    int x_83 = x_10.x_GLF_uniform_int_values[2].el;
+    int x_86 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_89 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_92 = x_10.x_GLF_uniform_int_values[2].el;
+    float v_1 = float(x_83);
+    float v_2 = float(x_86);
+    float v_3 = float(x_89);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_92));
+  } else {
+    int x_96 = x_10.x_GLF_uniform_int_values[2].el;
+    float x_97 = float(x_96);
+    x_GLF_color = vec4(x_97, x_97, x_97, x_97);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-one-minus-clamp-always-one-cast-to-int/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-one-minus-clamp-always-one-cast-to-int/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-one-minus-clamp-always-one-cast-to-int/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-one-minus-clamp-always-one-cast-to-int/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-one-minus-clamp-always-one-cast-to-int/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-one-minus-clamp-always-one-cast-to-int/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-one-minus-clamp-always-one-cast-to-int/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-one-minus-clamp-always-one-cast-to-int/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..d0e46c2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,107 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_7;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  int a = 0;
+  int i = 0;
+  int j = 0;
+  a = x_7.x_GLF_uniform_int_values[2].el;
+  i = x_7.x_GLF_uniform_int_values[2].el;
+  {
+    while(true) {
+      if ((i < x_7.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      j = x_7.x_GLF_uniform_int_values[2].el;
+      {
+        while(true) {
+          if ((j < x_7.x_GLF_uniform_int_values[0].el)) {
+          } else {
+            break;
+          }
+          {
+            while(true) {
+              a = x_7.x_GLF_uniform_int_values[1].el;
+              if ((tint_symbol.y < x_11.x_GLF_uniform_float_values[0].el)) {
+                continue_execution = false;
+              }
+              {
+                int x_72 = a;
+                int x_74 = x_7.x_GLF_uniform_int_values[1].el;
+                if (!((x_72 < x_74))) { break; }
+              }
+              continue;
+            }
+          }
+          if ((tint_symbol.y < x_11.x_GLF_uniform_float_values[0].el)) {
+            break;
+          }
+          {
+            j = (j + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == x_7.x_GLF_uniform_int_values[1].el)) {
+    float v = float(a);
+    float v_1 = float(x_7.x_GLF_uniform_int_values[2].el);
+    float v_2 = float(x_7.x_GLF_uniform_int_values[2].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(a));
+  } else {
+    x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[2].el));
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.wgsl.expected.ir.glsl
index 72ca17c..b3e4400 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for-for-do-while-if-if/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,129 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_7;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  int a = 0;
+  int i = 0;
+  int j = 0;
+  int x_36 = x_7.x_GLF_uniform_int_values[2].el;
+  a = x_36;
+  int x_38 = x_7.x_GLF_uniform_int_values[2].el;
+  i = x_38;
+  {
+    while(true) {
+      int x_43 = i;
+      int x_45 = x_7.x_GLF_uniform_int_values[0].el;
+      if ((x_43 < x_45)) {
+      } else {
+        break;
+      }
+      int x_49 = x_7.x_GLF_uniform_int_values[2].el;
+      j = x_49;
+      {
+        while(true) {
+          int x_54 = j;
+          int x_56 = x_7.x_GLF_uniform_int_values[0].el;
+          if ((x_54 < x_56)) {
+          } else {
+            break;
+          }
+          {
+            while(true) {
+              int x_64 = x_7.x_GLF_uniform_int_values[1].el;
+              a = x_64;
+              float x_66 = tint_symbol.y;
+              float x_68 = x_11.x_GLF_uniform_float_values[0].el;
+              if ((x_66 < x_68)) {
+                continue_execution = false;
+              }
+              {
+                int x_72 = a;
+                int x_74 = x_7.x_GLF_uniform_int_values[1].el;
+                if (!((x_72 < x_74))) { break; }
+              }
+              continue;
+            }
+          }
+          float x_77 = tint_symbol.y;
+          float x_79 = x_11.x_GLF_uniform_float_values[0].el;
+          if ((x_77 < x_79)) {
+            break;
+          }
+          {
+            int x_83 = j;
+            j = (x_83 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_85 = i;
+        i = (x_85 + 1);
+      }
+      continue;
+    }
+  }
+  int x_87 = a;
+  int x_89 = x_7.x_GLF_uniform_int_values[1].el;
+  if ((x_87 == x_89)) {
+    int x_94 = a;
+    int x_97 = x_7.x_GLF_uniform_int_values[2].el;
+    int x_100 = x_7.x_GLF_uniform_int_values[2].el;
+    int x_102 = a;
+    float v = float(x_94);
+    float v_1 = float(x_97);
+    float v_2 = float(x_100);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_102));
+  } else {
+    int x_106 = x_7.x_GLF_uniform_int_values[2].el;
+    float x_107 = float(x_106);
+    x_GLF_color = vec4(x_107, x_107, x_107, x_107);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..45bd728 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,211 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+uniform buf1 x_11;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  float b = 0.0f;
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int i_3 = 0;
+  int i_4 = 0;
+  int i_5 = 0;
+  int i_6 = 0;
+  int i_7 = 0;
+  int i_8 = 0;
+  int i_9 = 0;
+  int i_10 = 0;
+  a = x_7.x_GLF_uniform_float_values[0].el;
+  b = x_7.x_GLF_uniform_float_values[1].el;
+  i = x_11.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_11.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      i_1 = x_11.x_GLF_uniform_int_values[1].el;
+      {
+        while(true) {
+          if ((i_1 < x_11.x_GLF_uniform_int_values[0].el)) {
+          } else {
+            break;
+          }
+          i_2 = x_11.x_GLF_uniform_int_values[1].el;
+          {
+            while(true) {
+              if ((i_2 < x_11.x_GLF_uniform_int_values[0].el)) {
+              } else {
+                break;
+              }
+              i_3 = x_11.x_GLF_uniform_int_values[2].el;
+              {
+                while(true) {
+                  if ((i_3 < x_11.x_GLF_uniform_int_values[0].el)) {
+                  } else {
+                    break;
+                  }
+                  i_4 = x_11.x_GLF_uniform_int_values[2].el;
+                  {
+                    while(true) {
+                      if ((i_4 < x_11.x_GLF_uniform_int_values[0].el)) {
+                      } else {
+                        break;
+                      }
+                      i_5 = x_11.x_GLF_uniform_int_values[1].el;
+                      {
+                        while(true) {
+                          if ((i_5 < x_11.x_GLF_uniform_int_values[0].el)) {
+                          } else {
+                            break;
+                          }
+                          i_6 = x_11.x_GLF_uniform_int_values[1].el;
+                          {
+                            while(true) {
+                              if ((i_6 < x_11.x_GLF_uniform_int_values[0].el)) {
+                              } else {
+                                break;
+                              }
+                              i_7 = x_11.x_GLF_uniform_int_values[1].el;
+                              {
+                                while(true) {
+                                  if ((i_7 < x_11.x_GLF_uniform_int_values[0].el)) {
+                                  } else {
+                                    break;
+                                  }
+                                  i_8 = x_11.x_GLF_uniform_int_values[1].el;
+                                  {
+                                    while(true) {
+                                      if ((i_8 < x_11.x_GLF_uniform_int_values[0].el)) {
+                                      } else {
+                                        break;
+                                      }
+                                      i_9 = x_11.x_GLF_uniform_int_values[1].el;
+                                      {
+                                        while(true) {
+                                          if ((i_9 < x_11.x_GLF_uniform_int_values[0].el)) {
+                                          } else {
+                                            break;
+                                          }
+                                          i_10 = x_11.x_GLF_uniform_int_values[1].el;
+                                          {
+                                            while(true) {
+                                              if ((i_10 < x_11.x_GLF_uniform_int_values[0].el)) {
+                                              } else {
+                                                break;
+                                              }
+                                              a = x_7.x_GLF_uniform_float_values[1].el;
+                                              if ((tint_symbol.y > x_7.x_GLF_uniform_float_values[1].el)) {
+                                                break;
+                                              }
+                                              {
+                                                i_10 = (i_10 + 1);
+                                              }
+                                              continue;
+                                            }
+                                          }
+                                          {
+                                            i_9 = (i_9 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        i_8 = (i_8 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    i_7 = (i_7 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                i_6 = (i_6 + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            i_5 = (i_5 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        i_4 = (i_4 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    i_3 = (i_3 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                i_2 = (i_2 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            i_1 = (i_1 + 1);
+          }
+          continue;
+        }
+      }
+      b = (b + 1.0f);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(b, a, a, b);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.wgsl.expected.ir.glsl
index 72ca17c..8f559f3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-optimize-phis-for/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,265 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+uniform buf1 x_11;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  float b = 0.0f;
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  int i_3 = 0;
+  int i_4 = 0;
+  int i_5 = 0;
+  int i_6 = 0;
+  int i_7 = 0;
+  int i_8 = 0;
+  int i_9 = 0;
+  int i_10 = 0;
+  float x_104 = x_7.x_GLF_uniform_float_values[0].el;
+  a = x_104;
+  float x_106 = x_7.x_GLF_uniform_float_values[1].el;
+  b = x_106;
+  int x_24 = x_11.x_GLF_uniform_int_values[1].el;
+  i = x_24;
+  {
+    while(true) {
+      int x_25 = i;
+      int x_26 = x_11.x_GLF_uniform_int_values[0].el;
+      if ((x_25 < x_26)) {
+      } else {
+        break;
+      }
+      int x_27 = x_11.x_GLF_uniform_int_values[1].el;
+      i_1 = x_27;
+      {
+        while(true) {
+          int x_28 = i_1;
+          int x_29 = x_11.x_GLF_uniform_int_values[0].el;
+          if ((x_28 < x_29)) {
+          } else {
+            break;
+          }
+          int x_30 = x_11.x_GLF_uniform_int_values[1].el;
+          i_2 = x_30;
+          {
+            while(true) {
+              int x_31 = i_2;
+              int x_32 = x_11.x_GLF_uniform_int_values[0].el;
+              if ((x_31 < x_32)) {
+              } else {
+                break;
+              }
+              int x_33 = x_11.x_GLF_uniform_int_values[2].el;
+              i_3 = x_33;
+              {
+                while(true) {
+                  int x_34 = i_3;
+                  int x_35 = x_11.x_GLF_uniform_int_values[0].el;
+                  if ((x_34 < x_35)) {
+                  } else {
+                    break;
+                  }
+                  int x_36 = x_11.x_GLF_uniform_int_values[2].el;
+                  i_4 = x_36;
+                  {
+                    while(true) {
+                      int x_37 = i_4;
+                      int x_38 = x_11.x_GLF_uniform_int_values[0].el;
+                      if ((x_37 < x_38)) {
+                      } else {
+                        break;
+                      }
+                      int x_39 = x_11.x_GLF_uniform_int_values[1].el;
+                      i_5 = x_39;
+                      {
+                        while(true) {
+                          int x_40 = i_5;
+                          int x_41 = x_11.x_GLF_uniform_int_values[0].el;
+                          if ((x_40 < x_41)) {
+                          } else {
+                            break;
+                          }
+                          int x_42 = x_11.x_GLF_uniform_int_values[1].el;
+                          i_6 = x_42;
+                          {
+                            while(true) {
+                              int x_43 = i_6;
+                              int x_44 = x_11.x_GLF_uniform_int_values[0].el;
+                              if ((x_43 < x_44)) {
+                              } else {
+                                break;
+                              }
+                              int x_45 = x_11.x_GLF_uniform_int_values[1].el;
+                              i_7 = x_45;
+                              {
+                                while(true) {
+                                  int x_46 = i_7;
+                                  int x_47 = x_11.x_GLF_uniform_int_values[0].el;
+                                  if ((x_46 < x_47)) {
+                                  } else {
+                                    break;
+                                  }
+                                  int x_48 = x_11.x_GLF_uniform_int_values[1].el;
+                                  i_8 = x_48;
+                                  {
+                                    while(true) {
+                                      int x_49 = i_8;
+                                      int x_50 = x_11.x_GLF_uniform_int_values[0].el;
+                                      if ((x_49 < x_50)) {
+                                      } else {
+                                        break;
+                                      }
+                                      int x_51 = x_11.x_GLF_uniform_int_values[1].el;
+                                      i_9 = x_51;
+                                      {
+                                        while(true) {
+                                          int x_52 = i_9;
+                                          int x_53 = x_11.x_GLF_uniform_int_values[0].el;
+                                          if ((x_52 < x_53)) {
+                                          } else {
+                                            break;
+                                          }
+                                          int x_54 = x_11.x_GLF_uniform_int_values[1].el;
+                                          i_10 = x_54;
+                                          {
+                                            while(true) {
+                                              int x_55 = i_10;
+                                              int x_56 = x_11.x_GLF_uniform_int_values[0].el;
+                                              if ((x_55 < x_56)) {
+                                              } else {
+                                                break;
+                                              }
+                                              float x_196 = x_7.x_GLF_uniform_float_values[1].el;
+                                              a = x_196;
+                                              float x_198 = tint_symbol.y;
+                                              float x_200 = x_7.x_GLF_uniform_float_values[1].el;
+                                              if ((x_198 > x_200)) {
+                                                break;
+                                              }
+                                              {
+                                                int x_57 = i_10;
+                                                i_10 = (x_57 + 1);
+                                              }
+                                              continue;
+                                            }
+                                          }
+                                          {
+                                            int x_59 = i_9;
+                                            i_9 = (x_59 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        int x_61 = i_8;
+                                        i_8 = (x_61 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    int x_63 = i_7;
+                                    i_7 = (x_63 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                int x_65 = i_6;
+                                i_6 = (x_65 + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            int x_67 = i_5;
+                            i_5 = (x_67 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        int x_69 = i_4;
+                        i_4 = (x_69 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    int x_71 = i_3;
+                    i_3 = (x_71 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                int x_73 = i_2;
+                i_2 = (x_73 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            int x_75 = i_1;
+            i_1 = (x_75 + 1);
+          }
+          continue;
+        }
+      }
+      float x_204 = b;
+      b = (x_204 + 1.0f);
+      {
+        int x_77 = i;
+        i = (x_77 + 1);
+      }
+      continue;
+    }
+  }
+  float x_206 = b;
+  float x_207 = a;
+  float x_208 = a;
+  float x_209 = b;
+  x_GLF_color = vec4(x_206, x_207, x_208, x_209);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..5f2b35b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,85 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 values = vec4(0.0f);
+  vec4 r = vec4(0.0f);
+  bool x_85 = false;
+  bool x_86 = false;
+  bool x_101 = false;
+  bool x_102 = false;
+  bool x_117 = false;
+  bool x_118 = false;
+  a = 1006648320u;
+  values = unpackUnorm4x8(a);
+  r = vec4(x_8.x_GLF_uniform_float_values[3].el, (x_8.x_GLF_uniform_float_values[1].el / x_8.x_GLF_uniform_float_values[0].el), (x_8.x_GLF_uniform_float_values[3].el / x_8.x_GLF_uniform_float_values[0].el), (x_8.x_GLF_uniform_float_values[1].el / x_8.x_GLF_uniform_float_values[0].el));
+  float v = abs((values[x_10.x_GLF_uniform_int_values[0].el] - r[x_10.x_GLF_uniform_int_values[0].el]));
+  bool x_70 = (v < x_8.x_GLF_uniform_float_values[2].el);
+  x_86 = x_70;
+  if (x_70) {
+    float v_1 = abs((values[x_10.x_GLF_uniform_int_values[1].el] - r[x_10.x_GLF_uniform_int_values[1].el]));
+    x_85 = (v_1 < x_8.x_GLF_uniform_float_values[2].el);
+    x_86 = x_85;
+  }
+  x_102 = x_86;
+  if (x_86) {
+    float v_2 = abs((values[x_10.x_GLF_uniform_int_values[3].el] - r[x_10.x_GLF_uniform_int_values[3].el]));
+    x_101 = (v_2 < x_8.x_GLF_uniform_float_values[2].el);
+    x_102 = x_101;
+  }
+  x_118 = x_102;
+  if (x_102) {
+    float v_3 = abs((values[x_10.x_GLF_uniform_int_values[2].el] - r[x_10.x_GLF_uniform_int_values[2].el]));
+    x_117 = (v_3 < x_8.x_GLF_uniform_float_values[2].el);
+    x_118 = x_117;
+  }
+  if (x_118) {
+    float v_4 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_5 = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_6 = float(x_10.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v_4, v_5, v_6, float(x_10.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f738233 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-packhalf-unpackunorm/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,118 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+uniform buf1 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  uint a = 0u;
+  vec4 values = vec4(0.0f);
+  vec4 r = vec4(0.0f);
+  bool x_85 = false;
+  bool x_101 = false;
+  bool x_117 = false;
+  bool x_86_phi = false;
+  bool x_102_phi = false;
+  bool x_118_phi = false;
+  a = 1006648320u;
+  uint x_38 = a;
+  values = unpackUnorm4x8(x_38);
+  float x_41 = x_8.x_GLF_uniform_float_values[3].el;
+  float x_43 = x_8.x_GLF_uniform_float_values[1].el;
+  float x_45 = x_8.x_GLF_uniform_float_values[0].el;
+  float x_48 = x_8.x_GLF_uniform_float_values[3].el;
+  float x_50 = x_8.x_GLF_uniform_float_values[0].el;
+  float x_53 = x_8.x_GLF_uniform_float_values[1].el;
+  float x_55 = x_8.x_GLF_uniform_float_values[0].el;
+  r = vec4(x_41, (x_43 / x_45), (x_48 / x_50), (x_53 / x_55));
+  int x_59 = x_10.x_GLF_uniform_int_values[0].el;
+  float x_61 = values[x_59];
+  int x_63 = x_10.x_GLF_uniform_int_values[0].el;
+  float x_65 = r[x_63];
+  float x_69 = x_8.x_GLF_uniform_float_values[2].el;
+  bool x_70 = (abs((x_61 - x_65)) < x_69);
+  x_86_phi = x_70;
+  if (x_70) {
+    int x_74 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_76 = values[x_74];
+    int x_78 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_80 = r[x_78];
+    float x_84 = x_8.x_GLF_uniform_float_values[2].el;
+    x_85 = (abs((x_76 - x_80)) < x_84);
+    x_86_phi = x_85;
+  }
+  bool x_86 = x_86_phi;
+  x_102_phi = x_86;
+  if (x_86) {
+    int x_90 = x_10.x_GLF_uniform_int_values[3].el;
+    float x_92 = values[x_90];
+    int x_94 = x_10.x_GLF_uniform_int_values[3].el;
+    float x_96 = r[x_94];
+    float x_100 = x_8.x_GLF_uniform_float_values[2].el;
+    x_101 = (abs((x_92 - x_96)) < x_100);
+    x_102_phi = x_101;
+  }
+  bool x_102 = x_102_phi;
+  x_118_phi = x_102;
+  if (x_102) {
+    int x_106 = x_10.x_GLF_uniform_int_values[2].el;
+    float x_108 = values[x_106];
+    int x_110 = x_10.x_GLF_uniform_int_values[2].el;
+    float x_112 = r[x_110];
+    float x_116 = x_8.x_GLF_uniform_float_values[2].el;
+    x_117 = (abs((x_108 - x_112)) < x_116);
+    x_118_phi = x_117;
+  }
+  bool x_118 = x_118_phi;
+  if (x_118) {
+    int x_123 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_126 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_129 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_132 = x_10.x_GLF_uniform_int_values[1].el;
+    float v = float(x_123);
+    float v_1 = float(x_126);
+    float v_2 = float(x_129);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_132));
+  } else {
+    int x_136 = x_10.x_GLF_uniform_int_values[0].el;
+    float x_137 = float(x_136);
+    x_GLF_color = vec4(x_137, x_137, x_137, x_137);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.spvasm.expected.ir.glsl
index e1168e3..a61565d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+int func_i1_(inout int x) {
+  if ((x_7.one == 1)) {
+    int x_39 = x;
+    return x_39;
+  }
+  int x_41 = x_7.one;
+  return x_41;
+}
+void main_1() {
+  int param = 0;
+  param = -1;
+  int x_28 = func_i1_(param);
+  if ((x_28 <= 0)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2da758a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-signum/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+int func_i1_(inout int x) {
+  int x_35 = x_7.one;
+  if ((x_35 == 1)) {
+    int x_39 = x;
+    return x_39;
+  }
+  int x_41 = x_7.one;
+  return x_41;
+}
+void main_1() {
+  int param = 0;
+  param = -1;
+  int x_28 = func_i1_(param);
+  if ((x_28 <= 0)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-single-bit/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-single-bit/0.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-single-bit/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-single-bit/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-single-bit/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-single-bit/0.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-single-bit/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pattern-match-single-bit/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..0bfb1af 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,86 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_9;
+bool continue_execution = true;
+void main_1() {
+  int i = 0;
+  x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  i = x_6.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[2].el)) {
+      } else {
+        break;
+      }
+      if ((tint_symbol.y < x_9.x_GLF_uniform_float_values[0].el)) {
+        if ((tint_symbol.x < x_9.x_GLF_uniform_float_values[0].el)) {
+          return;
+        }
+        if ((x_9.x_GLF_uniform_float_values[1].el > x_9.x_GLF_uniform_float_values[1].el)) {
+          return;
+        }
+        continue_execution = false;
+      }
+      if ((x_9.x_GLF_uniform_float_values[1].el > x_9.x_GLF_uniform_float_values[0].el)) {
+        float v = float(x_6.x_GLF_uniform_int_values[0].el);
+        float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+        float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+        x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+        break;
+      }
+      if ((x_9.x_GLF_uniform_float_values[0].el < 0.0f)) {
+        continue_execution = false;
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.wgsl.expected.ir.glsl
index 72ca17c..abdd454 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-peephole-optimizer-target-instr-info-for-if-if-if/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,105 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_9;
+bool continue_execution = true;
+void main_1() {
+  int i = 0;
+  int x_37 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_38 = float(x_37);
+  x_GLF_color = vec4(x_38, x_38, x_38, x_38);
+  int x_41 = x_6.x_GLF_uniform_int_values[1].el;
+  i = x_41;
+  {
+    while(true) {
+      int x_46 = i;
+      int x_48 = x_6.x_GLF_uniform_int_values[2].el;
+      if ((x_46 < x_48)) {
+      } else {
+        break;
+      }
+      float x_52 = tint_symbol.y;
+      float x_54 = x_9.x_GLF_uniform_float_values[0].el;
+      if ((x_52 < x_54)) {
+        float x_59 = tint_symbol.x;
+        float x_61 = x_9.x_GLF_uniform_float_values[0].el;
+        if ((x_59 < x_61)) {
+          return;
+        }
+        float x_66 = x_9.x_GLF_uniform_float_values[1].el;
+        float x_68 = x_9.x_GLF_uniform_float_values[1].el;
+        if ((x_66 > x_68)) {
+          return;
+        }
+        continue_execution = false;
+      }
+      float x_73 = x_9.x_GLF_uniform_float_values[1].el;
+      float x_75 = x_9.x_GLF_uniform_float_values[0].el;
+      if ((x_73 > x_75)) {
+        int x_80 = x_6.x_GLF_uniform_int_values[0].el;
+        int x_83 = x_6.x_GLF_uniform_int_values[1].el;
+        int x_86 = x_6.x_GLF_uniform_int_values[1].el;
+        int x_89 = x_6.x_GLF_uniform_int_values[0].el;
+        float v = float(x_80);
+        float v_1 = float(x_83);
+        float v_2 = float(x_86);
+        x_GLF_color = vec4(v, v_1, v_2, float(x_89));
+        break;
+      }
+      float x_93 = x_9.x_GLF_uniform_float_values[0].el;
+      if ((x_93 < 0.0f)) {
+        continue_execution = false;
+      }
+      {
+        int x_97 = i;
+        i = (x_97 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-identical-value-sqrt/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-identical-value-sqrt/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-identical-value-sqrt/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-identical-value-sqrt/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-identical-value-sqrt/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-identical-value-sqrt/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-identical-value-sqrt/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-identical-value-sqrt/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..c1bd379 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,68 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct buf2 {
+  int zero;
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf2 x_8;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  bool x_48 = false;
+  bool x_49 = false;
+  f = pow(-(x_6.x_GLF_uniform_float_values[1].el), 1.17520117759704589844f);
+  bool x_40 = (f == x_6.x_GLF_uniform_float_values[0].el);
+  x_49 = x_40;
+  if (!(x_40)) {
+    x_48 = (x_8.zero == x_10.x_GLF_uniform_int_values[0].el);
+    x_49 = x_48;
+  }
+  if (x_49) {
+    float v = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_1 = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_10.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_10.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.wgsl.expected.ir.glsl
index 72ca17c..632cf30 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined-result-condition-with-always-true/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,80 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct buf2 {
+  int zero;
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf2 x_8;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  bool x_48 = false;
+  bool x_49_phi = false;
+  float x_33 = x_6.x_GLF_uniform_float_values[1].el;
+  f = pow(-(x_33), 1.17520117759704589844f);
+  float x_37 = f;
+  float x_39 = x_6.x_GLF_uniform_float_values[0].el;
+  bool x_40 = (x_37 == x_39);
+  x_49_phi = x_40;
+  if (!(x_40)) {
+    int x_45 = x_8.zero;
+    int x_47 = x_10.x_GLF_uniform_int_values[0].el;
+    x_48 = (x_45 == x_47);
+    x_49_phi = x_48;
+  }
+  bool x_49 = x_49_phi;
+  if (x_49) {
+    int x_54 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_57 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_60 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_63 = x_10.x_GLF_uniform_int_values[1].el;
+    float v = float(x_54);
+    float v_1 = float(x_57);
+    float v_2 = float(x_60);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_63));
+  } else {
+    int x_67 = x_10.x_GLF_uniform_int_values[0].el;
+    float x_68 = float(x_67);
+    x_GLF_color = vec4(x_68, x_68, x_68, x_68);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..e5164ca 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_8;
+void main_1() {
+  float a = 0.0f;
+  float b = 0.0f;
+  float c = 0.0f;
+  a = -1.0f;
+  b = 1.70000004768371582031f;
+  c = pow(a, b);
+  x_GLF_color = vec4(c);
+  if (((a == -1.0f) & (b == 1.70000004768371582031f))) {
+    x_GLF_color = vec4(x_8.x_GLF_uniform_float_values[0].el, x_8.x_GLF_uniform_float_values[1].el, x_8.x_GLF_uniform_float_values[1].el, x_8.x_GLF_uniform_float_values[0].el);
+  } else {
+    x_GLF_color = vec4(x_8.x_GLF_uniform_float_values[0].el);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..41308bf 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-pow-undefined/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,58 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_8;
+void main_1() {
+  float a = 0.0f;
+  float b = 0.0f;
+  float c = 0.0f;
+  a = -1.0f;
+  b = 1.70000004768371582031f;
+  float x_27 = a;
+  float x_28 = b;
+  c = pow(x_27, x_28);
+  float x_30 = c;
+  x_GLF_color = vec4(x_30, x_30, x_30, x_30);
+  float x_32 = a;
+  float x_34 = b;
+  if (((x_32 == -1.0f) & (x_34 == 1.70000004768371582031f))) {
+    float x_41 = x_8.x_GLF_uniform_float_values[0].el;
+    float x_43 = x_8.x_GLF_uniform_float_values[1].el;
+    float x_45 = x_8.x_GLF_uniform_float_values[1].el;
+    float x_47 = x_8.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_41, x_43, x_45, x_47);
+  } else {
+    float x_50 = x_8.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_50, x_50, x_50, x_50);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-rcp-negative-int/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-rcp-negative-int/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-rcp-negative-int/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-rcp-negative-int/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-rcp-negative-int/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-rcp-negative-int/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-rcp-negative-int/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-rcp-negative-int/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reciprocal-var-minus-one/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reciprocal-var-minus-one/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reciprocal-var-minus-one/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-reciprocal-var-minus-one/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reciprocal-var-minus-one/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reciprocal-var-minus-one/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reciprocal-var-minus-one/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-reciprocal-var-minus-one/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.spvasm.expected.ir.glsl
index 72ca17c..003a93c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.spvasm.expected.ir.glsl
@@ -1,11 +1,51 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  int x_9[1] = int[1](0);
+  int x_10 = 0;
+  int x_6 = x_9[0u];
+  {
+    while(true) {
+      x_GLF_color = vec4(0.0f);
+      if ((x_9[x_5.zero] == x_6)) {
+        x_10 = 1;
+        break;
+      }
+      x_10 = 2;
+      break;
+    }
+  }
+  if (((x_10 == 1) | (x_10 == 2))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.wgsl.expected.ir.glsl
index 72ca17c..084ff8d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-array-replace-extract/0.wgsl.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  int x_9[1] = int[1](0);
+  int x_10_phi = 0;
+  int x_33[1] = x_9;
+  int x_6 = x_33[0u];
+  {
+    while(true) {
+      x_GLF_color = vec4(0.0f);
+      int x_7 = x_5.zero;
+      int x_8 = x_9[x_7];
+      if ((x_8 == x_6)) {
+        x_10_phi = 1;
+        break;
+      }
+      x_10_phi = 2;
+      break;
+    }
+  }
+  int x_10 = x_10_phi;
+  if (((x_10 == 1) | (x_10 == 2))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f68935e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,69 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct S {
+  int x;
+  int y;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void func_struct_S_i1_i11_(inout S arg) {
+  arg.y = 1;
+}
+void main_1() {
+  float a = 0.0f;
+  S b[2] = S[2](S(0, 0), S(0, 0));
+  S param = S(0, 0);
+  a = 5.0f;
+  {
+    while(true) {
+      int x_43 = x_10.one;
+      b[x_43].x = 1;
+      if ((b[1].x == 1)) {
+        if ((x_10.one == 1)) {
+          break;
+        }
+        param = b[1];
+        func_struct_S_i1_i11_(param);
+        b[1] = param;
+        a = float(b[1].y);
+      }
+      a = 0.0f;
+      {
+        if (true) { break; }
+      }
+      continue;
+    }
+  }
+  if ((a == 5.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..6bc5b15 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-reduce-load-replace-extract/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,75 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct S {
+  int x;
+  int y;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+void func_struct_S_i1_i11_(inout S arg) {
+  arg.y = 1;
+}
+void main_1() {
+  float a = 0.0f;
+  S b[2] = S[2](S(0, 0), S(0, 0));
+  S param = S(0, 0);
+  a = 5.0f;
+  {
+    while(true) {
+      int x_43 = x_10.one;
+      b[x_43].x = 1;
+      int x_46 = b[1].x;
+      if ((x_46 == 1)) {
+        int x_51 = x_10.one;
+        if ((x_51 == 1)) {
+          break;
+        }
+        S x_56 = b[1];
+        param = x_56;
+        func_struct_S_i1_i11_(param);
+        S x_58 = param;
+        b[1] = x_58;
+        int x_61 = b[1].y;
+        a = float(x_61);
+      }
+      a = 0.0f;
+      {
+        if (true) { break; }
+      }
+      continue;
+    }
+  }
+  float x_63 = a;
+  if ((x_63 == 5.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..3eb169a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_v1_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_7;
+uniform buf0 x_9;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_v1 = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  int i = 0;
+  int j = 0;
+  i = x_7.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_7.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      if ((x_9.x_GLF_uniform_float_values[0].el > x_9.x_GLF_uniform_float_values[1].el)) {
+        continue_execution = false;
+      }
+      j = x_7.x_GLF_uniform_int_values[1].el;
+      {
+        while(true) {
+          if ((j < x_7.x_GLF_uniform_int_values[0].el)) {
+          } else {
+            break;
+          }
+          if ((tint_symbol.x < x_9.x_GLF_uniform_float_values[0].el)) {
+            continue_execution = false;
+          }
+          float v = float(x_7.x_GLF_uniform_int_values[2].el);
+          float v_1 = float(x_7.x_GLF_uniform_int_values[1].el);
+          float v_2 = float(x_7.x_GLF_uniform_int_values[1].el);
+          x_GLF_v1 = vec4(v, v_1, v_2, float(x_7.x_GLF_uniform_int_values[2].el));
+          {
+            j = (j + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v_3 = main_out(x_GLF_v1);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1fe2308 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-register-coalescer-live-intervals-target-instr-info-for-discard-for-discard/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,106 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_v1_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_7;
+uniform buf0 x_9;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_v1 = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  int i = 0;
+  int j = 0;
+  int x_36 = x_7.x_GLF_uniform_int_values[1].el;
+  i = x_36;
+  {
+    while(true) {
+      int x_41 = i;
+      int x_43 = x_7.x_GLF_uniform_int_values[0].el;
+      if ((x_41 < x_43)) {
+      } else {
+        break;
+      }
+      float x_47 = x_9.x_GLF_uniform_float_values[0].el;
+      float x_49 = x_9.x_GLF_uniform_float_values[1].el;
+      if ((x_47 > x_49)) {
+        continue_execution = false;
+      }
+      int x_54 = x_7.x_GLF_uniform_int_values[1].el;
+      j = x_54;
+      {
+        while(true) {
+          int x_59 = j;
+          int x_61 = x_7.x_GLF_uniform_int_values[0].el;
+          if ((x_59 < x_61)) {
+          } else {
+            break;
+          }
+          float x_65 = tint_symbol.x;
+          float x_67 = x_9.x_GLF_uniform_float_values[0].el;
+          if ((x_65 < x_67)) {
+            continue_execution = false;
+          }
+          int x_72 = x_7.x_GLF_uniform_int_values[2].el;
+          int x_75 = x_7.x_GLF_uniform_int_values[1].el;
+          int x_78 = x_7.x_GLF_uniform_int_values[1].el;
+          int x_81 = x_7.x_GLF_uniform_int_values[2].el;
+          float v = float(x_72);
+          float v_1 = float(x_75);
+          float v_2 = float(x_78);
+          x_GLF_v1 = vec4(v, v_1, v_2, float(x_81));
+          {
+            int x_84 = j;
+            j = (x_84 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_86 = i;
+        i = (x_86 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v_3 = main_out(x_GLF_v1);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.spvasm.expected.ir.glsl
index e1168e3..63a2efd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,86 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m = mat2(vec2(0.0f), vec2(0.0f));
+  float f = 0.0f;
+  int i = 0;
+  int j = 0;
+  if ((x_5.x_GLF_uniform_int_values[1].el == 1)) {
+    vec2 v = vec2(f, 0.0f);
+    m = mat2(v, vec2(0.0f, f));
+  }
+  i = x_5.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_5.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      j = x_5.x_GLF_uniform_int_values[1].el;
+      {
+        while(true) {
+          if ((j < x_5.x_GLF_uniform_int_values[0].el)) {
+          } else {
+            break;
+          }
+          int x_66 = i;
+          int x_67 = j;
+          m[x_66][x_67] = float(((i * x_5.x_GLF_uniform_int_values[0].el) + j));
+          {
+            j = (j + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  float v_1 = float(x_5.x_GLF_uniform_int_values[1].el);
+  vec2 v_2 = vec2(v_1, float(x_5.x_GLF_uniform_int_values[2].el));
+  float v_3 = float(x_5.x_GLF_uniform_int_values[0].el);
+  mat2 x_95 = mat2(v_2, vec2(v_3, float(x_5.x_GLF_uniform_int_values[3].el)));
+  bool v_4 = all((m[0u] == x_95[0u]));
+  if ((v_4 & all((m[1u] == x_95[1u])))) {
+    float v_5 = float(x_5.x_GLF_uniform_int_values[2].el);
+    float v_6 = float(x_5.x_GLF_uniform_int_values[1].el);
+    float v_7 = float(x_5.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_5, v_6, v_7, float(x_5.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f902ac5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-reinitialize-matrix-after-undefined-value/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,110 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m = mat2(vec2(0.0f), vec2(0.0f));
+  float f = 0.0f;
+  int i = 0;
+  int j = 0;
+  int x_36 = x_5.x_GLF_uniform_int_values[1].el;
+  if ((x_36 == 1)) {
+    float x_40 = f;
+    vec2 v = vec2(x_40, 0.0f);
+    m = mat2(v, vec2(0.0f, x_40));
+  }
+  int x_45 = x_5.x_GLF_uniform_int_values[1].el;
+  i = x_45;
+  {
+    while(true) {
+      int x_50 = i;
+      int x_52 = x_5.x_GLF_uniform_int_values[0].el;
+      if ((x_50 < x_52)) {
+      } else {
+        break;
+      }
+      int x_56 = x_5.x_GLF_uniform_int_values[1].el;
+      j = x_56;
+      {
+        while(true) {
+          int x_61 = j;
+          int x_63 = x_5.x_GLF_uniform_int_values[0].el;
+          if ((x_61 < x_63)) {
+          } else {
+            break;
+          }
+          int x_66 = i;
+          int x_67 = j;
+          int x_68 = i;
+          int x_70 = x_5.x_GLF_uniform_int_values[0].el;
+          int x_72 = j;
+          m[x_66][x_67] = float(((x_68 * x_70) + x_72));
+          {
+            int x_76 = j;
+            j = (x_76 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_78 = i;
+        i = (x_78 + 1);
+      }
+      continue;
+    }
+  }
+  mat2 x_80 = m;
+  int x_82 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_85 = x_5.x_GLF_uniform_int_values[2].el;
+  int x_88 = x_5.x_GLF_uniform_int_values[0].el;
+  int x_91 = x_5.x_GLF_uniform_int_values[3].el;
+  float v_1 = float(x_82);
+  vec2 v_2 = vec2(v_1, float(x_85));
+  float v_3 = float(x_88);
+  mat2 x_95 = mat2(v_2, vec2(v_3, float(x_91)));
+  bool v_4 = all((x_80[0u] == x_95[0u]));
+  if ((v_4 & all((x_80[1u] == x_95[1u])))) {
+    int x_109 = x_5.x_GLF_uniform_int_values[2].el;
+    int x_112 = x_5.x_GLF_uniform_int_values[1].el;
+    int x_115 = x_5.x_GLF_uniform_int_values[1].el;
+    int x_118 = x_5.x_GLF_uniform_int_values[2].el;
+    float v_5 = float(x_109);
+    float v_6 = float(x_112);
+    float v_7 = float(x_115);
+    x_GLF_color = vec4(v_5, v_6, v_7, float(x_118));
+  } else {
+    int x_122 = x_5.x_GLF_uniform_int_values[1].el;
+    float x_123 = float(x_122);
+    x_GLF_color = vec4(x_123, x_123, x_123, x_123);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-replace-copy-object/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-replace-copy-object/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-replace-copy-object/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-replace-copy-object/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-replace-copy-object/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-replace-copy-object/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-replace-copy-object/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-replace-copy-object/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.spvasm.expected.ir.glsl
index 69f590c..dcf804d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,54 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_5;
+void main_1() {
+  float v = float(x_5.x_GLF_uniform_int_values[0].el);
+  float v_1 = float(x_5.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_5.x_GLF_uniform_int_values[1].el);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_5.x_GLF_uniform_int_values[0].el));
+  if ((x_5.x_GLF_uniform_int_values[1].el > x_5.x_GLF_uniform_int_values[0].el)) {
+    {
+      while(true) {
+        x_GLF_color = vec4(float(x_5.x_GLF_uniform_int_values[0].el));
+        {
+          int x_50 = x_5.x_GLF_uniform_int_values[1].el;
+          int x_52 = x_5.x_GLF_uniform_int_values[0].el;
+          if (!((x_50 > x_52))) { break; }
+        }
+        continue;
+      }
+    }
+    return;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.wgsl.expected.ir.glsl
index 72ca17c..b6df2f1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-do-while/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,62 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_5;
+void main_1() {
+  int x_22 = x_5.x_GLF_uniform_int_values[0].el;
+  int x_25 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_28 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_31 = x_5.x_GLF_uniform_int_values[0].el;
+  float v = float(x_22);
+  float v_1 = float(x_25);
+  float v_2 = float(x_28);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_31));
+  int x_35 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_37 = x_5.x_GLF_uniform_int_values[0].el;
+  if ((x_35 > x_37)) {
+    {
+      while(true) {
+        int x_46 = x_5.x_GLF_uniform_int_values[0].el;
+        float x_47 = float(x_46);
+        x_GLF_color = vec4(x_47, x_47, x_47, x_47);
+        {
+          int x_50 = x_5.x_GLF_uniform_int_values[1].el;
+          int x_52 = x_5.x_GLF_uniform_int_values[0].el;
+          if (!((x_50 > x_52))) { break; }
+        }
+        continue;
+      }
+    }
+    return;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..fcb48ca 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,74 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct buf2 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_7;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_9;
+uniform buf2 x_11;
+void main_1() {
+  int i = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  i = x_7.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_7.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      if ((i != x_7.x_GLF_uniform_int_values[1].el)) {
+        return;
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((tint_symbol.y < x_9.x_GLF_uniform_float_values[0].el)) {
+    return;
+  }
+  x_GLF_color = vec4(1.0f, 1.0f, 1.0f, x_11.injectionSwitch.y);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..7863211 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-after-first-iteration/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,83 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct buf2 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_7;
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_9;
+uniform buf2 x_11;
+void main_1() {
+  int i = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  int x_42 = x_7.x_GLF_uniform_int_values[1].el;
+  i = x_42;
+  {
+    while(true) {
+      int x_47 = i;
+      int x_49 = x_7.x_GLF_uniform_int_values[0].el;
+      if ((x_47 < x_49)) {
+      } else {
+        break;
+      }
+      int x_52 = i;
+      int x_54 = x_7.x_GLF_uniform_int_values[1].el;
+      if ((x_52 != x_54)) {
+        return;
+      }
+      {
+        int x_58 = i;
+        i = (x_58 + 1);
+      }
+      continue;
+    }
+  }
+  float x_61 = tint_symbol.y;
+  float x_63 = x_9.x_GLF_uniform_float_values[0].el;
+  if ((x_61 < x_63)) {
+    return;
+  }
+  float x_68 = x_11.injectionSwitch.y;
+  x_GLF_color = vec4(1.0f, 1.0f, 1.0f, x_68);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.spvasm.expected.ir.glsl
index 1268749..766b4dd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,67 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::StoreVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_11;
+vec2 func_() {
+  vec2 v = vec2(0.0f);
+  int a = 0;
+  vec2 indexable[3] = vec2[3](vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  v[1u] = x_7.x_GLF_uniform_float_values[0].el;
+  a = 2;
+  int x_77 = a;
+  vec2 v_1 = vec2(x_7.x_GLF_uniform_float_values[1].el);
+  vec2 v_2 = vec2(x_7.x_GLF_uniform_float_values[1].el);
+  indexable = vec2[3](v_1, v_2, v);
+  vec2 x_79 = indexable[x_77];
+  return x_79;
+}
+void main_1() {
+  vec2 x_40 = func_();
+  if ((x_40[1u] == x_7.x_GLF_uniform_float_values[0].el)) {
+    float v_3 = float(x_11.x_GLF_uniform_int_values[0].el);
+    float v_4 = float(x_11.x_GLF_uniform_int_values[1].el);
+    float v_5 = float(x_11.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_3, v_4, v_5, float(x_11.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_11.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.wgsl.expected.ir.glsl
index 72ca17c..c1bec17 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-return-partly-undefined-vector-from-array/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,77 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_11;
+vec2 func_() {
+  vec2 v = vec2(0.0f);
+  int a = 0;
+  vec2 indexable[3] = vec2[3](vec2(0.0f), vec2(0.0f), vec2(0.0f));
+  float x_67 = x_7.x_GLF_uniform_float_values[0].el;
+  v[1u] = x_67;
+  a = 2;
+  float x_70 = x_7.x_GLF_uniform_float_values[1].el;
+  float x_73 = x_7.x_GLF_uniform_float_values[1].el;
+  vec2 x_75 = v;
+  int x_77 = a;
+  vec2 v_1 = vec2(x_70, x_70);
+  indexable = vec2[3](v_1, vec2(x_73, x_73), x_75);
+  vec2 x_79 = indexable[x_77];
+  return x_79;
+}
+void main_1() {
+  vec2 x_40 = func_();
+  float x_43 = x_7.x_GLF_uniform_float_values[0].el;
+  if ((x_40[1u] == x_43)) {
+    int x_49 = x_11.x_GLF_uniform_int_values[0].el;
+    int x_52 = x_11.x_GLF_uniform_int_values[1].el;
+    int x_55 = x_11.x_GLF_uniform_int_values[1].el;
+    int x_58 = x_11.x_GLF_uniform_int_values[0].el;
+    float v_2 = float(x_49);
+    float v_3 = float(x_52);
+    float v_4 = float(x_55);
+    x_GLF_color = vec4(v_2, v_3, v_4, float(x_58));
+  } else {
+    int x_62 = x_11.x_GLF_uniform_int_values[1].el;
+    float x_63 = float(x_62);
+    x_GLF_color = vec4(x_63, x_63, x_63, x_63);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.spvasm.expected.ir.glsl
index 72ca17c..d70a51e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,208 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[7];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float sums[2] = float[2](0.0f, 0.0f);
+  int a = 0;
+  int b = 0;
+  int c = 0;
+  int d = 0;
+  int e = 0;
+  int f = 0;
+  int g = 0;
+  int h = 0;
+  int i = 0;
+  int j = 0;
+  bool x_215 = false;
+  bool x_216 = false;
+  int x_20 = x_6.x_GLF_uniform_int_values[1].el;
+  sums[x_20] = x_8.x_GLF_uniform_float_values[0].el;
+  int x_22 = x_6.x_GLF_uniform_int_values[2].el;
+  sums[x_22] = x_8.x_GLF_uniform_float_values[0].el;
+  a = x_6.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((a < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      b = x_6.x_GLF_uniform_int_values[5].el;
+      {
+        while(true) {
+          if ((b < x_6.x_GLF_uniform_int_values[3].el)) {
+          } else {
+            break;
+          }
+          c = x_6.x_GLF_uniform_int_values[6].el;
+          {
+            while(true) {
+              if ((c <= x_6.x_GLF_uniform_int_values[4].el)) {
+              } else {
+                break;
+              }
+              d = x_6.x_GLF_uniform_int_values[1].el;
+              {
+                while(true) {
+                  if ((d < x_6.x_GLF_uniform_int_values[6].el)) {
+                  } else {
+                    break;
+                  }
+                  e = x_6.x_GLF_uniform_int_values[0].el;
+                  {
+                    while(true) {
+                      if ((e <= x_6.x_GLF_uniform_int_values[4].el)) {
+                      } else {
+                        break;
+                      }
+                      f = x_6.x_GLF_uniform_int_values[1].el;
+                      {
+                        while(true) {
+                          if ((f < x_6.x_GLF_uniform_int_values[0].el)) {
+                          } else {
+                            break;
+                          }
+                          g = x_6.x_GLF_uniform_int_values[1].el;
+                          {
+                            while(true) {
+                              if ((g < x_6.x_GLF_uniform_int_values[6].el)) {
+                              } else {
+                                break;
+                              }
+                              h = x_6.x_GLF_uniform_int_values[1].el;
+                              {
+                                while(true) {
+                                  if ((h < x_6.x_GLF_uniform_int_values[0].el)) {
+                                  } else {
+                                    break;
+                                  }
+                                  i = x_6.x_GLF_uniform_int_values[1].el;
+                                  {
+                                    while(true) {
+                                      if ((i < x_6.x_GLF_uniform_int_values[4].el)) {
+                                      } else {
+                                        break;
+                                      }
+                                      j = x_6.x_GLF_uniform_int_values[0].el;
+                                      {
+                                        while(true) {
+                                          if ((j > x_6.x_GLF_uniform_int_values[1].el)) {
+                                          } else {
+                                            break;
+                                          }
+                                          int x_53 = a;
+                                          sums[x_53] = (sums[a] + x_8.x_GLF_uniform_float_values[2].el);
+                                          {
+                                            j = (j - 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        i = (i + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    h = (h + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                g = (g + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            f = (f + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        e = (e + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    d = (d + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                c = (c + 1);
+              }
+              continue;
+            }
+          }
+          {
+            b = (b + 1);
+          }
+          continue;
+        }
+      }
+      {
+        a = (a + 1);
+      }
+      continue;
+    }
+  }
+  bool x_207 = (sums[x_6.x_GLF_uniform_int_values[1].el] == x_8.x_GLF_uniform_float_values[1].el);
+  x_216 = x_207;
+  if (x_207) {
+    x_215 = (sums[x_6.x_GLF_uniform_int_values[2].el] == x_8.x_GLF_uniform_float_values[1].el);
+    x_216 = x_215;
+  }
+  if (x_216) {
+    float v = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el));
+  } else {
+    x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.wgsl.expected.ir.glsl
index 72ca17c..0d5485a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops-array-access/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,265 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[7];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float sums[2] = float[2](0.0f, 0.0f);
+  int a = 0;
+  int b = 0;
+  int c = 0;
+  int d = 0;
+  int e = 0;
+  int f = 0;
+  int g = 0;
+  int h = 0;
+  int i = 0;
+  int j = 0;
+  bool x_215 = false;
+  bool x_216_phi = false;
+  int x_20 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_110 = x_8.x_GLF_uniform_float_values[0].el;
+  sums[x_20] = x_110;
+  int x_22 = x_6.x_GLF_uniform_int_values[2].el;
+  float x_114 = x_8.x_GLF_uniform_float_values[0].el;
+  sums[x_22] = x_114;
+  int x_23 = x_6.x_GLF_uniform_int_values[1].el;
+  a = x_23;
+  {
+    while(true) {
+      int x_24 = a;
+      int x_25 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_24 < x_25)) {
+      } else {
+        break;
+      }
+      int x_26 = x_6.x_GLF_uniform_int_values[5].el;
+      b = x_26;
+      {
+        while(true) {
+          int x_27 = b;
+          int x_28 = x_6.x_GLF_uniform_int_values[3].el;
+          if ((x_27 < x_28)) {
+          } else {
+            break;
+          }
+          int x_29 = x_6.x_GLF_uniform_int_values[6].el;
+          c = x_29;
+          {
+            while(true) {
+              int x_30 = c;
+              int x_31 = x_6.x_GLF_uniform_int_values[4].el;
+              if ((x_30 <= x_31)) {
+              } else {
+                break;
+              }
+              int x_32 = x_6.x_GLF_uniform_int_values[1].el;
+              d = x_32;
+              {
+                while(true) {
+                  int x_33 = d;
+                  int x_34 = x_6.x_GLF_uniform_int_values[6].el;
+                  if ((x_33 < x_34)) {
+                  } else {
+                    break;
+                  }
+                  int x_35 = x_6.x_GLF_uniform_int_values[0].el;
+                  e = x_35;
+                  {
+                    while(true) {
+                      int x_36 = e;
+                      int x_37 = x_6.x_GLF_uniform_int_values[4].el;
+                      if ((x_36 <= x_37)) {
+                      } else {
+                        break;
+                      }
+                      int x_38 = x_6.x_GLF_uniform_int_values[1].el;
+                      f = x_38;
+                      {
+                        while(true) {
+                          int x_39 = f;
+                          int x_40 = x_6.x_GLF_uniform_int_values[0].el;
+                          if ((x_39 < x_40)) {
+                          } else {
+                            break;
+                          }
+                          int x_41 = x_6.x_GLF_uniform_int_values[1].el;
+                          g = x_41;
+                          {
+                            while(true) {
+                              int x_42 = g;
+                              int x_43 = x_6.x_GLF_uniform_int_values[6].el;
+                              if ((x_42 < x_43)) {
+                              } else {
+                                break;
+                              }
+                              int x_44 = x_6.x_GLF_uniform_int_values[1].el;
+                              h = x_44;
+                              {
+                                while(true) {
+                                  int x_45 = h;
+                                  int x_46 = x_6.x_GLF_uniform_int_values[0].el;
+                                  if ((x_45 < x_46)) {
+                                  } else {
+                                    break;
+                                  }
+                                  int x_47 = x_6.x_GLF_uniform_int_values[1].el;
+                                  i = x_47;
+                                  {
+                                    while(true) {
+                                      int x_48 = i;
+                                      int x_49 = x_6.x_GLF_uniform_int_values[4].el;
+                                      if ((x_48 < x_49)) {
+                                      } else {
+                                        break;
+                                      }
+                                      int x_50 = x_6.x_GLF_uniform_int_values[0].el;
+                                      j = x_50;
+                                      {
+                                        while(true) {
+                                          int x_51 = j;
+                                          int x_52 = x_6.x_GLF_uniform_int_values[1].el;
+                                          if ((x_51 > x_52)) {
+                                          } else {
+                                            break;
+                                          }
+                                          int x_53 = a;
+                                          float x_197 = x_8.x_GLF_uniform_float_values[2].el;
+                                          float x_199 = sums[x_53];
+                                          sums[x_53] = (x_199 + x_197);
+                                          {
+                                            int x_54 = j;
+                                            j = (x_54 - 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        int x_56 = i;
+                                        i = (x_56 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    int x_58 = h;
+                                    h = (x_58 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              {
+                                int x_60 = g;
+                                g = (x_60 + 1);
+                              }
+                              continue;
+                            }
+                          }
+                          {
+                            int x_62 = f;
+                            f = (x_62 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        int x_64 = e;
+                        e = (x_64 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    int x_66 = d;
+                    d = (x_66 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                int x_68 = c;
+                c = (x_68 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            int x_70 = b;
+            b = (x_70 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_72 = a;
+        a = (x_72 + 1);
+      }
+      continue;
+    }
+  }
+  int x_74 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_204 = sums[x_74];
+  float x_206 = x_8.x_GLF_uniform_float_values[1].el;
+  bool x_207 = (x_204 == x_206);
+  x_216_phi = x_207;
+  if (x_207) {
+    int x_75 = x_6.x_GLF_uniform_int_values[2].el;
+    float x_212 = sums[x_75];
+    float x_214 = x_8.x_GLF_uniform_float_values[1].el;
+    x_215 = (x_212 == x_214);
+    x_216_phi = x_215;
+  }
+  bool x_216 = x_216_phi;
+  if (x_216) {
+    int x_76 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_77 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_78 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_79 = x_6.x_GLF_uniform_int_values[2].el;
+    float v = float(x_76);
+    float v_1 = float(x_77);
+    float v_2 = float(x_78);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_79));
+  } else {
+    int x_80 = x_6.x_GLF_uniform_int_values[1].el;
+    float x_230 = float(x_80);
+    x_GLF_color = vec4(x_230, x_230, x_230, x_230);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..104549e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,189 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i0 = 0;
+  int i1 = 0;
+  int i2 = 0;
+  int i3 = 0;
+  int i4 = 0;
+  int i5 = 0;
+  int i6 = 0;
+  int i7 = 0;
+  int i8_1 = 0;
+  int i9 = 0;
+  a = 0;
+  i0 = 0;
+  {
+    while(true) {
+      if ((i0 < x_7.one)) {
+      } else {
+        break;
+      }
+      i1 = 0;
+      {
+        while(true) {
+          if ((i1 < x_7.one)) {
+          } else {
+            break;
+          }
+          i2 = 0;
+          {
+            while(true) {
+              if ((i2 < x_7.one)) {
+              } else {
+                break;
+              }
+              i3 = 0;
+              {
+                while(true) {
+                  if ((i3 < (x_7.one + 2))) {
+                  } else {
+                    break;
+                  }
+                  i4 = 0;
+                  {
+                    while(true) {
+                      if ((i4 < x_7.one)) {
+                      } else {
+                        break;
+                      }
+                      i5 = 0;
+                      {
+                        while(true) {
+                          if ((i5 < x_7.one)) {
+                          } else {
+                            break;
+                          }
+                          {
+                            while(true) {
+                              if ((x_7.one > 0)) {
+                              } else {
+                                break;
+                              }
+                              i6 = 0;
+                              {
+                                while(true) {
+                                  if ((i6 < x_7.one)) {
+                                  } else {
+                                    break;
+                                  }
+                                  i7 = 0;
+                                  {
+                                    while(true) {
+                                      if ((i7 < x_7.one)) {
+                                      } else {
+                                        break;
+                                      }
+                                      i8_1 = 0;
+                                      {
+                                        while(true) {
+                                          if ((i8_1 < x_7.one)) {
+                                          } else {
+                                            break;
+                                          }
+                                          i9 = 0;
+                                          {
+                                            while(true) {
+                                              if ((i9 < x_7.one)) {
+                                              } else {
+                                                break;
+                                              }
+                                              a = (a + 1);
+                                              {
+                                                i9 = (i9 + 1);
+                                              }
+                                              continue;
+                                            }
+                                          }
+                                          {
+                                            i8_1 = (i8_1 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        i7 = (i7 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    i6 = (i6 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              break;
+                            }
+                          }
+                          {
+                            i5 = (i5 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        i4 = (i4 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    i3 = (i3 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                i2 = (i2 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            i1 = (i1 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i0 = (i0 + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == 3)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..e85a2a6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-scaled-number-nested-loops/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,222 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i0 = 0;
+  int i1 = 0;
+  int i2 = 0;
+  int i3 = 0;
+  int i4 = 0;
+  int i5 = 0;
+  int i6 = 0;
+  int i7 = 0;
+  int i8_1 = 0;
+  int i9 = 0;
+  a = 0;
+  i0 = 0;
+  {
+    while(true) {
+      int x_40 = i0;
+      int x_42 = x_7.one;
+      if ((x_40 < x_42)) {
+      } else {
+        break;
+      }
+      i1 = 0;
+      {
+        while(true) {
+          int x_49 = i1;
+          int x_51 = x_7.one;
+          if ((x_49 < x_51)) {
+          } else {
+            break;
+          }
+          i2 = 0;
+          {
+            while(true) {
+              int x_58 = i2;
+              int x_60 = x_7.one;
+              if ((x_58 < x_60)) {
+              } else {
+                break;
+              }
+              i3 = 0;
+              {
+                while(true) {
+                  int x_67 = i3;
+                  int x_69 = x_7.one;
+                  if ((x_67 < (x_69 + 2))) {
+                  } else {
+                    break;
+                  }
+                  i4 = 0;
+                  {
+                    while(true) {
+                      int x_77 = i4;
+                      int x_79 = x_7.one;
+                      if ((x_77 < x_79)) {
+                      } else {
+                        break;
+                      }
+                      i5 = 0;
+                      {
+                        while(true) {
+                          int x_86 = i5;
+                          int x_88 = x_7.one;
+                          if ((x_86 < x_88)) {
+                          } else {
+                            break;
+                          }
+                          {
+                            while(true) {
+                              int x_96 = x_7.one;
+                              if ((x_96 > 0)) {
+                              } else {
+                                break;
+                              }
+                              i6 = 0;
+                              {
+                                while(true) {
+                                  int x_103 = i6;
+                                  int x_105 = x_7.one;
+                                  if ((x_103 < x_105)) {
+                                  } else {
+                                    break;
+                                  }
+                                  i7 = 0;
+                                  {
+                                    while(true) {
+                                      int x_112 = i7;
+                                      int x_114 = x_7.one;
+                                      if ((x_112 < x_114)) {
+                                      } else {
+                                        break;
+                                      }
+                                      i8_1 = 0;
+                                      {
+                                        while(true) {
+                                          int x_121 = i8_1;
+                                          int x_123 = x_7.one;
+                                          if ((x_121 < x_123)) {
+                                          } else {
+                                            break;
+                                          }
+                                          i9 = 0;
+                                          {
+                                            while(true) {
+                                              int x_130 = i9;
+                                              int x_132 = x_7.one;
+                                              if ((x_130 < x_132)) {
+                                              } else {
+                                                break;
+                                              }
+                                              int x_135 = a;
+                                              a = (x_135 + 1);
+                                              {
+                                                int x_137 = i9;
+                                                i9 = (x_137 + 1);
+                                              }
+                                              continue;
+                                            }
+                                          }
+                                          {
+                                            int x_139 = i8_1;
+                                            i8_1 = (x_139 + 1);
+                                          }
+                                          continue;
+                                        }
+                                      }
+                                      {
+                                        int x_141 = i7;
+                                        i7 = (x_141 + 1);
+                                      }
+                                      continue;
+                                    }
+                                  }
+                                  {
+                                    int x_143 = i6;
+                                    i6 = (x_143 + 1);
+                                  }
+                                  continue;
+                                }
+                              }
+                              break;
+                            }
+                          }
+                          {
+                            int x_145 = i5;
+                            i5 = (x_145 + 1);
+                          }
+                          continue;
+                        }
+                      }
+                      {
+                        int x_147 = i4;
+                        i4 = (x_147 + 1);
+                      }
+                      continue;
+                    }
+                  }
+                  {
+                    int x_149 = i3;
+                    i3 = (x_149 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                int x_151 = i2;
+                i2 = (x_151 + 1);
+              }
+              continue;
+            }
+          }
+          {
+            int x_153 = i1;
+            i1 = (x_153 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_155 = i0;
+        i0 = (x_155 + 1);
+      }
+      continue;
+    }
+  }
+  int x_157 = a;
+  if ((x_157 == 3)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-schedule-dag-rrlist-mix-log-cos/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-schedule-dag-rrlist-mix-log-cos/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-schedule-dag-rrlist-mix-log-cos/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-schedule-dag-rrlist-mix-log-cos/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-schedule-dag-rrlist-mix-log-cos/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-schedule-dag-rrlist-mix-log-cos/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-schedule-dag-rrlist-mix-log-cos/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-schedule-dag-rrlist-mix-log-cos/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.spvasm.expected.ir.glsl
index 69f590c..dc42b48 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  vec4 v = vec4(0.0f);
+  float v_1 = float(x_5.x_GLF_uniform_int_values[0].el);
+  float v_2 = float(x_5.x_GLF_uniform_int_values[1].el);
+  float v_3 = float(x_5.x_GLF_uniform_int_values[1].el);
+  x_GLF_color = vec4(v_1, v_2, v_3, float(x_5.x_GLF_uniform_int_values[0].el));
+  v = x_GLF_color;
+  x_GLF_color = vec4(0.0f);
+  x_GLF_color = v;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1cc55ee 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-assign-back-and-forth/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  vec4 v = vec4(0.0f);
+  int x_25 = x_5.x_GLF_uniform_int_values[0].el;
+  int x_28 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_31 = x_5.x_GLF_uniform_int_values[1].el;
+  int x_34 = x_5.x_GLF_uniform_int_values[0].el;
+  float v_1 = float(x_25);
+  float v_2 = float(x_28);
+  float v_3 = float(x_31);
+  x_GLF_color = vec4(v_1, v_2, v_3, float(x_34));
+  vec4 x_37 = x_GLF_color;
+  v = x_37;
+  x_GLF_color = vec4(0.0f);
+  vec4 x_38 = v;
+  x_GLF_color = x_38;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..437a6b7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int c = 0;
+  int i = 0;
+  c = x_6.x_GLF_uniform_int_values[2].el;
+  i = x_6.x_GLF_uniform_int_values[2].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      c = ~(i);
+      c = min(max(c, 0), 3);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  if ((c == x_6.x_GLF_uniform_int_values[1].el)) {
+    float v = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2ec6c59 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-inverse-clamp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,76 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int c = 0;
+  int i = 0;
+  int x_27 = x_6.x_GLF_uniform_int_values[2].el;
+  c = x_27;
+  int x_29 = x_6.x_GLF_uniform_int_values[2].el;
+  i = x_29;
+  {
+    while(true) {
+      int x_34 = i;
+      int x_36 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_34 < x_36)) {
+      } else {
+        break;
+      }
+      int x_39 = i;
+      c = ~(x_39);
+      int x_41 = c;
+      c = min(max(x_41, 0), 3);
+      {
+        int x_43 = i;
+        i = (x_43 + 1);
+      }
+      continue;
+    }
+  }
+  int x_46 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_47 = float(x_46);
+  x_GLF_color = vec4(x_47, x_47, x_47, x_47);
+  int x_49 = c;
+  int x_51 = x_6.x_GLF_uniform_int_values[1].el;
+  if ((x_49 == x_51)) {
+    int x_56 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_59 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_62 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_65 = x_6.x_GLF_uniform_int_values[2].el;
+    float v = float(x_56);
+    float v_1 = float(x_59);
+    float v_2 = float(x_62);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_65));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.spvasm.expected.ir.glsl
index e1168e3..33ec202 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 v1;
+};
+
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_7;
+void main_1() {
+  if ((x_5.v1.x < x_5.v1.y)) {
+    float v = float(x_7.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_7.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_7.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_7.x_GLF_uniform_int_values[0].el));
+    if ((x_5.v1.x > x_5.v1.y)) {
+      x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el));
+    }
+    return;
+  } else {
+    x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..2391f36 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-lt-gt/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,65 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 v1;
+};
+
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_7;
+void main_1() {
+  float x_29 = x_5.v1.x;
+  float x_31 = x_5.v1.y;
+  if ((x_29 < x_31)) {
+    int x_37 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_40 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_43 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_46 = x_7.x_GLF_uniform_int_values[0].el;
+    float v = float(x_37);
+    float v_1 = float(x_40);
+    float v_2 = float(x_43);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_46));
+    float x_50 = x_5.v1.x;
+    float x_52 = x_5.v1.y;
+    if ((x_50 > x_52)) {
+      int x_57 = x_7.x_GLF_uniform_int_values[0].el;
+      float x_58 = float(x_57);
+      x_GLF_color = vec4(x_58, x_58, x_58, x_58);
+    }
+    return;
+  } else {
+    int x_61 = x_7.x_GLF_uniform_int_values[1].el;
+    float x_62 = float(x_61);
+    x_GLF_color = vec4(x_62, x_62, x_62, x_62);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..ea9cf52 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,46 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  bool x_29 = false;
+  bool x_30 = false;
+  x_GLF_color = vec4(0.0f);
+  bool x_24 = (x_5.one < 0.0f);
+  x_30 = x_24;
+  if (x_24) {
+    x_29 = (x_5.one < 0.0f);
+    x_30 = x_29;
+  }
+  if (x_30) {
+    x_GLF_color = vec4(1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..89869c1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-selection-dag-same-cond-twice/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,49 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  bool x_29 = false;
+  bool x_30_phi = false;
+  x_GLF_color = vec4(0.0f);
+  float x_23 = x_5.one;
+  bool x_24 = (x_23 < 0.0f);
+  x_30_phi = x_24;
+  if (x_24) {
+    float x_28 = x_5.one;
+    x_29 = (x_28 < 0.0f);
+    x_30_phi = x_29;
+  }
+  bool x_30 = x_30_phi;
+  if (x_30) {
+    x_GLF_color = vec4(1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-set-output-color-function-call-nested-loop/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-set-output-color-function-call-nested-loop/0.spvasm.expected.ir.glsl
index 72ca17c..6d893fb 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-set-output-color-function-call-nested-loop/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-set-output-color-function-call-nested-loop/0.spvasm.expected.ir.glsl
@@ -1,11 +1,114 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[6];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 x_33 = vec4(0.0f);
+  int x_36 = 0;
+  int x_38 = 0;
+  bool x_74 = false;
+  bool x_75 = false;
+  int x_29 = x_5.x_GLF_uniform_int_values[0].el;
+  int x_31 = x_5.x_GLF_uniform_int_values[1].el;
+  x_33 = vec4(0.0f);
+  x_36 = x_29;
+  x_38 = x_31;
+  {
+    while(true) {
+      vec4 x_53 = vec4(0.0f);
+      vec4 x_34 = vec4(0.0f);
+      int x_62 = 0;
+      int x_39 = 0;
+      int x_41 = x_5.x_GLF_uniform_int_values[4].el;
+      if ((x_38 < x_41)) {
+      } else {
+        break;
+      }
+      int x_56 = 0;
+      switch(0u) {
+        default:
+        {
+          if ((x_38 > x_5.x_GLF_uniform_int_values[3].el)) {
+            x_34 = x_33;
+            x_62 = 2;
+            break;
+          }
+          x_53 = x_33;
+          x_56 = x_29;
+          {
+            while(true) {
+              vec4 x_54 = vec4(0.0f);
+              int x_57 = 0;
+              if ((x_56 < x_41)) {
+              } else {
+                break;
+              }
+              {
+                x_54 = vec4(float((x_38 + x_56)));
+                x_57 = (x_56 + 1);
+                x_53 = x_54;
+                x_56 = x_57;
+              }
+              continue;
+            }
+          }
+          x_GLF_color = x_53;
+          x_34 = x_53;
+          x_62 = x_31;
+          break;
+        }
+      }
+      {
+        x_39 = (x_38 + 1);
+        x_33 = x_34;
+        x_36 = (x_36 + x_62);
+        x_38 = x_39;
+      }
+      continue;
+    }
+  }
+  vec4 v = x_GLF_color;
+  bool x_69 = all((v == vec4(float(x_5.x_GLF_uniform_int_values[2].el))));
+  x_75 = x_69;
+  if (x_69) {
+    x_74 = (x_36 == x_5.x_GLF_uniform_int_values[5].el);
+    x_75 = x_74;
+  }
+  if (x_75) {
+    float x_79 = float(x_31);
+    float x_80 = float(x_29);
+    x_GLF_color = vec4(x_79, x_80, x_80, x_79);
+  } else {
+    x_GLF_color = vec4(float(x_29));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-set-output-color-function-call-nested-loop/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-set-output-color-function-call-nested-loop/0.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-set-output-color-function-call-nested-loop/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-set-output-color-function-call-nested-loop/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-set-vector-cos-fragcoord/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-set-vector-cos-fragcoord/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-set-vector-cos-fragcoord/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-set-vector-cos-fragcoord/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-set-vector-cos-fragcoord/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-set-vector-cos-fragcoord/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-set-vector-cos-fragcoord/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-set-vector-cos-fragcoord/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1ffb718 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,88 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct S {
+  int arr[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+int func_struct_S_i1_2_1_i1_(inout S s, inout int x) {
+  s.arr[1] = (x + 1);
+  if ((s.arr[x_9.one] == x)) {
+    return -1;
+  }
+  int x_21 = x;
+  return x_21;
+}
+void main_1() {
+  int a = 0;
+  int i = 0;
+  int j = 0;
+  S s_1 = S(int[2](0, 0));
+  S param = S(int[2](0, 0));
+  int param_1 = 0;
+  a = 0;
+  i = 0;
+  {
+    while(true) {
+      if ((i < (2 + x_9.one))) {
+      } else {
+        break;
+      }
+      j = 0;
+      {
+        while(true) {
+          if ((j < (3 + x_9.one))) {
+          } else {
+            break;
+          }
+          int x_28 = i;
+          int x_29 = j;
+          param = s_1;
+          param_1 = (x_28 + x_29);
+          int x_31 = func_struct_S_i1_2_1_i1_(param, param_1);
+          a = (a + x_31);
+          {
+            j = (j + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == 30)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.wgsl.expected.ir.glsl
index 72ca17c..d582fc1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-unused-struct/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,101 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct S {
+  int arr[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+int func_struct_S_i1_2_1_i1_(inout S s, inout int x) {
+  int x_16 = x;
+  s.arr[1] = (x_16 + 1);
+  int x_18 = x_9.one;
+  int x_19 = s.arr[x_18];
+  int x_20 = x;
+  if ((x_19 == x_20)) {
+    return -1;
+  }
+  int x_21 = x;
+  return x_21;
+}
+void main_1() {
+  int a = 0;
+  int i = 0;
+  int j = 0;
+  S s_1 = S(int[2](0, 0));
+  S param = S(int[2](0, 0));
+  int param_1 = 0;
+  a = 0;
+  i = 0;
+  {
+    while(true) {
+      int x_22 = i;
+      int x_23 = x_9.one;
+      if ((x_22 < (2 + x_23))) {
+      } else {
+        break;
+      }
+      j = 0;
+      {
+        while(true) {
+          int x_25 = j;
+          int x_26 = x_9.one;
+          if ((x_25 < (3 + x_26))) {
+          } else {
+            break;
+          }
+          int x_28 = i;
+          int x_29 = j;
+          S x_79 = s_1;
+          param = x_79;
+          param_1 = (x_28 + x_29);
+          int x_31 = func_struct_S_i1_2_1_i1_(param, param_1);
+          int x_32 = a;
+          a = (x_32 + x_31);
+          {
+            int x_34 = j;
+            j = (x_34 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_36 = i;
+        i = (x_36 + 1);
+      }
+      continue;
+    }
+  }
+  int x_38 = a;
+  if ((x_38 == 30)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..9935b02 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,66 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct buf1 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+uniform buf1 x_9;
+void main_1() {
+  int i = 0;
+  vec4 v = vec4(0.0f);
+  x_GLF_color = vec4(0.0f);
+  i = 0;
+  {
+    while(true) {
+      if ((i < x_6.one)) {
+      } else {
+        break;
+      }
+      {
+        while(true) {
+          if ((x_6.one == 1)) {
+            x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+          }
+          {
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  v[1u] = float(x_9.zero);
+  x_GLF_color[1u] = v.y;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..0797c79 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplification-while-inside-for/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,72 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct buf1 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+uniform buf1 x_9;
+void main_1() {
+  int i = 0;
+  vec4 v = vec4(0.0f);
+  x_GLF_color = vec4(0.0f);
+  i = 0;
+  {
+    while(true) {
+      int x_38 = i;
+      int x_40 = x_6.one;
+      if ((x_38 < x_40)) {
+      } else {
+        break;
+      }
+      {
+        while(true) {
+          int x_48 = x_6.one;
+          if ((x_48 == 1)) {
+            x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+          }
+          {
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+      {
+        int x_52 = i;
+        i = (x_52 + 1);
+      }
+      continue;
+    }
+  }
+  int x_55 = x_9.zero;
+  v[1u] = float(x_55);
+  float x_59 = v.y;
+  x_GLF_color[1u] = x_59;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..0c2edf0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  ivec4 sequence;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  ivec4 a = ivec4(0);
+  int i = 0;
+  int sum = 0;
+  a = ivec4(0);
+  i = 0;
+  {
+    while(true) {
+      if ((i < (x_7.sequence.w + 1))) {
+      } else {
+        break;
+      }
+      int v = i;
+      if ((x_7.sequence[min(max(i, x_7.sequence.x), v)] == 1)) {
+        int x_57 = i;
+        a[x_57] = 5;
+      } else {
+        int x_59 = i;
+        a[x_59] = i;
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  sum = (((a.x + a.y) + a.z) + a.w);
+  if ((sum == 10)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..a039460 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-clamp-max-itself/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,75 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  ivec4 sequence;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  ivec4 a = ivec4(0);
+  int i = 0;
+  int sum = 0;
+  a = ivec4(0);
+  i = 0;
+  {
+    while(true) {
+      int x_40 = i;
+      int x_42 = x_7.sequence.w;
+      if ((x_40 < (x_42 + 1))) {
+      } else {
+        break;
+      }
+      int x_46 = i;
+      int x_48 = x_7.sequence.x;
+      int x_49 = i;
+      int x_52 = x_7.sequence[min(max(x_46, x_48), x_49)];
+      if ((x_52 == 1)) {
+        int x_57 = i;
+        a[x_57] = 5;
+      } else {
+        int x_59 = i;
+        int x_60 = i;
+        a[x_59] = x_60;
+      }
+      {
+        int x_62 = i;
+        i = (x_62 + 1);
+      }
+      continue;
+    }
+  }
+  int x_65 = a.x;
+  int x_67 = a.y;
+  int x_70 = a.z;
+  int x_73 = a.w;
+  sum = (((x_65 + x_67) + x_70) + x_73);
+  int x_75 = sum;
+  if ((x_75 == 10)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.spvasm.expected.ir.glsl
index 72ca17c..3baca57 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int v = x_6.x_GLF_uniform_int_values[0].el;
+  a = max(v, max(x_6.x_GLF_uniform_int_values[0].el, 1));
+  if ((a == x_6.x_GLF_uniform_int_values[0].el)) {
+    float v_1 = float(a);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_3 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(a));
+  } else {
+    x_GLF_color = vec4(float(a));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.wgsl.expected.ir.glsl
index 72ca17c..23e75c8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-combine-compares-max-max-one/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int x_24 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_26 = x_6.x_GLF_uniform_int_values[0].el;
+  a = max(x_24, max(x_26, 1));
+  int x_29 = a;
+  int x_31 = x_6.x_GLF_uniform_int_values[0].el;
+  if ((x_29 == x_31)) {
+    int x_36 = a;
+    int x_39 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_42 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_44 = a;
+    float v = float(x_36);
+    float v_1 = float(x_39);
+    float v_2 = float(x_42);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_44));
+  } else {
+    int x_47 = a;
+    float x_48 = float(x_47);
+    x_GLF_color = vec4(x_48, x_48, x_48, x_48);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-component-uniform-idx/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-component-uniform-idx/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-component-uniform-idx/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-component-uniform-idx/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-component-uniform-idx/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-component-uniform-idx/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-component-uniform-idx/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-component-uniform-idx/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-div-by-uint-one/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-div-by-uint-one/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-div-by-uint-one/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-div-by-uint-one/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-div-by-uint-one/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-div-by-uint-one/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-div-by-uint-one/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-div-by-uint-one/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4ece761 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = x_6.x_GLF_uniform_int_values[1].el;
+  i = -(x_6.x_GLF_uniform_int_values[0].el);
+  {
+    while(true) {
+      if (((i | x_6.x_GLF_uniform_int_values[0].el) < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      a = (i * x_6.x_GLF_uniform_int_values[0].el);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == -(x_6.x_GLF_uniform_int_values[0].el))) {
+    float v = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(a));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.wgsl.expected.ir.glsl
index 72ca17c..4828671 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-for-bitwise-condition/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,77 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int i = 0;
+  int x_25 = x_6.x_GLF_uniform_int_values[1].el;
+  a = x_25;
+  int x_27 = x_6.x_GLF_uniform_int_values[0].el;
+  i = -(x_27);
+  {
+    while(true) {
+      int x_33 = i;
+      int x_35 = x_6.x_GLF_uniform_int_values[0].el;
+      int x_38 = x_6.x_GLF_uniform_int_values[0].el;
+      if (((x_33 | x_35) < x_38)) {
+      } else {
+        break;
+      }
+      int x_41 = i;
+      int x_43 = x_6.x_GLF_uniform_int_values[0].el;
+      a = (x_41 * x_43);
+      {
+        int x_45 = i;
+        i = (x_45 + 1);
+      }
+      continue;
+    }
+  }
+  int x_47 = a;
+  int x_49 = x_6.x_GLF_uniform_int_values[0].el;
+  if ((x_47 == -(x_49))) {
+    int x_56 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_59 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_62 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_65 = x_6.x_GLF_uniform_int_values[0].el;
+    float v = float(x_56);
+    float v_1 = float(x_59);
+    float v_2 = float(x_62);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_65));
+  } else {
+    int x_68 = a;
+    float x_69 = float(x_68);
+    x_GLF_color = vec4(x_69, x_69, x_69, x_69);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..9d43cf9 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,39 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  f = ldexp(x_6.three, 0);
+  if ((f == 3.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.wgsl.expected.ir.glsl
index 72ca17c..006398f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-ldexp-exponent-zero/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float f = 0.0f;
+  float x_25 = x_6.three;
+  f = ldexp(x_25, 0);
+  float x_27 = f;
+  if ((x_27 == 3.0f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..e81ffde 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,88 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int A[4] = int[4](0, 0, 0, 0);
+  bool x_77 = false;
+  bool x_78 = false;
+  bool x_87 = false;
+  bool x_88 = false;
+  bool x_97 = false;
+  bool x_98 = false;
+  i = x_6.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[4].el)) {
+      } else {
+        break;
+      }
+      int x_43 = i;
+      A[x_43] = x_6.x_GLF_uniform_int_values[0].el;
+      int v = max((2 * i), (2 * x_6.x_GLF_uniform_int_values[3].el));
+      if ((v == x_6.x_GLF_uniform_int_values[1].el)) {
+        int x_58 = i;
+        A[x_58] = 1;
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  bool x_68 = (A[x_6.x_GLF_uniform_int_values[0].el] == x_6.x_GLF_uniform_int_values[3].el);
+  x_78 = x_68;
+  if (x_68) {
+    x_77 = (A[x_6.x_GLF_uniform_int_values[3].el] == x_6.x_GLF_uniform_int_values[3].el);
+    x_78 = x_77;
+  }
+  x_88 = x_78;
+  if (x_78) {
+    x_87 = (A[x_6.x_GLF_uniform_int_values[1].el] == x_6.x_GLF_uniform_int_values[0].el);
+    x_88 = x_87;
+  }
+  x_98 = x_88;
+  if (x_88) {
+    x_97 = (A[x_6.x_GLF_uniform_int_values[2].el] == x_6.x_GLF_uniform_int_values[0].el);
+    x_98 = x_97;
+  }
+  if (x_98) {
+    float v_1 = float(x_6.x_GLF_uniform_int_values[3].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[0].el);
+    float v_3 = float(x_6.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v_1, v_2, v_3, float(x_6.x_GLF_uniform_int_values[3].el));
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2589d77 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-max-multiplied-values/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,114 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int A[4] = int[4](0, 0, 0, 0);
+  bool x_77 = false;
+  bool x_87 = false;
+  bool x_97 = false;
+  bool x_78_phi = false;
+  bool x_88_phi = false;
+  bool x_98_phi = false;
+  int x_33 = x_6.x_GLF_uniform_int_values[0].el;
+  i = x_33;
+  {
+    while(true) {
+      int x_38 = i;
+      int x_40 = x_6.x_GLF_uniform_int_values[4].el;
+      if ((x_38 < x_40)) {
+      } else {
+        break;
+      }
+      int x_43 = i;
+      int x_45 = x_6.x_GLF_uniform_int_values[0].el;
+      A[x_43] = x_45;
+      int x_47 = i;
+      int x_50 = x_6.x_GLF_uniform_int_values[3].el;
+      int x_54 = x_6.x_GLF_uniform_int_values[1].el;
+      if ((max((2 * x_47), (2 * x_50)) == x_54)) {
+        int x_58 = i;
+        A[x_58] = 1;
+      }
+      {
+        int x_60 = i;
+        i = (x_60 + 1);
+      }
+      continue;
+    }
+  }
+  int x_63 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_65 = A[x_63];
+  int x_67 = x_6.x_GLF_uniform_int_values[3].el;
+  bool x_68 = (x_65 == x_67);
+  x_78_phi = x_68;
+  if (x_68) {
+    int x_72 = x_6.x_GLF_uniform_int_values[3].el;
+    int x_74 = A[x_72];
+    int x_76 = x_6.x_GLF_uniform_int_values[3].el;
+    x_77 = (x_74 == x_76);
+    x_78_phi = x_77;
+  }
+  bool x_78 = x_78_phi;
+  x_88_phi = x_78;
+  if (x_78) {
+    int x_82 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_84 = A[x_82];
+    int x_86 = x_6.x_GLF_uniform_int_values[0].el;
+    x_87 = (x_84 == x_86);
+    x_88_phi = x_87;
+  }
+  bool x_88 = x_88_phi;
+  x_98_phi = x_88;
+  if (x_88) {
+    int x_92 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_94 = A[x_92];
+    int x_96 = x_6.x_GLF_uniform_int_values[0].el;
+    x_97 = (x_94 == x_96);
+    x_98_phi = x_97;
+  }
+  bool x_98 = x_98_phi;
+  if (x_98) {
+    int x_103 = x_6.x_GLF_uniform_int_values[3].el;
+    int x_106 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_109 = x_6.x_GLF_uniform_int_values[0].el;
+    int x_112 = x_6.x_GLF_uniform_int_values[3].el;
+    float v = float(x_103);
+    float v_1 = float(x_106);
+    float v_2 = float(x_109);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_112));
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.spvasm.expected.ir.glsl
index 72ca17c..b114721 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_8;
+void main_1() {
+  float a = 0.0f;
+  float x_30 = x_6.x_GLF_uniform_float_values[0].el;
+  a = (x_30 - (1.0f * floor((x_30 / 1.0f))));
+  if ((a == x_6.x_GLF_uniform_float_values[0].el)) {
+    float v = float(x_8.x_GLF_uniform_int_values[0].el);
+    float v_1 = a;
+    float v_2 = a;
+    x_GLF_color = vec4(v, v_1, v_2, float(x_8.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(a);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.ir.glsl
index 72ca17c..b56ffb3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-modulo-1/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_8;
+void main_1() {
+  float a = 0.0f;
+  float x_30 = x_6.x_GLF_uniform_float_values[0].el;
+  a = (x_30 - (1.0f * floor((x_30 / 1.0f))));
+  float x_32 = a;
+  float x_34 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_32 == x_34)) {
+    int x_40 = x_8.x_GLF_uniform_int_values[0].el;
+    float x_42 = a;
+    float x_43 = a;
+    int x_45 = x_8.x_GLF_uniform_int_values[0].el;
+    float v = float(x_40);
+    x_GLF_color = vec4(v, x_42, x_43, float(x_45));
+  } else {
+    float x_48 = a;
+    x_GLF_color = vec4(x_48, x_48, x_48, x_48);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..13caa40 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,46 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  vec4 res = vec4(0.0f);
+  v = vec4(8.3999996185302734375f, -864.66497802734375f, 945.41998291015625f, 1.0f);
+  float x_31 = x_7.one;
+  vec4 v_1 = vec4(x_31, 0.0f, 0.0f, 0.0f);
+  vec4 v_2 = vec4(0.0f, x_31, 0.0f, 0.0f);
+  vec4 v_3 = vec4(0.0f, 0.0f, x_31, 0.0f);
+  mat4 v_4 = mat4(v_1, v_2, v_3, vec4(0.0f, 0.0f, 0.0f, x_31));
+  res = (v_4 * v);
+  if ((distance(v, res) < 0.00999999977648258209f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..c8a4370 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-mul-identity/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 v = vec4(0.0f);
+  vec4 res = vec4(0.0f);
+  v = vec4(8.3999996185302734375f, -864.66497802734375f, 945.41998291015625f, 1.0f);
+  float x_31 = x_7.one;
+  vec4 x_37 = v;
+  vec4 v_1 = vec4(x_31, 0.0f, 0.0f, 0.0f);
+  vec4 v_2 = vec4(0.0f, x_31, 0.0f, 0.0f);
+  vec4 v_3 = vec4(0.0f, 0.0f, x_31, 0.0f);
+  res = (mat4(v_1, v_2, v_3, vec4(0.0f, 0.0f, 0.0f, x_31)) * x_37);
+  vec4 x_39 = v;
+  vec4 x_40 = res;
+  if ((distance(x_39, x_40) < 0.00999999977648258209f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.spvasm.expected.ir.glsl
index ae9b6d0..0439b55 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_36 = false;
+  bool x_37 = false;
+  bool x_30 = (x_6.three > 1);
+  x_37 = x_30;
+  if (x_30) {
+    x_36 = !((tint_symbol.y < -5.0f));
+    x_37 = x_36;
+  }
+  if (x_37) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.wgsl.expected.ir.glsl
index 72ca17c..4d30c64 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-not-less-than-neg/0.wgsl.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int three;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_36 = false;
+  bool x_37_phi = false;
+  int x_29 = x_6.three;
+  bool x_30 = (x_29 > 1);
+  x_37_phi = x_30;
+  if (x_30) {
+    float x_34 = tint_symbol.y;
+    x_36 = !((x_34 < -5.0f));
+    x_37_phi = x_36;
+  }
+  bool x_37 = x_37_phi;
+  if (x_37) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-right-shift-greater-than-zero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-right-shift-greater-than-zero/0-opt.spvasm.expected.ir.glsl
index e1168e3..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-right-shift-greater-than-zero/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-right-shift-greater-than-zero/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-right-shift-greater-than-zero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-right-shift-greater-than-zero/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-right-shift-greater-than-zero/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-right-shift-greater-than-zero/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.spvasm.expected.ir.glsl
index d4bb1c9..4788b68 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.spvasm.expected.ir.glsl
@@ -1,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_31 = false;
+  bool x_32 = false;
+  bool x_26 = true;
+  x_32 = x_26;
+  if (!(x_26)) {
+    x_31 = (x_5.one == 1);
+    x_32 = x_31;
+  }
+  if (x_32) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.wgsl.expected.ir.glsl
index d4bb1c9..9398b66 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-simplify-sign-cosh/0.wgsl.expected.ir.glsl
@@ -1,11 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_31 = false;
+  bool x_32_phi = false;
+  bool x_26 = true;
+  x_32_phi = x_26;
+  if (!(x_26)) {
+    int x_6 = x_5.one;
+    x_31 = (x_6 == 1);
+    x_32_phi = x_31;
+  }
+  bool x_32 = x_32_phi;
+  if (x_32) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.spvasm.expected.ir.glsl
index ae9b6d0..2b6f287 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,80 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+int f1_vf2_(inout vec2 v1) {
+  bool x_99 = false;
+  bool x_100 = false;
+  bool x_92 = (v1.x == x_7.x_GLF_uniform_float_values[0].el);
+  x_100 = x_92;
+  if (x_92) {
+    x_99 = (v1.y == x_7.x_GLF_uniform_float_values[1].el);
+    x_100 = x_99;
+  }
+  if (x_100) {
+    int x_104 = x_9.x_GLF_uniform_int_values[1].el;
+    return x_104;
+  }
+  int x_106 = x_9.x_GLF_uniform_int_values[0].el;
+  return x_106;
+}
+void main_1() {
+  mat2 m1 = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 m2 = mat2(vec2(0.0f), vec2(0.0f));
+  vec2 v1_1 = vec2(0.0f);
+  int a = 0;
+  vec2 param = vec2(0.0f);
+  vec2 v = vec2(x_7.x_GLF_uniform_float_values[0].el, -(x_7.x_GLF_uniform_float_values[1].el));
+  float v_1 = x_7.x_GLF_uniform_float_values[1].el;
+  m1 = mat2(v, vec2(v_1, sin(x_7.x_GLF_uniform_float_values[1].el)));
+  m2 = (m1 * m1);
+  vec2 v_2 = vec2(x_7.x_GLF_uniform_float_values[0].el);
+  v1_1 = (v_2 * m2);
+  param = v1_1;
+  int x_66 = f1_vf2_(param);
+  a = x_66;
+  if ((a == x_9.x_GLF_uniform_int_values[1].el)) {
+    x_GLF_color = vec4(x_7.x_GLF_uniform_float_values[0].el, x_7.x_GLF_uniform_float_values[1].el, x_7.x_GLF_uniform_float_values[1].el, x_7.x_GLF_uniform_float_values[0].el);
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..8b1cf09 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-sin-mul-mat-mat-mul-vec-mat/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,100 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+uniform buf1 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+int f1_vf2_(inout vec2 v1) {
+  bool x_99 = false;
+  bool x_100_phi = false;
+  float x_89 = v1.x;
+  float x_91 = x_7.x_GLF_uniform_float_values[0].el;
+  bool x_92 = (x_89 == x_91);
+  x_100_phi = x_92;
+  if (x_92) {
+    float x_96 = v1.y;
+    float x_98 = x_7.x_GLF_uniform_float_values[1].el;
+    x_99 = (x_96 == x_98);
+    x_100_phi = x_99;
+  }
+  bool x_100 = x_100_phi;
+  if (x_100) {
+    int x_104 = x_9.x_GLF_uniform_int_values[1].el;
+    return x_104;
+  }
+  int x_106 = x_9.x_GLF_uniform_int_values[0].el;
+  return x_106;
+}
+void main_1() {
+  mat2 m1 = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 m2 = mat2(vec2(0.0f), vec2(0.0f));
+  vec2 v1_1 = vec2(0.0f);
+  int a = 0;
+  vec2 param = vec2(0.0f);
+  float x_45 = x_7.x_GLF_uniform_float_values[0].el;
+  float x_47 = x_7.x_GLF_uniform_float_values[1].el;
+  float x_50 = x_7.x_GLF_uniform_float_values[1].el;
+  float x_52 = x_7.x_GLF_uniform_float_values[1].el;
+  vec2 v = vec2(x_45, -(x_47));
+  m1 = mat2(v, vec2(x_50, sin(x_52)));
+  mat2 x_57 = m1;
+  mat2 x_58 = m1;
+  m2 = (x_57 * x_58);
+  float x_61 = x_7.x_GLF_uniform_float_values[0].el;
+  mat2 x_63 = m2;
+  v1_1 = (vec2(x_61, x_61) * x_63);
+  vec2 x_65 = v1_1;
+  param = x_65;
+  int x_66 = f1_vf2_(param);
+  a = x_66;
+  int x_67 = a;
+  int x_69 = x_9.x_GLF_uniform_int_values[1].el;
+  if ((x_67 == x_69)) {
+    float x_75 = x_7.x_GLF_uniform_float_values[0].el;
+    float x_77 = x_7.x_GLF_uniform_float_values[1].el;
+    float x_79 = x_7.x_GLF_uniform_float_values[1].el;
+    float x_81 = x_7.x_GLF_uniform_float_values[0].el;
+    x_GLF_color = vec4(x_75, x_77, x_79, x_81);
+  } else {
+    int x_84 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_85 = float(x_84);
+    x_GLF_color = vec4(x_85, x_85, x_85, x_85);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-single-block-elim-self-assign/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-single-block-elim-self-assign/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-single-block-elim-self-assign/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-single-block-elim-self-assign/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-single-block-elim-self-assign/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-single-block-elim-self-assign/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-single-block-elim-self-assign/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-single-block-elim-self-assign/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..d642d52 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,68 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v1 = vec2(0.0f);
+  ivec2 v2 = ivec2(0);
+  vec2 v3 = vec2(0.0f);
+  bool x_66 = false;
+  bool x_67 = false;
+  v1 = sinh(vec2(x_6.x_GLF_uniform_float_values[2].el, x_6.x_GLF_uniform_float_values[3].el));
+  v2 = ivec2(x_9.x_GLF_uniform_int_values[0].el, -3000);
+  v3 = ldexp(v1, v2);
+  x_GLF_color = vec4(v3.y);
+  bool x_59 = (v3.x > x_6.x_GLF_uniform_float_values[0].el);
+  x_67 = x_59;
+  if (x_59) {
+    x_66 = (v3.x < x_6.x_GLF_uniform_float_values[1].el);
+    x_67 = x_66;
+  }
+  if (x_67) {
+    float v = float(x_9.x_GLF_uniform_int_values[0].el);
+    float v_1 = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_9.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_9.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.wgsl.expected.ir.glsl
index 72ca17c..123c96f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-sinh-ldexp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,85 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[4];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v1 = vec2(0.0f);
+  ivec2 v2 = ivec2(0);
+  vec2 v3 = vec2(0.0f);
+  bool x_66 = false;
+  bool x_67_phi = false;
+  float x_41 = x_6.x_GLF_uniform_float_values[2].el;
+  float x_43 = x_6.x_GLF_uniform_float_values[3].el;
+  v1 = sinh(vec2(x_41, x_43));
+  int x_47 = x_9.x_GLF_uniform_int_values[0].el;
+  v2 = ivec2(x_47, -3000);
+  vec2 x_49 = v1;
+  ivec2 x_50 = v2;
+  v3 = ldexp(x_49, x_50);
+  float x_53 = v3.y;
+  x_GLF_color = vec4(x_53, x_53, x_53, x_53);
+  float x_56 = v3.x;
+  float x_58 = x_6.x_GLF_uniform_float_values[0].el;
+  bool x_59 = (x_56 > x_58);
+  x_67_phi = x_59;
+  if (x_59) {
+    float x_63 = v3.x;
+    float x_65 = x_6.x_GLF_uniform_float_values[1].el;
+    x_66 = (x_63 < x_65);
+    x_67_phi = x_66;
+  }
+  bool x_67 = x_67_phi;
+  if (x_67) {
+    int x_72 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_75 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_78 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_81 = x_9.x_GLF_uniform_int_values[0].el;
+    float v = float(x_72);
+    float v_1 = float(x_75);
+    float v_2 = float(x_78);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_81));
+  } else {
+    int x_85 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_86 = float(x_85);
+    x_GLF_color = vec4(x_86, x_86, x_86, x_86);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..c3a1318 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v1 = vec2(0.0f);
+  vec2 v2 = vec2(0.0f);
+  v1 = vec2(1.0f, -1.0f);
+  v2 = step(vec2(0.40000000596046447754f), sinh(v1));
+  x_GLF_color = vec4(v2.x, v2.y, v2.y, v2.x);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..8a35d33 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-step-sinh/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v1 = vec2(0.0f);
+  vec2 v2 = vec2(0.0f);
+  v1 = vec2(1.0f, -1.0f);
+  vec2 x_22 = v1;
+  v2 = step(vec2(0.40000000596046447754f), sinh(x_22));
+  float x_27 = v2.x;
+  float x_29 = v2.y;
+  float x_31 = v2.y;
+  float x_33 = v2.x;
+  x_GLF_color = vec4(x_27, x_29, x_31, x_33);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-struct-float-array-mix-uniform-vectors/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-struct-float-array-mix-uniform-vectors/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-struct-float-array-mix-uniform-vectors/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-struct-float-array-mix-uniform-vectors/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-struct-float-array-mix-uniform-vectors/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-struct-float-array-mix-uniform-vectors/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-struct-float-array-mix-uniform-vectors/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-struct-float-array-mix-uniform-vectors/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.spvasm.expected.ir.glsl
index ae9b6d0..c492913 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,63 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct buf2 {
+  vec2 resolution;
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf2 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_10;
+void main_1() {
+  float f = 0.0f;
+  float v = (x_6.x_GLF_uniform_float_values[1].el * x_8.resolution.x);
+  float v_1 = x_6.x_GLF_uniform_float_values[2].el;
+  float v_2 = (v + (v_1 * round(x_8.resolution.x)));
+  f = (v_2 + x_8.resolution.y);
+  if ((f == x_6.x_GLF_uniform_float_values[0].el)) {
+    float v_3 = float(x_10.x_GLF_uniform_int_values[0].el);
+    float v_4 = float(x_10.x_GLF_uniform_int_values[1].el);
+    float v_5 = float(x_10.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v_3, v_4, v_5, float(x_10.x_GLF_uniform_int_values[0].el));
+  } else {
+    x_GLF_color = vec4(float(x_10.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.wgsl.expected.ir.glsl
index 72ca17c..e8caf2e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-sum-uniform-vector-components-round/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,73 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct buf2 {
+  vec2 resolution;
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf2 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_10;
+void main_1() {
+  float f = 0.0f;
+  float x_37 = x_6.x_GLF_uniform_float_values[1].el;
+  float x_39 = x_8.resolution.x;
+  float x_42 = x_6.x_GLF_uniform_float_values[2].el;
+  float x_44 = x_8.resolution.x;
+  float x_49 = x_8.resolution.y;
+  f = (((x_37 * x_39) + (x_42 * round(x_44))) + x_49);
+  float x_51 = f;
+  float x_53 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_51 == x_53)) {
+    int x_59 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_62 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_65 = x_10.x_GLF_uniform_int_values[1].el;
+    int x_68 = x_10.x_GLF_uniform_int_values[0].el;
+    float v = float(x_59);
+    float v_1 = float(x_62);
+    float v_2 = float(x_65);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_68));
+  } else {
+    int x_72 = x_10.x_GLF_uniform_int_values[1].el;
+    float x_73 = float(x_72);
+    x_GLF_color = vec4(x_73, x_73, x_73, x_73);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..5a6ed83 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,111 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+uniform buf1 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 color = vec4(0.0f);
+  int i = 0;
+  int j = 0;
+  int k = 0;
+  color = vec4(1.0f);
+  i = x_7.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      if ((i < x_7.x_GLF_uniform_int_values[1].el)) {
+      } else {
+        break;
+      }
+      int x_47 = i;
+      switch(x_47) {
+        case 2:
+        {
+          int x_83 = i;
+          color[x_83] = x_11.x_GLF_uniform_float_values[0].el;
+          break;
+        }
+        case 1:
+        {
+          j = x_7.x_GLF_uniform_int_values[0].el;
+          {
+            while(true) {
+              if ((i > i)) {
+              } else {
+                break;
+              }
+              k = x_7.x_GLF_uniform_int_values[0].el;
+              {
+                while(true) {
+                  if ((k < i)) {
+                  } else {
+                    break;
+                  }
+                  int x_71 = k;
+                  color[x_71] = x_11.x_GLF_uniform_float_values[0].el;
+                  {
+                    k = (k + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                j = (j + 1);
+              }
+              continue;
+            }
+          }
+          int x_79 = i;
+          color[x_79] = x_11.x_GLF_uniform_float_values[0].el;
+          break;
+        }
+        default:
+        {
+          break;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = color;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..02fd492 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-for-for-for/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,127 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct strided_arr_1 {
+  float el;
+};
+
+struct buf1 {
+  strided_arr_1 x_GLF_uniform_float_values[1];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+uniform buf1 x_11;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 color = vec4(0.0f);
+  int i = 0;
+  int j = 0;
+  int k = 0;
+  color = vec4(1.0f);
+  int x_37 = x_7.x_GLF_uniform_int_values[0].el;
+  i = x_37;
+  {
+    while(true) {
+      int x_42 = i;
+      int x_44 = x_7.x_GLF_uniform_int_values[1].el;
+      if ((x_42 < x_44)) {
+      } else {
+        break;
+      }
+      int x_47 = i;
+      switch(x_47) {
+        case 2:
+        {
+          int x_83 = i;
+          float x_85 = x_11.x_GLF_uniform_float_values[0].el;
+          color[x_83] = x_85;
+          break;
+        }
+        case 1:
+        {
+          int x_52 = x_7.x_GLF_uniform_int_values[0].el;
+          j = x_52;
+          {
+            while(true) {
+              int x_57 = i;
+              int x_58 = i;
+              if ((x_57 > x_58)) {
+              } else {
+                break;
+              }
+              int x_62 = x_7.x_GLF_uniform_int_values[0].el;
+              k = x_62;
+              {
+                while(true) {
+                  int x_67 = k;
+                  int x_68 = i;
+                  if ((x_67 < x_68)) {
+                  } else {
+                    break;
+                  }
+                  int x_71 = k;
+                  float x_73 = x_11.x_GLF_uniform_float_values[0].el;
+                  color[x_71] = x_73;
+                  {
+                    int x_75 = k;
+                    k = (x_75 + 1);
+                  }
+                  continue;
+                }
+              }
+              {
+                int x_77 = j;
+                j = (x_77 + 1);
+              }
+              continue;
+            }
+          }
+          int x_79 = i;
+          float x_81 = x_11.x_GLF_uniform_float_values[0].el;
+          color[x_79] = x_81;
+          break;
+        }
+        default:
+        {
+          break;
+        }
+      }
+      {
+        int x_87 = i;
+        i = (x_87 + 1);
+      }
+      continue;
+    }
+  }
+  vec4 x_89 = color;
+  x_GLF_color = x_89;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..0ef0134 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,97 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct buf2 {
+  float zero;
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_5;
+uniform buf2 x_7;
+uniform buf0 x_10;
+void main_1() {
+  int i = 0;
+  x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[0].el);
+  if ((x_7.zero > x_5.x_GLF_uniform_float_values[0].el)) {
+    {
+      while(true) {
+        x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[1].el);
+        {
+          if (false) { break; }
+        }
+        continue;
+      }
+    }
+  } else {
+    {
+      while(true) {
+        {
+          while(true) {
+            if (true) {
+            } else {
+              break;
+            }
+            i = x_10.x_GLF_uniform_int_values[1].el;
+            {
+              while(true) {
+                if ((i < x_10.x_GLF_uniform_int_values[0].el)) {
+                } else {
+                  break;
+                }
+                x_GLF_color = vec4(x_5.x_GLF_uniform_float_values[1].el, x_5.x_GLF_uniform_float_values[0].el, x_5.x_GLF_uniform_float_values[0].el, x_5.x_GLF_uniform_float_values[1].el);
+                {
+                  i = (i + 1);
+                }
+                continue;
+              }
+            }
+            break;
+          }
+        }
+        {
+          float x_82 = x_7.zero;
+          float x_84 = x_5.x_GLF_uniform_float_values[0].el;
+          if (!((x_82 > x_84))) { break; }
+        }
+        continue;
+      }
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.wgsl.expected.ir.glsl
index 72ca17c..a59eb4a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-tail-duplicator-infinite-loops/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,109 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[2];
+};
+
+struct buf2 {
+  float zero;
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[2];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf1 x_5;
+uniform buf2 x_7;
+uniform buf0 x_10;
+void main_1() {
+  int i = 0;
+  float x_38 = x_5.x_GLF_uniform_float_values[0].el;
+  x_GLF_color = vec4(x_38, x_38, x_38, x_38);
+  float x_41 = x_7.zero;
+  float x_43 = x_5.x_GLF_uniform_float_values[0].el;
+  if ((x_41 > x_43)) {
+    {
+      while(true) {
+        float x_53 = x_5.x_GLF_uniform_float_values[1].el;
+        x_GLF_color = vec4(x_53, x_53, x_53, x_53);
+        {
+          if (false) { break; }
+        }
+        continue;
+      }
+    }
+  } else {
+    {
+      while(true) {
+        {
+          while(true) {
+            if (true) {
+            } else {
+              break;
+            }
+            int x_13 = x_10.x_GLF_uniform_int_values[1].el;
+            i = x_13;
+            {
+              while(true) {
+                int x_14 = i;
+                int x_15 = x_10.x_GLF_uniform_int_values[0].el;
+                if ((x_14 < x_15)) {
+                } else {
+                  break;
+                }
+                float x_73 = x_5.x_GLF_uniform_float_values[1].el;
+                float x_75 = x_5.x_GLF_uniform_float_values[0].el;
+                float x_77 = x_5.x_GLF_uniform_float_values[0].el;
+                float x_79 = x_5.x_GLF_uniform_float_values[1].el;
+                x_GLF_color = vec4(x_73, x_75, x_77, x_79);
+                {
+                  int x_16 = i;
+                  i = (x_16 + 1);
+                }
+                continue;
+              }
+            }
+            break;
+          }
+        }
+        {
+          float x_82 = x_7.zero;
+          float x_84 = x_5.x_GLF_uniform_float_values[0].el;
+          if (!((x_82 > x_84))) { break; }
+        }
+        continue;
+      }
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.spvasm.expected.ir.glsl
index 4a20bc7..ca162d0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float two;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  float b = 0.0f;
+  float x_33 = tint_symbol.x;
+  a = dFdx(cos(x_33));
+  b = mix(2.0f, x_8.two, a);
+  if (((b >= 1.89999997615814208984f) & (b <= 2.09999990463256835938f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..2c51327 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-dfdx-cos/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float two;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float a = 0.0f;
+  float b = 0.0f;
+  float x_33 = tint_symbol.x;
+  a = dFdx(cos(x_33));
+  float x_37 = x_8.two;
+  float x_38 = a;
+  b = mix(2.0f, x_37, x_38);
+  float x_40 = b;
+  float x_42 = b;
+  if (((x_40 >= 1.89999997615814208984f) & (x_42 <= 2.09999990463256835938f))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.spvasm.expected.ir.glsl
index 0480431..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl.expected.ir.glsl
index 0480431..76b6ac7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-target-lowering-inst-combine-compares-struct-array-clamp-function-cal/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,189 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 v1;
+};
+
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[5];
+};
+
+struct S {
+  int data;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_8;
+uniform buf0 x_10;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void func_struct_S_i11_(inout S s) {
+  {
+    while(true) {
+      float x_174 = x_8.v1.x;
+      float x_176 = x_8.v1.y;
+      if ((x_174 > x_176)) {
+      } else {
+        break;
+      }
+      return;
+    }
+  }
+  int x_180 = x_10.x_GLF_uniform_int_values[0].el;
+  s.data = x_180;
+}
+void main_1() {
+  int i = 0;
+  S arr[3] = S[3](S(0), S(0), S(0));
+  int i_1 = 0;
+  S param = S(0);
+  int j = 0;
+  bool x_136 = false;
+  bool x_146 = false;
+  bool x_137_phi = false;
+  bool x_147_phi = false;
+  int x_46 = x_10.x_GLF_uniform_int_values[2].el;
+  i = x_46;
+  {
+    while(true) {
+      int x_51 = i;
+      int x_53 = x_10.x_GLF_uniform_int_values[1].el;
+      if ((x_51 < x_53)) {
+      } else {
+        break;
+      }
+      int x_56 = i;
+      int x_57 = i;
+      arr[x_56].data = x_57;
+      {
+        int x_59 = i;
+        i = (x_59 + 1);
+      }
+      continue;
+    }
+  }
+  int x_62 = x_10.x_GLF_uniform_int_values[2].el;
+  i_1 = x_62;
+  {
+    while(true) {
+      int x_67 = i_1;
+      int x_69 = x_10.x_GLF_uniform_int_values[1].el;
+      if ((x_67 < x_69)) {
+      } else {
+        break;
+      }
+      float x_73 = x_8.v1.x;
+      float x_75 = x_8.v1.y;
+      if ((x_73 > x_75)) {
+        break;
+      }
+      int x_79 = i_1;
+      int x_81 = arr[x_79].data;
+      int x_83 = x_10.x_GLF_uniform_int_values[0].el;
+      if ((x_81 == x_83)) {
+        int x_88 = i_1;
+        int x_91 = x_10.x_GLF_uniform_int_values[3].el;
+        arr[min(max(x_88, 0), 3)].data = x_91;
+        S x_94 = arr[2];
+        param = x_94;
+        func_struct_S_i11_(param);
+        S x_96 = param;
+        arr[2] = x_96;
+      } else {
+        int x_99 = x_10.x_GLF_uniform_int_values[2].el;
+        j = x_99;
+        {
+          while(true) {
+            int x_104 = j;
+            int x_106 = x_10.x_GLF_uniform_int_values[1].el;
+            if ((x_104 < x_106)) {
+            } else {
+              break;
+            }
+            int x_109 = j;
+            int x_111 = arr[x_109].data;
+            int x_113 = x_10.x_GLF_uniform_int_values[4].el;
+            if ((x_111 > x_113)) {
+              continue_execution = false;
+            }
+            {
+              int x_117 = j;
+              j = (x_117 + 1);
+            }
+            continue;
+          }
+        }
+      }
+      {
+        int x_119 = i_1;
+        i_1 = (x_119 + 1);
+      }
+      continue;
+    }
+  }
+  int x_122 = x_10.x_GLF_uniform_int_values[2].el;
+  int x_124 = arr[x_122].data;
+  int x_126 = x_10.x_GLF_uniform_int_values[2].el;
+  bool x_127 = (x_124 == x_126);
+  x_137_phi = x_127;
+  if (x_127) {
+    int x_131 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_133 = arr[x_131].data;
+    int x_135 = x_10.x_GLF_uniform_int_values[3].el;
+    x_136 = (x_133 == x_135);
+    x_137_phi = x_136;
+  }
+  bool x_137 = x_137_phi;
+  x_147_phi = x_137;
+  if (x_137) {
+    int x_141 = x_10.x_GLF_uniform_int_values[3].el;
+    int x_143 = arr[x_141].data;
+    int x_145 = x_10.x_GLF_uniform_int_values[0].el;
+    x_146 = (x_143 == x_145);
+    x_147_phi = x_146;
+  }
+  bool x_147 = x_147_phi;
+  if (x_147) {
+    int x_152 = x_10.x_GLF_uniform_int_values[0].el;
+    int x_155 = x_10.x_GLF_uniform_int_values[2].el;
+    int x_158 = x_10.x_GLF_uniform_int_values[2].el;
+    int x_161 = x_10.x_GLF_uniform_int_values[0].el;
+    float v = float(x_152);
+    float v_1 = float(x_155);
+    float v_2 = float(x_158);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_161));
+  } else {
+    int x_165 = x_10.x_GLF_uniform_int_values[2].el;
+    float x_166 = float(x_165);
+    x_GLF_color = vec4(x_166, x_166, x_166, x_166);
+  }
+}
+main_out main() {
+  main_1();
+  main_out v_3 = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v_3;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-transpose-multiply/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-transpose-multiply/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4bc9a8b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-transpose-multiply/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-transpose-multiply/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m = mat2(vec2(0.0f), vec2(0.0f));
+  m = mat2(vec2(1.0f, 2.0f), vec2(3.0f, 4.0f));
+  mat2 v = transpose(m);
+  mat2 x_30 = (v * transpose(m));
+  mat2 x_34 = transpose((m * m));
+  bool v_1 = all((x_30[0u] == x_34[0u]));
+  if ((v_1 & all((x_30[1u] == x_34[1u])))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-transpose-multiply/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-transpose-multiply/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..e6d659a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-transpose-multiply/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-transpose-multiply/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m = mat2(vec2(0.0f), vec2(0.0f));
+  m = mat2(vec2(1.0f, 2.0f), vec2(3.0f, 4.0f));
+  mat2 x_26 = m;
+  mat2 x_28 = m;
+  mat2 v = transpose(x_26);
+  mat2 x_30 = (v * transpose(x_28));
+  mat2 x_31 = m;
+  mat2 x_32 = m;
+  mat2 x_34 = transpose((x_31 * x_32));
+  bool v_1 = all((x_30[0u] == x_34[0u]));
+  if ((v_1 & all((x_30[1u] == x_34[1u])))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-trunc-fract-always-zero/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..533ea3c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,42 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  vec4 x_24 = vec4(0.0f);
+  x_GLF_color = vec4(0.0f);
+  if ((x_6.one == 0)) {
+    return;
+  }
+  x_24 = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+vec4 func_() {
+  return vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..344d5b4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-types-return-in-main-never-hit/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  vec4 x_24 = vec4(0.0f);
+  x_GLF_color = vec4(0.0f);
+  int x_26 = x_6.one;
+  if ((x_26 == 0)) {
+    return;
+  }
+  x_24 = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+vec4 func_() {
+  return vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.spvasm.expected.ir.glsl
index 37c14ad..7c89c3c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Construct
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct buf1 {
+  vec2 v1;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m24 = mat2(vec2(0.0f), vec2(0.0f));
+  float a = 0.0f;
+  vec2 v2 = vec2(0.0f);
+  vec2 v3 = vec2(0.0f);
+  vec2 v = vec2(x_6.x_GLF_uniform_float_values[0].el, x_6.x_GLF_uniform_float_values[0].el);
+  m24 = mat2(v, vec2((x_8.v1.x * 1.0f), x_6.x_GLF_uniform_float_values[0].el));
+  a = m24[0u].x;
+  v2 = vec2(1.0f);
+  vec2 v_1 = v2;
+  v3 = reflect(v_1, vec2(a, 1.0f));
+  x_GLF_color = vec4(x_6.x_GLF_uniform_float_values[0].el, v3.x, v3.y, x_6.x_GLF_uniform_float_values[0].el);
+  if ((x_8.v1.y == x_6.x_GLF_uniform_float_values[0].el)) {
+    x_GLF_color = vec4(x_GLF_color.x, vec2(0.0f), x_GLF_color.w);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1bcdf93 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-undefined-inversesqrt-reflect/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,70 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_float_values[1];
+};
+
+struct buf1 {
+  vec2 v1;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+uniform buf1 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 m24 = mat2(vec2(0.0f), vec2(0.0f));
+  float a = 0.0f;
+  vec2 v2 = vec2(0.0f);
+  vec2 v3 = vec2(0.0f);
+  float x_40 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_42 = x_6.x_GLF_uniform_float_values[0].el;
+  float x_44 = x_8.v1.x;
+  float x_47 = x_6.x_GLF_uniform_float_values[0].el;
+  vec2 v = vec2(x_40, x_42);
+  m24 = mat2(v, vec2((x_44 * 1.0f), x_47));
+  mat2 x_51 = m24;
+  a = x_51[0u][0u];
+  v2 = vec2(1.0f);
+  vec2 x_53 = v2;
+  float x_54 = a;
+  vec2 x_55 = vec2(x_54, 1.0f);
+  v3 = reflect(x_53, x_55);
+  float x_58 = x_6.x_GLF_uniform_float_values[0].el;
+  vec2 x_59 = v3;
+  float x_61 = x_6.x_GLF_uniform_float_values[0].el;
+  x_GLF_color = vec4(x_58, x_59[0u], x_59[1u], x_61);
+  float x_66 = x_8.v1.y;
+  float x_68 = x_6.x_GLF_uniform_float_values[0].el;
+  if ((x_66 == x_68)) {
+    vec4 x_73 = x_GLF_color;
+    x_GLF_color = vec4(x_73[0u], 0.0f, 0.0f, x_73[3u]);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.spvasm.expected.ir.glsl
index e1168e3..c8cf793 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,89 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct S {
+  int data;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void func_struct_S_i11_i1_(inout S s, inout int x) {
+  if ((x_9.x_GLF_uniform_int_values[1].el == x_9.x_GLF_uniform_int_values[0].el)) {
+    return;
+  }
+  s.data = x;
+}
+void main_1() {
+  int i = 0;
+  S arr[10] = S[10](S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0));
+  int index = 0;
+  S param = S(0);
+  int param_1 = 0;
+  S param_2 = S(0);
+  int param_3 = 0;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 10)) {
+      } else {
+        break;
+      }
+      int x_46 = i;
+      arr[x_46].data = 0;
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((x_9.x_GLF_uniform_int_values[1].el == x_9.x_GLF_uniform_int_values[0].el)) {
+    int x_58 = index;
+    param = arr[index];
+    param_1 = index;
+    func_struct_S_i11_i1_(param, param_1);
+    arr[x_58] = param;
+  } else {
+    int x_66 = x_9.x_GLF_uniform_int_values[0].el;
+    param_2 = arr[x_66];
+    param_3 = x_9.x_GLF_uniform_int_values[1].el;
+    func_struct_S_i11_i1_(param_2, param_3);
+    arr[x_66] = param_2;
+  }
+  if ((arr[x_9.x_GLF_uniform_int_values[0].el].data == x_9.x_GLF_uniform_int_values[1].el)) {
+    float v = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_1 = float(x_9.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_9.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_9.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.wgsl.expected.ir.glsl
index 72ca17c..08b4c67 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-uninitialized-values-passed-to-function-never-executed/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,111 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct S {
+  int data;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void func_struct_S_i11_i1_(inout S s, inout int x) {
+  int x_103 = x_9.x_GLF_uniform_int_values[1].el;
+  int x_105 = x_9.x_GLF_uniform_int_values[0].el;
+  if ((x_103 == x_105)) {
+    return;
+  }
+  int x_109 = x;
+  s.data = x_109;
+}
+void main_1() {
+  int i = 0;
+  S arr[10] = S[10](S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0), S(0));
+  int index = 0;
+  S param = S(0);
+  int param_1 = 0;
+  S param_2 = S(0);
+  int param_3 = 0;
+  i = 0;
+  {
+    while(true) {
+      int x_43 = i;
+      if ((x_43 < 10)) {
+      } else {
+        break;
+      }
+      int x_46 = i;
+      arr[x_46].data = 0;
+      {
+        int x_48 = i;
+        i = (x_48 + 1);
+      }
+      continue;
+    }
+  }
+  int x_51 = x_9.x_GLF_uniform_int_values[1].el;
+  int x_53 = x_9.x_GLF_uniform_int_values[0].el;
+  if ((x_51 == x_53)) {
+    int x_58 = index;
+    S x_60 = arr[x_58];
+    param = x_60;
+    int x_61 = index;
+    param_1 = x_61;
+    func_struct_S_i11_i1_(param, param_1);
+    S x_63 = param;
+    arr[x_58] = x_63;
+  } else {
+    int x_66 = x_9.x_GLF_uniform_int_values[0].el;
+    S x_68 = arr[x_66];
+    param_2 = x_68;
+    int x_70 = x_9.x_GLF_uniform_int_values[1].el;
+    param_3 = x_70;
+    func_struct_S_i11_i1_(param_2, param_3);
+    S x_72 = param_2;
+    arr[x_66] = x_72;
+  }
+  int x_75 = x_9.x_GLF_uniform_int_values[0].el;
+  int x_77 = arr[x_75].data;
+  int x_79 = x_9.x_GLF_uniform_int_values[1].el;
+  if ((x_77 == x_79)) {
+    int x_85 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_88 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_91 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_94 = x_9.x_GLF_uniform_int_values[1].el;
+    float v = float(x_85);
+    float v_1 = float(x_88);
+    float v_2 = float(x_91);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_94));
+  } else {
+    int x_98 = x_9.x_GLF_uniform_int_values[0].el;
+    float x_99 = float(x_98);
+    x_GLF_color = vec4(x_99, x_99, x_99, x_99);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.spvasm.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-unpack-unorm-mix-always-one/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.spvasm.expected.ir.glsl
index 69f590c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Convert
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-unused-matrix-copy-inside-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..c4b8665 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,62 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int A[2] = int[2](0, 0);
+  int a = 0;
+  i = x_6.x_GLF_uniform_int_values[1].el;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[0].el)) {
+      } else {
+        break;
+      }
+      int x_40 = i;
+      A[x_40] = i;
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  a = min(~(A[x_6.x_GLF_uniform_int_values[1].el]), ~(A[x_6.x_GLF_uniform_int_values[2].el]));
+  x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[1].el));
+  if ((a == -(x_6.x_GLF_uniform_int_values[0].el))) {
+    float v = float(x_6.x_GLF_uniform_int_values[2].el);
+    float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+    float v_2 = float(x_6.x_GLF_uniform_int_values[1].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_6.x_GLF_uniform_int_values[2].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.wgsl.expected.ir.glsl
index 72ca17c..4267d13 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-inst-combine-select-value-tracking-flip-bits/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,79 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[3];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int A[2] = int[2](0, 0);
+  int a = 0;
+  int x_30 = x_6.x_GLF_uniform_int_values[1].el;
+  i = x_30;
+  {
+    while(true) {
+      int x_35 = i;
+      int x_37 = x_6.x_GLF_uniform_int_values[0].el;
+      if ((x_35 < x_37)) {
+      } else {
+        break;
+      }
+      int x_40 = i;
+      int x_41 = i;
+      A[x_40] = x_41;
+      {
+        int x_43 = i;
+        i = (x_43 + 1);
+      }
+      continue;
+    }
+  }
+  int x_46 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_48 = A[x_46];
+  int x_51 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_53 = A[x_51];
+  a = min(~(x_48), ~(x_53));
+  int x_57 = x_6.x_GLF_uniform_int_values[1].el;
+  float x_58 = float(x_57);
+  x_GLF_color = vec4(x_58, x_58, x_58, x_58);
+  int x_60 = a;
+  int x_62 = x_6.x_GLF_uniform_int_values[0].el;
+  if ((x_60 == -(x_62))) {
+    int x_68 = x_6.x_GLF_uniform_int_values[2].el;
+    int x_71 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_74 = x_6.x_GLF_uniform_int_values[1].el;
+    int x_77 = x_6.x_GLF_uniform_int_values[2].el;
+    float v = float(x_68);
+    float v_1 = float(x_71);
+    float v_2 = float(x_74);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_77));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-apint-inst-combine-simplify-one-mod-loop-iterator/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-apint-inst-combine-simplify-one-mod-loop-iterator/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-apint-inst-combine-simplify-one-mod-loop-iterator/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-apint-inst-combine-simplify-one-mod-loop-iterator/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-apint-inst-combine-simplify-one-mod-loop-iterator/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-apint-inst-combine-simplify-one-mod-loop-iterator/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-apint-inst-combine-simplify-one-mod-loop-iterator/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-apint-inst-combine-simplify-one-mod-loop-iterator/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..3b50b7f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,54 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int two;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_7;
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = 0;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 2)) {
+      } else {
+        break;
+      }
+      a = ((i | -2) - 1);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((a == -2)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..e662707 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-inclusive-or/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,58 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int two;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_7;
+void main_1() {
+  int a = 0;
+  int i = 0;
+  a = 0;
+  i = 0;
+  {
+    while(true) {
+      int x_30 = i;
+      if ((x_30 < 2)) {
+      } else {
+        break;
+      }
+      int x_33 = i;
+      a = ((x_33 | -2) - 1);
+      {
+        int x_36 = i;
+        i = (x_36 + 1);
+      }
+      continue;
+    }
+  }
+  int x_38 = a;
+  if ((x_38 == -2)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b4c7f03 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,66 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int sum = 0;
+  int i = 0;
+  a = 65536;
+  sum = x_7.x_GLF_uniform_int_values[0].el;
+  if ((1 == x_7.x_GLF_uniform_int_values[1].el)) {
+    a = (a - 1);
+  }
+  i = 0;
+  {
+    while(true) {
+      if ((i < a)) {
+      } else {
+        break;
+      }
+      sum = (sum + i);
+      {
+        i = (i + x_7.x_GLF_uniform_int_values[2].el);
+      }
+      continue;
+    }
+  }
+  if ((sum == x_7.x_GLF_uniform_int_values[3].el)) {
+    float v = float(x_7.x_GLF_uniform_int_values[1].el);
+    float v_1 = float(x_7.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_7.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_7.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_7.x_GLF_uniform_int_values[0].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f4d3545 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-known-nonzero/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,83 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int a = 0;
+  int sum = 0;
+  int i = 0;
+  a = 65536;
+  int x_29 = x_7.x_GLF_uniform_int_values[0].el;
+  sum = x_29;
+  int x_31 = x_7.x_GLF_uniform_int_values[1].el;
+  if ((1 == x_31)) {
+    int x_35 = a;
+    a = (x_35 - 1);
+  }
+  i = 0;
+  {
+    while(true) {
+      int x_41 = i;
+      int x_42 = a;
+      if ((x_41 < x_42)) {
+      } else {
+        break;
+      }
+      int x_45 = i;
+      int x_46 = sum;
+      sum = (x_46 + x_45);
+      {
+        int x_49 = x_7.x_GLF_uniform_int_values[2].el;
+        int x_50 = i;
+        i = (x_50 + x_49);
+      }
+      continue;
+    }
+  }
+  int x_52 = sum;
+  int x_54 = x_7.x_GLF_uniform_int_values[3].el;
+  if ((x_52 == x_54)) {
+    int x_60 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_63 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_66 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_69 = x_7.x_GLF_uniform_int_values[1].el;
+    float v = float(x_60);
+    float v_1 = float(x_63);
+    float v_2 = float(x_66);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_69));
+  } else {
+    int x_73 = x_7.x_GLF_uniform_int_values[0].el;
+    float x_74 = float(x_73);
+    x_GLF_color = vec4(x_74, x_74, x_74, x_74);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-max-uintbitstofloat/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-max-uintbitstofloat/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-max-uintbitstofloat/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-max-uintbitstofloat/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-max-uintbitstofloat/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-max-uintbitstofloat/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-max-uintbitstofloat/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-max-uintbitstofloat/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.spvasm.expected.ir.glsl
index 72ca17c..6533e23 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,139 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[16];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int r[15] = int[15](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int i = 0;
+  int data[15] = int[15](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int i_1 = 0;
+  int i_2 = 0;
+  int i_3 = 0;
+  int x_46 = x_6.x_GLF_uniform_int_values[0].el;
+  r[x_46] = x_6.x_GLF_uniform_int_values[0].el;
+  int x_51 = x_6.x_GLF_uniform_int_values[1].el;
+  r[x_51] = x_6.x_GLF_uniform_int_values[1].el;
+  int x_56 = x_6.x_GLF_uniform_int_values[2].el;
+  r[x_56] = x_6.x_GLF_uniform_int_values[2].el;
+  int x_61 = x_6.x_GLF_uniform_int_values[3].el;
+  r[x_61] = x_6.x_GLF_uniform_int_values[3].el;
+  int x_66 = x_6.x_GLF_uniform_int_values[4].el;
+  r[x_66] = x_6.x_GLF_uniform_int_values[4].el;
+  int x_71 = x_6.x_GLF_uniform_int_values[5].el;
+  r[x_71] = -(x_6.x_GLF_uniform_int_values[1].el);
+  int x_77 = x_6.x_GLF_uniform_int_values[8].el;
+  r[x_77] = -(x_6.x_GLF_uniform_int_values[1].el);
+  int x_83 = x_6.x_GLF_uniform_int_values[9].el;
+  r[x_83] = -(x_6.x_GLF_uniform_int_values[1].el);
+  int x_89 = x_6.x_GLF_uniform_int_values[10].el;
+  r[x_89] = -(x_6.x_GLF_uniform_int_values[1].el);
+  int x_95 = x_6.x_GLF_uniform_int_values[11].el;
+  r[x_95] = -(x_6.x_GLF_uniform_int_values[1].el);
+  int x_101 = x_6.x_GLF_uniform_int_values[6].el;
+  r[x_101] = -(x_6.x_GLF_uniform_int_values[2].el);
+  int x_107 = x_6.x_GLF_uniform_int_values[12].el;
+  r[x_107] = -(x_6.x_GLF_uniform_int_values[2].el);
+  int x_113 = x_6.x_GLF_uniform_int_values[13].el;
+  r[x_113] = -(x_6.x_GLF_uniform_int_values[2].el);
+  int x_119 = x_6.x_GLF_uniform_int_values[14].el;
+  r[x_119] = -(x_6.x_GLF_uniform_int_values[2].el);
+  int x_125 = x_6.x_GLF_uniform_int_values[15].el;
+  r[x_125] = -(x_6.x_GLF_uniform_int_values[2].el);
+  i = 0;
+  {
+    while(true) {
+      if ((i < x_6.x_GLF_uniform_int_values[5].el)) {
+      } else {
+        break;
+      }
+      int x_139 = i;
+      int v = x_6.x_GLF_uniform_int_values[1].el;
+      data[x_139] = ~(min(max(~(i), ~(i)), v));
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  i_1 = x_6.x_GLF_uniform_int_values[5].el;
+  {
+    while(true) {
+      if ((i_1 < x_6.x_GLF_uniform_int_values[6].el)) {
+      } else {
+        break;
+      }
+      int x_162 = i_1;
+      data[x_162] = ~(min(max(~(i_1), 0), 1));
+      {
+        i_1 = (i_1 + 1);
+      }
+      continue;
+    }
+  }
+  i_2 = x_6.x_GLF_uniform_int_values[6].el;
+  {
+    while(true) {
+      if ((i_2 < x_6.x_GLF_uniform_int_values[7].el)) {
+      } else {
+        break;
+      }
+      int x_181 = i_2;
+      data[x_181] = ~(min(max(i_2, 0), 1));
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  i_3 = x_6.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      if ((i_3 < x_6.x_GLF_uniform_int_values[7].el)) {
+      } else {
+        break;
+      }
+      if ((data[i_3] != r[i_3])) {
+        x_GLF_color = vec4(float(x_6.x_GLF_uniform_int_values[0].el));
+        return;
+      }
+      {
+        i_3 = (i_3 + 1);
+      }
+      continue;
+    }
+  }
+  float v_1 = float(x_6.x_GLF_uniform_int_values[1].el);
+  float v_2 = float(x_6.x_GLF_uniform_int_values[0].el);
+  float v_3 = float(x_6.x_GLF_uniform_int_values[0].el);
+  x_GLF_color = vec4(v_1, v_2, v_3, float(x_6.x_GLF_uniform_int_values[1].el));
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.wgsl.expected.ir.glsl
index 72ca17c..7b8286d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-selection-dag-negation-clamp-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,183 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[16];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int r[15] = int[15](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int i = 0;
+  int data[15] = int[15](0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int i_1 = 0;
+  int i_2 = 0;
+  int i_3 = 0;
+  int x_46 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_48 = x_6.x_GLF_uniform_int_values[0].el;
+  r[x_46] = x_48;
+  int x_51 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_53 = x_6.x_GLF_uniform_int_values[1].el;
+  r[x_51] = x_53;
+  int x_56 = x_6.x_GLF_uniform_int_values[2].el;
+  int x_58 = x_6.x_GLF_uniform_int_values[2].el;
+  r[x_56] = x_58;
+  int x_61 = x_6.x_GLF_uniform_int_values[3].el;
+  int x_63 = x_6.x_GLF_uniform_int_values[3].el;
+  r[x_61] = x_63;
+  int x_66 = x_6.x_GLF_uniform_int_values[4].el;
+  int x_68 = x_6.x_GLF_uniform_int_values[4].el;
+  r[x_66] = x_68;
+  int x_71 = x_6.x_GLF_uniform_int_values[5].el;
+  int x_73 = x_6.x_GLF_uniform_int_values[1].el;
+  r[x_71] = -(x_73);
+  int x_77 = x_6.x_GLF_uniform_int_values[8].el;
+  int x_79 = x_6.x_GLF_uniform_int_values[1].el;
+  r[x_77] = -(x_79);
+  int x_83 = x_6.x_GLF_uniform_int_values[9].el;
+  int x_85 = x_6.x_GLF_uniform_int_values[1].el;
+  r[x_83] = -(x_85);
+  int x_89 = x_6.x_GLF_uniform_int_values[10].el;
+  int x_91 = x_6.x_GLF_uniform_int_values[1].el;
+  r[x_89] = -(x_91);
+  int x_95 = x_6.x_GLF_uniform_int_values[11].el;
+  int x_97 = x_6.x_GLF_uniform_int_values[1].el;
+  r[x_95] = -(x_97);
+  int x_101 = x_6.x_GLF_uniform_int_values[6].el;
+  int x_103 = x_6.x_GLF_uniform_int_values[2].el;
+  r[x_101] = -(x_103);
+  int x_107 = x_6.x_GLF_uniform_int_values[12].el;
+  int x_109 = x_6.x_GLF_uniform_int_values[2].el;
+  r[x_107] = -(x_109);
+  int x_113 = x_6.x_GLF_uniform_int_values[13].el;
+  int x_115 = x_6.x_GLF_uniform_int_values[2].el;
+  r[x_113] = -(x_115);
+  int x_119 = x_6.x_GLF_uniform_int_values[14].el;
+  int x_121 = x_6.x_GLF_uniform_int_values[2].el;
+  r[x_119] = -(x_121);
+  int x_125 = x_6.x_GLF_uniform_int_values[15].el;
+  int x_127 = x_6.x_GLF_uniform_int_values[2].el;
+  r[x_125] = -(x_127);
+  i = 0;
+  {
+    while(true) {
+      int x_134 = i;
+      int x_136 = x_6.x_GLF_uniform_int_values[5].el;
+      if ((x_134 < x_136)) {
+      } else {
+        break;
+      }
+      int x_139 = i;
+      int x_140 = i;
+      int x_142 = i;
+      int x_145 = x_6.x_GLF_uniform_int_values[1].el;
+      data[x_139] = ~(min(max(~(x_140), ~(x_142)), x_145));
+      {
+        int x_149 = i;
+        i = (x_149 + 1);
+      }
+      continue;
+    }
+  }
+  int x_152 = x_6.x_GLF_uniform_int_values[5].el;
+  i_1 = x_152;
+  {
+    while(true) {
+      int x_157 = i_1;
+      int x_159 = x_6.x_GLF_uniform_int_values[6].el;
+      if ((x_157 < x_159)) {
+      } else {
+        break;
+      }
+      int x_162 = i_1;
+      int x_163 = i_1;
+      data[x_162] = ~(min(max(~(x_163), 0), 1));
+      {
+        int x_168 = i_1;
+        i_1 = (x_168 + 1);
+      }
+      continue;
+    }
+  }
+  int x_171 = x_6.x_GLF_uniform_int_values[6].el;
+  i_2 = x_171;
+  {
+    while(true) {
+      int x_176 = i_2;
+      int x_178 = x_6.x_GLF_uniform_int_values[7].el;
+      if ((x_176 < x_178)) {
+      } else {
+        break;
+      }
+      int x_181 = i_2;
+      int x_182 = i_2;
+      data[x_181] = ~(min(max(x_182, 0), 1));
+      {
+        int x_186 = i_2;
+        i_2 = (x_186 + 1);
+      }
+      continue;
+    }
+  }
+  int x_189 = x_6.x_GLF_uniform_int_values[0].el;
+  i_3 = x_189;
+  {
+    while(true) {
+      int x_194 = i_3;
+      int x_196 = x_6.x_GLF_uniform_int_values[7].el;
+      if ((x_194 < x_196)) {
+      } else {
+        break;
+      }
+      int x_199 = i_3;
+      int x_201 = data[x_199];
+      int x_202 = i_3;
+      int x_204 = r[x_202];
+      if ((x_201 != x_204)) {
+        int x_209 = x_6.x_GLF_uniform_int_values[0].el;
+        float x_210 = float(x_209);
+        x_GLF_color = vec4(x_210, x_210, x_210, x_210);
+        return;
+      }
+      {
+        int x_212 = i_3;
+        i_3 = (x_212 + 1);
+      }
+      continue;
+    }
+  }
+  int x_215 = x_6.x_GLF_uniform_int_values[1].el;
+  int x_218 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_221 = x_6.x_GLF_uniform_int_values[0].el;
+  int x_224 = x_6.x_GLF_uniform_int_values[1].el;
+  float v = float(x_215);
+  float v_1 = float(x_218);
+  float v_2 = float(x_221);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_224));
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-uniform-incident/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-uniform-incident/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..c4cd119 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-uniform-incident/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-uniform-incident/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float quarter;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 N = vec4(0.0f);
+  vec4 I = vec4(0.0f);
+  vec4 Nref = vec4(0.0f);
+  vec4 v = vec4(0.0f);
+  N = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  I = vec4(4.0f, 87.589996337890625f, x_7.quarter, 92.51000213623046875f);
+  Nref = vec4(17.049999237060546875f, -6.09999990463256835938f, 4329.37060546875f, 2.70000004768371582031f);
+  v = faceforward(N, I, Nref);
+  if (all((v == vec4(-1.0f, -2.0f, -3.0f, -4.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-uniform-incident/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-uniform-incident/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..038b1ad 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-uniform-incident/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-value-tracking-uniform-incident/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float quarter;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 N = vec4(0.0f);
+  vec4 I = vec4(0.0f);
+  vec4 Nref = vec4(0.0f);
+  vec4 v = vec4(0.0f);
+  N = vec4(1.0f, 2.0f, 3.0f, 4.0f);
+  float x_44 = x_7.quarter;
+  I = vec4(4.0f, 87.589996337890625f, x_44, 92.51000213623046875f);
+  Nref = vec4(17.049999237060546875f, -6.09999990463256835938f, 4329.37060546875f, 2.70000004768371582031f);
+  vec4 x_46 = N;
+  vec4 x_47 = I;
+  vec4 x_48 = Nref;
+  v = faceforward(x_46, x_47, x_48);
+  vec4 x_50 = v;
+  if (all((x_50 == vec4(-1.0f, -2.0f, -3.0f, -4.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-inc-unused-comp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-inc-unused-comp/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..afb652a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-inc-unused-comp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-inc-unused-comp/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 a = vec2(0.0f);
+  vec2 b = vec2(0.0f);
+  a = vec2(1.0f);
+  if ((x_6.zero == 1)) {
+    a[0u] = (a.x + 1.0f);
+  }
+  b = (vec2(a.y) + vec2(2.0f, 3.0f));
+  if (all((b == vec2(3.0f, 4.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-inc-unused-comp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-inc-unused-comp/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..a07e398 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-inc-unused-comp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-inc-unused-comp/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 a = vec2(0.0f);
+  vec2 b = vec2(0.0f);
+  a = vec2(1.0f);
+  int x_38 = x_6.zero;
+  if ((x_38 == 1)) {
+    float x_43 = a.x;
+    a[0u] = (x_43 + 1.0f);
+  }
+  float x_47 = a.y;
+  b = (vec2(x_47, x_47) + vec2(2.0f, 3.0f));
+  vec2 x_50 = b;
+  if (all((x_50 == vec2(3.0f, 4.0f)))) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..94e328b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,37 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 a = vec2(0.0f);
+  vec2 b = vec2(0.0f);
+  a = vec2(1.0f);
+  a[0u] = (a.x + 0.5f);
+  b = fract(a);
+  if ((b.x == 0.5f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..313db5b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-dce-unused-component/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 a = vec2(0.0f);
+  vec2 b = vec2(0.0f);
+  a = vec2(1.0f);
+  float x_25 = a.x;
+  a[0u] = (x_25 + 0.5f);
+  vec2 x_28 = a;
+  b = fract(x_28);
+  float x_31 = b.x;
+  if ((x_31 == 0.5f)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f6c5345 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v = vec2(0.0f);
+  v = vec2(0.62581348419189453125f, 13.4269504547119140625f);
+  if ((v.x < v.y)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..072a65b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,36 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec2 v = vec2(0.0f);
+  v = vec2(0.62581348419189453125f, 13.4269504547119140625f);
+  float x_27 = v.x;
+  float x_29 = v.y;
+  if ((x_27 < x_29)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-apfloat-nan-cos-cos/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-apfloat-nan-cos-cos/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-apfloat-nan-cos-cos/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-apfloat-nan-cos-cos/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-apfloat-nan-cos-cos/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-apfloat-nan-cos-cos/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-apfloat-nan-cos-cos/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-apfloat-nan-cos-cos/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-machine-value-type-uint-to-float/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-machine-value-type-uint-to-float/0-opt.spvasm.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-machine-value-type-uint-to-float/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-machine-value-type-uint-to-float/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-machine-value-type-uint-to-float/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-machine-value-type-uint-to-float/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-machine-value-type-uint-to-float/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-machine-value-type-uint-to-float/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..e3e7e5a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,117 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float A[2] = float[2](0.0f, 0.0f);
+  int i = 0;
+  int j = 0;
+  bool x_101 = false;
+  bool x_102 = false;
+  A[0] = x_6.x_GLF_uniform_float_values[1].el;
+  A[1] = x_6.x_GLF_uniform_float_values[1].el;
+  i = x_9.x_GLF_uniform_int_values[0].el;
+  {
+    while(true) {
+      if ((i < x_9.x_GLF_uniform_int_values[3].el)) {
+      } else {
+        break;
+      }
+      j = x_9.x_GLF_uniform_int_values[0].el;
+      {
+        while(true) {
+          if ((j < x_9.x_GLF_uniform_int_values[2].el)) {
+          } else {
+            break;
+          }
+          int x_66 = j;
+          switch(x_66) {
+            case 1:
+            {
+              int x_78 = i;
+              A[x_78] = x_6.x_GLF_uniform_float_values[0].el;
+              break;
+            }
+            case 0:
+            {
+              if (((-2147483647 - 1) < i)) {
+                {
+                  j = (j + 1);
+                }
+                continue;
+              }
+              int x_74 = i;
+              A[x_74] = x_6.x_GLF_uniform_float_values[2].el;
+              break;
+            }
+            default:
+            {
+              break;
+            }
+          }
+          {
+            j = (j + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  bool x_92 = (A[x_9.x_GLF_uniform_int_values[0].el] == x_6.x_GLF_uniform_float_values[0].el);
+  x_102 = x_92;
+  if (x_92) {
+    x_101 = (A[x_9.x_GLF_uniform_int_values[1].el] == x_6.x_GLF_uniform_float_values[0].el);
+    x_102 = x_101;
+  }
+  if (x_102) {
+    float v = float(x_9.x_GLF_uniform_int_values[1].el);
+    float v_1 = float(x_9.x_GLF_uniform_int_values[0].el);
+    float v_2 = float(x_9.x_GLF_uniform_int_values[0].el);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_9.x_GLF_uniform_int_values[1].el));
+  } else {
+    x_GLF_color = vec4(float(x_9.x_GLF_uniform_int_values[1].el));
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.wgsl.expected.ir.glsl
index 72ca17c..c996091 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-negative-left-shift/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,144 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  float el;
+};
+
+struct buf1 {
+  strided_arr x_GLF_uniform_float_values[3];
+};
+
+struct strided_arr_1 {
+  int el;
+};
+
+struct buf0 {
+  strided_arr_1 x_GLF_uniform_int_values[4];
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float A[2] = float[2](0.0f, 0.0f);
+  int i = 0;
+  int j = 0;
+  bool x_101 = false;
+  bool x_102_phi = false;
+  float x_39 = x_6.x_GLF_uniform_float_values[1].el;
+  A[0] = x_39;
+  float x_42 = x_6.x_GLF_uniform_float_values[1].el;
+  A[1] = x_42;
+  int x_45 = x_9.x_GLF_uniform_int_values[0].el;
+  i = x_45;
+  {
+    while(true) {
+      int x_50 = i;
+      int x_52 = x_9.x_GLF_uniform_int_values[3].el;
+      if ((x_50 < x_52)) {
+      } else {
+        break;
+      }
+      int x_56 = x_9.x_GLF_uniform_int_values[0].el;
+      j = x_56;
+      {
+        while(true) {
+          int x_61 = j;
+          int x_63 = x_9.x_GLF_uniform_int_values[2].el;
+          if ((x_61 < x_63)) {
+          } else {
+            break;
+          }
+          int x_66 = j;
+          switch(x_66) {
+            case 1:
+            {
+              int x_78 = i;
+              float x_80 = x_6.x_GLF_uniform_float_values[0].el;
+              A[x_78] = x_80;
+              break;
+            }
+            case 0:
+            {
+              int x_70 = i;
+              if (((-2147483647 - 1) < x_70)) {
+                {
+                  int x_82 = j;
+                  j = (x_82 + 1);
+                }
+                continue;
+              }
+              int x_74 = i;
+              float x_76 = x_6.x_GLF_uniform_float_values[2].el;
+              A[x_74] = x_76;
+              break;
+            }
+            default:
+            {
+              break;
+            }
+          }
+          {
+            int x_82 = j;
+            j = (x_82 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_84 = i;
+        i = (x_84 + 1);
+      }
+      continue;
+    }
+  }
+  int x_87 = x_9.x_GLF_uniform_int_values[0].el;
+  float x_89 = A[x_87];
+  float x_91 = x_6.x_GLF_uniform_float_values[0].el;
+  bool x_92 = (x_89 == x_91);
+  x_102_phi = x_92;
+  if (x_92) {
+    int x_96 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_98 = A[x_96];
+    float x_100 = x_6.x_GLF_uniform_float_values[0].el;
+    x_101 = (x_98 == x_100);
+    x_102_phi = x_101;
+  }
+  bool x_102 = x_102_phi;
+  if (x_102) {
+    int x_107 = x_9.x_GLF_uniform_int_values[1].el;
+    int x_110 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_113 = x_9.x_GLF_uniform_int_values[0].el;
+    int x_116 = x_9.x_GLF_uniform_int_values[1].el;
+    float v = float(x_107);
+    float v_1 = float(x_110);
+    float v_2 = float(x_113);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_116));
+  } else {
+    int x_120 = x_9.x_GLF_uniform_int_values[1].el;
+    float x_121 = float(x_120);
+    x_GLF_color = vec4(x_121, x_121, x_121, x_121);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.spvasm.expected.ir.glsl
index 72ca17c..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.wgsl.expected.ir.glsl
index 72ca17c..c657afd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/cov-x86-isel-lowering-selection-dag-struct-array-clamp-index/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,78 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct strided_arr {
+  int el;
+};
+
+struct buf0 {
+  strided_arr x_GLF_uniform_int_values[2];
+};
+
+struct S {
+  int a;
+  int b;
+  int c;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  S A[2] = S[2](S(0, 0, 0), S(0, 0, 0));
+  int x_29 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_31 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_33 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_35 = x_7.x_GLF_uniform_int_values[1].el;
+  A[x_29] = S(x_31, x_33, x_35);
+  int x_39 = x_7.x_GLF_uniform_int_values[0].el;
+  int x_41 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_43 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_45 = x_7.x_GLF_uniform_int_values[1].el;
+  A[x_39] = S(x_41, x_43, x_45);
+  int x_49 = x_7.x_GLF_uniform_int_values[1].el;
+  int x_51 = A[x_49].b;
+  int x_53 = x_7.x_GLF_uniform_int_values[1].el;
+  if ((x_51 == x_53)) {
+    int x_58 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_61 = x_7.x_GLF_uniform_int_values[0].el;
+    A[min(max(x_58, 1), 2)].b = x_61;
+  }
+  int x_64 = x_7.x_GLF_uniform_int_values[0].el;
+  int x_66 = A[x_64].b;
+  int x_68 = x_7.x_GLF_uniform_int_values[0].el;
+  if ((x_66 == x_68)) {
+    int x_74 = x_7.x_GLF_uniform_int_values[0].el;
+    int x_77 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_80 = x_7.x_GLF_uniform_int_values[1].el;
+    int x_83 = x_7.x_GLF_uniform_int_values[0].el;
+    float v = float(x_74);
+    float v_1 = float(x_77);
+    float v_2 = float(x_80);
+    x_GLF_color = vec4(v, v_1, v_2, float(x_83));
+  } else {
+    int x_87 = x_7.x_GLF_uniform_int_values[0].el;
+    float x_88 = float(x_87);
+    x_GLF_color = vec4(x_88, x_88, x_88, x_88);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:18: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:18: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/create-color-in-do-while-for-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/create-color-in-do-while-for-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/create-color-in-do-while-for-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/create-color-in-do-while-for-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/create-color-in-do-while-for-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/create-color-in-do-while-for-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/create-color-in-do-while-for-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/create-color-in-do-while-for-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/dead-barriers-in-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/dead-barriers-in-loops/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/dead-barriers-in-loops/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/dead-barriers-in-loops/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/dead-barriers-in-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/dead-barriers-in-loops/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/dead-barriers-in-loops/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/dead-barriers-in-loops/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b8cf2ba 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,94 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void x_51() {
+  continue_execution = false;
+}
+void main_1() {
+  {
+    while(true) {
+      bool x_30 = false;
+      bool x_31 = false;
+      x_30 = false;
+      {
+        while(true) {
+          {
+            while(true) {
+              vec4 x_52 = vec4(0.0f);
+              vec4 x_54 = vec4(0.0f);
+              vec4 x_55 = vec4(0.0f);
+              float x_36 = x_5.injectionSwitch.y;
+              x_31 = x_30;
+              if ((x_36 > 0.0f)) {
+              } else {
+                break;
+              }
+              {
+                while(true) {
+                  float x_46 = x_5.injectionSwitch.x;
+                  if ((x_46 > 0.0f)) {
+                    x_51();
+                    x_52 = vec4(0.0f);
+                    x_55 = x_52;
+                    break;
+                  }
+                  x_54 = (vec4(1.0f, 0.0f, 0.0f, 1.0f) + vec4(x_46));
+                  x_55 = x_54;
+                  break;
+                }
+              }
+              x_GLF_color = x_55;
+              x_31 = true;
+              break;
+            }
+          }
+          if (x_31) {
+            break;
+          } else {
+            {
+              x_30 = x_31;
+            }
+            continue;
+          }
+          /* unreachable */
+        }
+      }
+      if (x_31) {
+        break;
+      }
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..654231c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/disc-and-add-in-func-in-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,95 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void x_51() {
+  continue_execution = false;
+}
+void main_1() {
+  {
+    while(true) {
+      bool x_31 = false;
+      bool x_30_phi = false;
+      x_30_phi = false;
+      {
+        while(true) {
+          bool x_31_phi = false;
+          bool x_30 = x_30_phi;
+          {
+            while(true) {
+              vec4 x_52 = vec4(0.0f);
+              vec4 x_54 = vec4(0.0f);
+              vec4 x_55_phi = vec4(0.0f);
+              float x_36 = x_5.injectionSwitch.y;
+              x_31_phi = x_30;
+              if ((x_36 > 0.0f)) {
+              } else {
+                break;
+              }
+              {
+                while(true) {
+                  float x_46 = x_5.injectionSwitch.x;
+                  if ((x_46 > 0.0f)) {
+                    x_51();
+                  }
+                  x_54 = (vec4(1.0f, 0.0f, 0.0f, 1.0f) + vec4(x_46, x_46, x_46, x_46));
+                  x_55_phi = x_54;
+                  break;
+                }
+              }
+              vec4 x_55 = x_55_phi;
+              x_GLF_color = x_55;
+              x_31_phi = true;
+              break;
+            }
+          }
+          x_31 = x_31_phi;
+          if (x_31) {
+            break;
+          } else {
+            {
+              x_30_phi = x_31;
+            }
+            continue;
+          }
+          /* unreachable */
+        }
+      }
+      if (x_31) {
+        break;
+      }
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.spvasm.expected.ir.glsl
index 0480431..0a57615 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,71 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  {
+    while(true) {
+      bool x_46 = false;
+      {
+        while(true) {
+          if ((tint_symbol.x < 0.0f)) {
+            if ((1.0f > x_6.injectionSwitch.y)) {
+              continue_execution = false;
+            } else {
+              {
+                x_46 = false;
+                if (true) { break; }
+              }
+              continue;
+            }
+            {
+              x_46 = false;
+              if (true) { break; }
+            }
+            continue;
+          }
+          x_46 = true;
+          break;
+        }
+      }
+      if (x_46) {
+        break;
+      }
+      break;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.wgsl.expected.ir.glsl
index 0480431..70c81ed 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discard-continue-return/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,69 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  {
+    while(true) {
+      bool x_46_phi = false;
+      {
+        while(true) {
+          float x_37 = tint_symbol.x;
+          if ((x_37 < 0.0f)) {
+            float x_42 = x_6.injectionSwitch.y;
+            if ((1.0f > x_42)) {
+              continue_execution = false;
+            } else {
+              {
+                x_46_phi = false;
+                if (true) { break; }
+              }
+              continue;
+            }
+          }
+          x_46_phi = true;
+          break;
+        }
+      }
+      bool x_46 = x_46_phi;
+      if (x_46) {
+        break;
+      }
+      break;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b401a9b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int i = 0;
+  data = float[10](0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f, 0.5f, 0.60000002384185791016f, 0.69999998807907104492f, 0.80000001192092895508f, 0.89999997615814208984f, 1.0f);
+  i = 0;
+  {
+    while(true) {
+      if ((i < 10)) {
+      } else {
+        break;
+      }
+      if ((tint_symbol.x < 0.0f)) {
+        continue_execution = false;
+      }
+      data[0] = data[i];
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(data[0], 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..760dcb1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-array-manipulating-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void main_1() {
+  float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int i = 0;
+  data = float[10](0.10000000149011611938f, 0.20000000298023223877f, 0.30000001192092895508f, 0.40000000596046447754f, 0.5f, 0.60000002384185791016f, 0.69999998807907104492f, 0.80000001192092895508f, 0.89999997615814208984f, 1.0f);
+  i = 0;
+  {
+    while(true) {
+      int x_7 = i;
+      if ((x_7 < 10)) {
+      } else {
+        break;
+      }
+      float x_50 = tint_symbol.x;
+      if ((x_50 < 0.0f)) {
+        continue_execution = false;
+      }
+      int x_8 = i;
+      float x_55 = data[x_8];
+      data[0] = x_55;
+      {
+        int x_9 = i;
+        i = (x_9 + 1);
+      }
+      continue;
+    }
+  }
+  float x_58 = data[0];
+  x_GLF_color = vec4(x_58, 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.spvasm.expected.ir.glsl
index 0480431..f803dc0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,65 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void f_() {
+  {
+    while(true) {
+      if ((1.0f > x_7.injectionSwitch.y)) {
+        if ((tint_symbol.y < 0.0f)) {
+          {
+            if (true) { break; }
+          }
+          continue;
+        } else {
+          {
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+      continue_execution = false;
+      {
+        if (true) { break; }
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  f_();
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.wgsl.expected.ir.glsl
index 0480431..3971532 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop-in-function/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,67 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void f_() {
+  {
+    while(true) {
+      float x_35 = x_7.injectionSwitch.y;
+      if ((1.0f > x_35)) {
+        float x_40 = tint_symbol.y;
+        if ((x_40 < 0.0f)) {
+          {
+            if (true) { break; }
+          }
+          continue;
+        } else {
+          {
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+      continue_execution = false;
+      {
+        if (true) { break; }
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  f_();
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..3e2c7ca 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,74 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void x_47() {
+  continue_execution = false;
+}
+void main_1() {
+  {
+    while(true) {
+      int x_30 = 0;
+      bool x_48 = false;
+      x_30 = 0;
+      {
+        while(true) {
+          int x_31 = 0;
+          x_48 = false;
+          if ((x_30 < 10)) {
+          } else {
+            break;
+          }
+          if ((tint_symbol.y < 0.0f)) {
+            if ((tint_symbol.x < 0.0f)) {
+              x_48 = false;
+              break;
+            } else {
+              {
+                x_31 = (x_30 + 1);
+                x_30 = x_31;
+              }
+              continue;
+            }
+          }
+          x_47();
+          x_48 = true;
+          break;
+        }
+      }
+      if (x_48) {
+        break;
+      }
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      break;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..ab7c56d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discard-in-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,81 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+void x_47() {
+  continue_execution = false;
+}
+void main_1() {
+  {
+    while(true) {
+      int x_30_phi = 0;
+      bool x_48_phi = false;
+      x_30_phi = 0;
+      {
+        while(true) {
+          int x_31 = 0;
+          int x_30 = x_30_phi;
+          x_48_phi = false;
+          if ((x_30 < 10)) {
+          } else {
+            break;
+          }
+          float x_37 = tint_symbol.y;
+          if ((x_37 < 0.0f)) {
+            float x_42 = tint_symbol.x;
+            if ((x_42 < 0.0f)) {
+              x_48_phi = false;
+              break;
+            } else {
+              {
+                x_31 = (x_30 + 1);
+                x_30_phi = x_31;
+              }
+              continue;
+            }
+          }
+          x_47();
+          {
+            x_31 = (x_30 + 1);
+            x_30_phi = x_31;
+          }
+          continue;
+        }
+      }
+      bool x_48 = x_48_phi;
+      if (x_48) {
+        break;
+      }
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      break;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discards-in-control-flow/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discards-in-control-flow/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discards-in-control-flow/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discards-in-control-flow/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/discards-in-control-flow/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/discards-in-control-flow/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/discards-in-control-flow/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/discards-in-control-flow/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..bfcf4eb 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,66 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 f_() {
+  int iteration = 0;
+  int k = 0;
+  iteration = 0;
+  k = 0;
+  {
+    while(true) {
+      if ((k < 100)) {
+      } else {
+        break;
+      }
+      iteration = (iteration + 1);
+      {
+        k = (k + 1);
+      }
+      continue;
+    }
+  }
+  if ((iteration < 100)) {
+    int x_13 = iteration;
+    int x_15 = iteration;
+    float v = float((x_13 - 1));
+    return vec3(1.0f, v, float((x_15 - 1)));
+  } else {
+    {
+      while(true) {
+        {
+          while(true) {
+            return vec3(1.0f, 0.0f, 0.0f);
+          }
+        }
+        /* unreachable */
+      }
+    }
+  }
+  /* unreachable */
+}
+void main_1() {
+  vec3 x_35 = f_();
+  x_GLF_color = vec4(x_35[0u], x_35[1u], x_35[2u], 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..2caaea4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/do-while-false-loops/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,70 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 f_() {
+  int iteration = 0;
+  int k = 0;
+  iteration = 0;
+  k = 0;
+  {
+    while(true) {
+      int x_7 = k;
+      if ((x_7 < 100)) {
+      } else {
+        break;
+      }
+      int x_8 = iteration;
+      iteration = (x_8 + 1);
+      {
+        int x_10 = k;
+        k = (x_10 + 1);
+      }
+      continue;
+    }
+  }
+  int x_12 = iteration;
+  if ((x_12 < 100)) {
+    int x_13 = iteration;
+    int x_15 = iteration;
+    float v = float((x_13 - 1));
+    return vec3(1.0f, v, float((x_15 - 1)));
+  } else {
+    {
+      while(true) {
+        {
+          while(true) {
+            return vec3(1.0f, 0.0f, 0.0f);
+          }
+        }
+        /* unreachable */
+      }
+    }
+  }
+  /* unreachable */
+}
+void main_1() {
+  vec3 x_35 = f_();
+  x_GLF_color = vec4(x_35[0u], x_35[1u], x_35[2u], 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..7fad993 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,76 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+int func_() {
+  int loop_count = 0;
+  int x_38 = 0;
+  loop_count = 0;
+  x_38 = 0;
+  {
+    while(true) {
+      int x_45 = 0;
+      int x_39 = 0;
+      int x_43 = (x_38 + 1);
+      loop_count = x_43;
+      x_45 = x_43;
+      {
+        while(true) {
+          x_39 = (x_45 + 1);
+          loop_count = x_39;
+          if ((x_7.injectionSwitch.x < x_7.injectionSwitch.y)) {
+            return 1;
+          }
+          if ((x_7.injectionSwitch.x < x_7.injectionSwitch.y)) {
+            break;
+          }
+          {
+            x_45 = x_39;
+            if (!((x_39 < 100))) { break; }
+          }
+          continue;
+        }
+      }
+      {
+        x_38 = x_39;
+        if (!((x_39 < 100))) { break; }
+      }
+      continue;
+    }
+  }
+  return 0;
+}
+void main_1() {
+  int x_31 = func_();
+  if ((x_31 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..77d4b3f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/do-while-if-return/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,82 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+int func_() {
+  int loop_count = 0;
+  int x_38_phi = 0;
+  loop_count = 0;
+  x_38_phi = 0;
+  {
+    while(true) {
+      int x_39 = 0;
+      int x_45_phi = 0;
+      int x_38 = x_38_phi;
+      int x_43 = (x_38 + 1);
+      loop_count = x_43;
+      x_45_phi = x_43;
+      {
+        while(true) {
+          int x_45 = x_45_phi;
+          x_39 = (x_45 + 1);
+          loop_count = x_39;
+          float x_50 = x_7.injectionSwitch.x;
+          float x_52 = x_7.injectionSwitch.y;
+          if ((x_50 < x_52)) {
+            return 1;
+          }
+          float x_57 = x_7.injectionSwitch.x;
+          float x_59 = x_7.injectionSwitch.y;
+          if ((x_57 < x_59)) {
+            break;
+          }
+          {
+            x_45_phi = x_39;
+            if (!((x_39 < 100))) { break; }
+          }
+          continue;
+        }
+      }
+      {
+        x_38_phi = x_39;
+        if (!((x_39 < 100))) { break; }
+      }
+      continue;
+    }
+  }
+  return 0;
+}
+void main_1() {
+  int x_31 = func_();
+  if ((x_31 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..03b051d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  if (true) {
+    if ((tint_symbol.x < 0.0f)) {
+      {
+        while(true) {
+          x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+          {
+            float x_32 = tint_symbol.x;
+            if (!((x_32 < 0.0f))) { break; }
+          }
+          continue;
+        }
+      }
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..d0cfbde 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/do-while-loop-in-conditionals/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,45 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  if (true) {
+    float x_23 = tint_symbol.x;
+    if ((x_23 < 0.0f)) {
+      {
+        while(true) {
+          x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+          {
+            float x_32 = tint_symbol.x;
+            if (!((x_32 < 0.0f))) { break; }
+          }
+          continue;
+        }
+      }
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/early-return-and-barrier/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/early-return-and-barrier/0.spvasm.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/early-return-and-barrier/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/early-return-and-barrier/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/early-return-and-barrier/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/early-return-and-barrier/0.wgsl.expected.ir.glsl
index d4bb1c9..56f48c5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/early-return-and-barrier/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/early-return-and-barrier/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: workgroupBarrier
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..6149317 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,90 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int loop_count = 0;
+  loop_count = 0;
+  bool x_36 = (x_7.injectionSwitch.x > x_7.injectionSwitch.y);
+  if (x_36) {
+    return;
+  }
+  bool x_41 = (tint_symbol.x < 0.0f);
+  {
+    while(true) {
+      if ((loop_count < 100)) {
+      } else {
+        break;
+      }
+      if (x_36) {
+        break;
+      }
+      if (x_36) {
+        x_GLF_color = vec4(1.0f);
+      } else {
+        if (x_41) {
+          return;
+        }
+      }
+      if (x_36) {
+        x_GLF_color = vec4(1.0f);
+      } else {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      }
+      if (x_36) {
+        return;
+      }
+      if (x_41) {
+        {
+          while(true) {
+            if ((loop_count < 100)) {
+            } else {
+              break;
+            }
+            {
+              loop_count = (loop_count + 1);
+            }
+            continue;
+          }
+        }
+      }
+      {
+        loop_count = (loop_count + 1);
+      }
+      continue;
+    }
+  }
+  if ((loop_count >= 100)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..d3446e9 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/flag-always-false-if/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,98 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int loop_count = 0;
+  loop_count = 0;
+  float x_33 = x_7.injectionSwitch.x;
+  float x_35 = x_7.injectionSwitch.y;
+  bool x_36 = (x_33 > x_35);
+  if (x_36) {
+    return;
+  }
+  float x_40 = tint_symbol.x;
+  bool x_41 = (x_40 < 0.0f);
+  {
+    while(true) {
+      int x_43 = loop_count;
+      if ((x_43 < 100)) {
+      } else {
+        break;
+      }
+      if (x_36) {
+        break;
+      }
+      if (x_36) {
+        x_GLF_color = vec4(1.0f);
+      } else {
+        if (x_41) {
+          return;
+        }
+      }
+      if (x_36) {
+        x_GLF_color = vec4(1.0f);
+      } else {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      }
+      if (x_36) {
+        return;
+      }
+      if (x_41) {
+        {
+          while(true) {
+            int x_63 = loop_count;
+            if ((x_63 < 100)) {
+            } else {
+              break;
+            }
+            {
+              int x_67 = loop_count;
+              loop_count = (x_67 + 1);
+            }
+            continue;
+          }
+        }
+      }
+      {
+        int x_69 = loop_count;
+        loop_count = (x_69 + 1);
+      }
+      continue;
+    }
+  }
+  int x_71 = loop_count;
+  if ((x_71 >= 100)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.spvasm.expected.ir.glsl
index ae9b6d0..16afca7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color = vec4(0.0f);
+vec3 drawShape_vf2_(inout vec2 pos) {
+  bool c3 = false;
+  bool x_35 = false;
+  bool x_33 = (pos.y < 1.0f);
+  c3 = x_33;
+  x_35 = x_33;
+  {
+    while(true) {
+      if (x_35) {
+      } else {
+        break;
+      }
+      return vec3(1.0f);
+    }
+  }
+  return vec3(1.0f);
+}
+void main_1() {
+  vec2 param = vec2(0.0f);
+  param = vec2(1.0f);
+  vec3 x_29 = drawShape_vf2_(param);
+  color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..3c7226c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/for-condition-always-false/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color = vec4(0.0f);
+vec3 drawShape_vf2_(inout vec2 pos) {
+  bool c3 = false;
+  bool x_35_phi = false;
+  float x_32 = pos.y;
+  bool x_33 = (x_32 < 1.0f);
+  c3 = x_33;
+  x_35_phi = x_33;
+  {
+    while(true) {
+      bool x_35 = x_35_phi;
+      if (x_35) {
+      } else {
+        break;
+      }
+      return vec3(1.0f);
+    }
+  }
+  return vec3(1.0f);
+}
+void main_1() {
+  vec2 param = vec2(0.0f);
+  param = vec2(1.0f);
+  vec3 x_29 = drawShape_vf2_(param);
+  color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.spvasm.expected.ir.glsl
index 0480431..c628cd2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.spvasm.expected.ir.glsl
@@ -1,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 mand_() {
+  {
+    while(true) {
+      return vec3(1.0f);
+    }
+  }
+  /* unreachable */
+}
+void main_1() {
+  vec3 x_17 = mand_();
+  {
+    while(true) {
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      return;
+    }
+  }
+  /* unreachable */
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.wgsl.expected.ir.glsl
index 0480431..c628cd2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/for-loop-with-return/0.wgsl.expected.ir.glsl
@@ -1,11 +1,43 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 mand_() {
+  {
+    while(true) {
+      return vec3(1.0f);
+    }
+  }
+  /* unreachable */
+}
+void main_1() {
+  vec3 x_17 = mand_();
+  {
+    while(true) {
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      return;
+    }
+  }
+  /* unreachable */
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..8b0e0e1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  i = 1;
+  {
+    while(true) {
+      if ((i < 2)) {
+      } else {
+        break;
+      }
+      if ((tint_symbol.y < 0.0f)) {
+        if ((tint_symbol.x < 0.0f)) {
+          x_GLF_color = vec4(226.6959991455078125f, 1.0f, 1.0f, 1.0f);
+        }
+        {
+          i = (i + 1);
+        }
+        continue;
+      }
+      return;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..4028ef0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/for-with-ifs-and-return/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,54 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  i = 1;
+  {
+    while(true) {
+      int x_6 = i;
+      if ((x_6 < 2)) {
+      } else {
+        break;
+      }
+      float x_37 = tint_symbol.y;
+      if ((x_37 < 0.0f)) {
+        float x_42 = tint_symbol.x;
+        if ((x_42 < 0.0f)) {
+          x_GLF_color = vec4(226.6959991455078125f, 1.0f, 1.0f, 1.0f);
+        }
+        {
+          int x_7 = i;
+          i = (x_7 + 1);
+        }
+        continue;
+      }
+      return;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/frag-coord-func-call-and-ifs/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/frag-coord-func-call-and-ifs/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/frag-coord-func-call-and-ifs/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/frag-coord-func-call-and-ifs/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/frag-coord-func-call-and-ifs/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/frag-coord-func-call-and-ifs/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/frag-coord-func-call-and-ifs/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/frag-coord-func-call-and-ifs/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/function-with-uniform-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/function-with-uniform-return/0-opt.spvasm.expected.ir.glsl
index e1168e3..f83b9b8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/function-with-uniform-return/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/function-with-uniform-return/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,76 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+float fx_() {
+  if ((tint_symbol.y >= 0.0f)) {
+    float x_55 = x_7.injectionSwitch.y;
+    return x_55;
+  }
+  {
+    while(true) {
+      if (true) {
+      } else {
+        break;
+      }
+      x_GLF_color = vec4(1.0f);
+      {
+      }
+      continue;
+    }
+  }
+  return 0.0f;
+}
+void main_1() {
+  float x2 = 0.0f;
+  float B = 0.0f;
+  float k0 = 0.0f;
+  x2 = 1.0f;
+  B = 1.0f;
+  float x_34 = fx_();
+  x_GLF_color = vec4(x_34, 0.0f, 0.0f, 1.0f);
+  {
+    while(true) {
+      if ((x2 > 2.0f)) {
+      } else {
+        break;
+      }
+      float x_43 = fx_();
+      float x_44 = fx_();
+      k0 = (x_43 - x_44);
+      B = k0;
+      x2 = B;
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/function-with-uniform-return/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/function-with-uniform-return/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..0517381 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/function-with-uniform-return/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/function-with-uniform-return/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,80 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+float fx_() {
+  float x_50 = tint_symbol.y;
+  if ((x_50 >= 0.0f)) {
+    float x_55 = x_7.injectionSwitch.y;
+    return x_55;
+  }
+  {
+    while(true) {
+      if (true) {
+      } else {
+        break;
+      }
+      x_GLF_color = vec4(1.0f);
+      {
+      }
+      continue;
+    }
+  }
+  return 0.0f;
+}
+void main_1() {
+  float x2 = 0.0f;
+  float B = 0.0f;
+  float k0 = 0.0f;
+  x2 = 1.0f;
+  B = 1.0f;
+  float x_34 = fx_();
+  x_GLF_color = vec4(x_34, 0.0f, 0.0f, 1.0f);
+  {
+    while(true) {
+      float x_40 = x2;
+      if ((x_40 > 2.0f)) {
+      } else {
+        break;
+      }
+      float x_43 = fx_();
+      float x_44 = fx_();
+      k0 = (x_43 - x_44);
+      float x_46 = k0;
+      B = x_46;
+      float x_47 = B;
+      x2 = x_47;
+      {
+      }
+      continue;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/global-array-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/global-array-loops/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/global-array-loops/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/global-array-loops/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/global-array-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/global-array-loops/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/global-array-loops/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/global-array-loops/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/increment-value-in-nested-for-loop/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/increment-value-in-nested-for-loop/0.spvasm.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/increment-value-in-nested-for-loop/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/increment-value-in-nested-for-loop/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/increment-value-in-nested-for-loop/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/increment-value-in-nested-for-loop/0.wgsl.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/increment-value-in-nested-for-loop/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/increment-value-in-nested-for-loop/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/injection-switch-as-comparison/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/injection-switch-as-comparison/0.spvasm.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/injection-switch-as-comparison/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/injection-switch-as-comparison/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/injection-switch-as-comparison/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/injection-switch-as-comparison/0.wgsl.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/injection-switch-as-comparison/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/injection-switch-as-comparison/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/int-mat2-struct/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/int-mat2-struct/0-opt.spvasm.expected.ir.glsl
index e1168e3..0e70ee7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/int-mat2-struct/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/int-mat2-struct/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  int f1;
+  mat2 f2;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 x_41 = mat2(vec2(0.0f), vec2(0.0f));
+  int x_6 = 0;
+  mat2 x_42 = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 x_49 = mat2(vec2(0.0f), vec2(0.0f));
+  if ((tint_symbol.x < 0.0f)) {
+    x_42 = mat2(vec2(1.0f, 2.0f), vec2(3.0f, 4.0f));
+    x_49 = mat2(vec2(1.0f, 2.0f), vec2(3.0f, 4.0f));
+  } else {
+    x_42 = mat2(vec2(0.5f, -0.5f), vec2(-0.5f, 0.5f));
+    x_49 = mat2(vec2(0.5f, -0.5f), vec2(-0.5f, 0.5f));
+  }
+  S x_51 = S(1, transpose(x_49));
+  int x_52 = x_51.f1;
+  x_6 = x_52;
+  x_41 = x_51.f2;
+  float v = float(x_52);
+  float v_1 = (x_41[0u].x + x_41[1u].x);
+  float v_2 = (x_41[0u].y + x_41[1u].y);
+  x_GLF_color = vec4(v, v_1, v_2, float(x_52));
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/int-mat2-struct/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/int-mat2-struct/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..91b24bd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/int-mat2-struct/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/int-mat2-struct/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  int f1;
+  mat2 f2;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat2 x_41 = mat2(vec2(0.0f), vec2(0.0f));
+  int x_6 = 0;
+  mat2 x_42 = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 x_49_phi = mat2(vec2(0.0f), vec2(0.0f));
+  float x_44 = tint_symbol.x;
+  if ((x_44 < 0.0f)) {
+    x_42 = mat2(vec2(1.0f, 2.0f), vec2(3.0f, 4.0f));
+    x_49_phi = mat2(vec2(1.0f, 2.0f), vec2(3.0f, 4.0f));
+  } else {
+    x_42 = mat2(vec2(0.5f, -0.5f), vec2(-0.5f, 0.5f));
+    x_49_phi = mat2(vec2(0.5f, -0.5f), vec2(-0.5f, 0.5f));
+  }
+  mat2 x_49 = x_49_phi;
+  S x_51 = S(1, transpose(x_49));
+  int x_52 = x_51.f1;
+  x_6 = x_52;
+  x_41 = x_51.f2;
+  mat2 x_56 = x_41;
+  mat2 x_59 = x_41;
+  mat2 x_63 = x_41;
+  mat2 x_66 = x_41;
+  float v = float(x_52);
+  x_GLF_color = vec4(v, (x_56[0u][0u] + x_59[1u][0u]), (x_63[0u][1u] + x_66[1u][1u]), float(x_52));
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:5: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..591ee7e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,92 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int k = 0;
+  int GLF_dead0j = 0;
+  int donor_replacementGLF_dead0stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int donor_replacementGLF_dead0top = 0;
+  int x_54 = 0;
+  vec4 matrix_b = vec4(0.0f);
+  int b = 0;
+  k = 0;
+  {
+    while(true) {
+      if ((k < 4)) {
+      } else {
+        break;
+      }
+      if ((0.0f > x_6.injectionSwitch.y)) {
+        GLF_dead0j = 1;
+        {
+          while(true) {
+            if ((1 <= donor_replacementGLF_dead0stack[0])) {
+            } else {
+              break;
+            }
+            {
+            }
+            continue;
+          }
+        }
+        if (((donor_replacementGLF_dead0top >= 0) & (donor_replacementGLF_dead0top < 9))) {
+          int x_17 = (donor_replacementGLF_dead0top + 1);
+          donor_replacementGLF_dead0top = x_17;
+          x_54 = x_17;
+        } else {
+          x_54 = 0;
+        }
+        int x_18 = x_54;
+        donor_replacementGLF_dead0stack[x_18] = 1;
+      }
+      matrix_b = vec4(0.0f);
+      b = 3;
+      {
+        while(true) {
+          if ((b >= 0)) {
+          } else {
+            break;
+          }
+          int x_20 = b;
+          matrix_b[x_20] = (matrix_b[b] - 1.0f);
+          {
+            b = (b - 1);
+          }
+          continue;
+        }
+      }
+      {
+        k = (k + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..cc065cf 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/loop-dead-if-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,103 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int k = 0;
+  int GLF_dead0j = 0;
+  int donor_replacementGLF_dead0stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int donor_replacementGLF_dead0top = 0;
+  int x_54 = 0;
+  vec4 matrix_b = vec4(0.0f);
+  int b = 0;
+  k = 0;
+  {
+    while(true) {
+      int x_12 = k;
+      if ((x_12 < 4)) {
+      } else {
+        break;
+      }
+      float x_62 = x_6.injectionSwitch.y;
+      if ((0.0f > x_62)) {
+        GLF_dead0j = 1;
+        {
+          while(true) {
+            int x_13 = donor_replacementGLF_dead0stack[0];
+            if ((1 <= x_13)) {
+            } else {
+              break;
+            }
+            {
+            }
+            continue;
+          }
+        }
+        int x_14 = donor_replacementGLF_dead0top;
+        int x_15 = donor_replacementGLF_dead0top;
+        if (((x_14 >= 0) & (x_15 < 9))) {
+          int x_16 = donor_replacementGLF_dead0top;
+          int x_17 = (x_16 + 1);
+          donor_replacementGLF_dead0top = x_17;
+          x_54 = x_17;
+        } else {
+          x_54 = 0;
+        }
+        int x_18 = x_54;
+        donor_replacementGLF_dead0stack[x_18] = 1;
+      }
+      matrix_b = vec4(0.0f);
+      b = 3;
+      {
+        while(true) {
+          int x_19 = b;
+          if ((x_19 >= 0)) {
+          } else {
+            break;
+          }
+          int x_20 = b;
+          int x_21 = b;
+          float x_87 = matrix_b[x_21];
+          matrix_b[x_20] = (x_87 - 1.0f);
+          {
+            int x_22 = b;
+            b = (x_22 - 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_24 = k;
+        k = (x_24 + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/loop-nested-ifs/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/loop-nested-ifs/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..c65a4f4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/loop-nested-ifs/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/loop-nested-ifs/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int j = 0;
+  float a = 0.0f;
+  j = 0;
+  {
+    while(true) {
+      if ((j < 2)) {
+      } else {
+        break;
+      }
+      if ((j < 1)) {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      }
+      if ((j != 3)) {
+        if ((j != 4)) {
+          if ((j == 5)) {
+            x_GLF_color[0u] = 4.0f;
+          } else {
+            a = 4.0f;
+            x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+          }
+        }
+      }
+      {
+        j = (j + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/loop-nested-ifs/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/loop-nested-ifs/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..ccb4af5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/loop-nested-ifs/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/loop-nested-ifs/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,61 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int j = 0;
+  float a = 0.0f;
+  j = 0;
+  {
+    while(true) {
+      int x_6 = j;
+      if ((x_6 < 2)) {
+      } else {
+        break;
+      }
+      int x_7 = j;
+      if ((x_7 < 1)) {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      }
+      int x_8 = j;
+      if ((x_8 != 3)) {
+        int x_9 = j;
+        if ((x_9 != 4)) {
+          int x_10 = j;
+          if ((x_10 == 5)) {
+            x_GLF_color[0u] = 4.0f;
+          } else {
+            a = 4.0f;
+            x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+          }
+        }
+      }
+      {
+        int x_11 = j;
+        j = (x_11 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/loops-ifs-continues-call/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/loops-ifs-continues-call/0.spvasm.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/loops-ifs-continues-call/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/loops-ifs-continues-call/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/loops-ifs-continues-call/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/loops-ifs-continues-call/0.wgsl.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/loops-ifs-continues-call/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/loops-ifs-continues-call/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/matrices-and-return-in-loop/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/matrices-and-return-in-loop/0.spvasm.expected.ir.glsl
index 0480431..268cb1f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/matrices-and-return-in-loop/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/matrices-and-return-in-loop/0.spvasm.expected.ir.glsl
@@ -1,11 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+vec3 f_mf22_(inout mat2 m) {
+  {
+    while(true) {
+      return vec3(1.0f);
+    }
+  }
+  /* unreachable */
+}
+void main_1() {
+  mat2 param = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 x_38 = mat2(vec2(0.0f), vec2(0.0f));
+  float x_34 = tint_symbol.x;
+  x_38 = mat2(vec2(0.0f), vec2(0.0f));
+  if ((x_34 >= 0.0f)) {
+    x_38 = mat2(vec2(1.0f, 0.0f), vec2(0.0f, 1.0f));
+  }
+  param = (x_38 * x_38);
+  vec3 x_40 = f_mf22_(param);
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/matrices-and-return-in-loop/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/matrices-and-return-in-loop/0.wgsl.expected.ir.glsl
index 0480431..faa6668 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/matrices-and-return-in-loop/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/matrices-and-return-in-loop/0.wgsl.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+vec3 f_mf22_(inout mat2 m) {
+  {
+    while(true) {
+      return vec3(1.0f);
+    }
+  }
+  /* unreachable */
+}
+void main_1() {
+  mat2 param = mat2(vec2(0.0f), vec2(0.0f));
+  mat2 x_38_phi = mat2(vec2(0.0f), vec2(0.0f));
+  float x_34 = tint_symbol.x;
+  x_38_phi = mat2(vec2(0.0f), vec2(0.0f));
+  if ((x_34 >= 0.0f)) {
+    x_38_phi = mat2(vec2(1.0f, 0.0f), vec2(0.0f, 1.0f));
+  }
+  mat2 x_38 = x_38_phi;
+  param = (x_38 * x_38);
+  vec3 x_40 = f_mf22_(param);
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/max-mix-conditional-discard/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/max-mix-conditional-discard/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/max-mix-conditional-discard/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/max-mix-conditional-discard/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/max-mix-conditional-discard/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/max-mix-conditional-discard/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/max-mix-conditional-discard/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/max-mix-conditional-discard/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/mix-floor-add/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/mix-floor-add/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..bb9f35e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/mix-floor-add/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/mix-floor-add/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 GLF_live6mand_() {
+  return vec3(926.0f, 8.0f, -8.85242279e-41f);
+}
+void main_1() {
+  vec3 x_27 = GLF_live6mand_();
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/mix-floor-add/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/mix-floor-add/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..bb9f35e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/mix-floor-add/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/mix-floor-add/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec3 GLF_live6mand_() {
+  return vec3(926.0f, 8.0f, -8.85242279e-41f);
+}
+void main_1() {
+  vec3 x_27 = GLF_live6mand_();
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/nested-for-break-mat-color/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/nested-for-break-mat-color/0.spvasm.expected.ir.glsl
index d4bb1c9..a3ae305 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/nested-for-break-mat-color/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/nested-for-break-mat-color/0.spvasm.expected.ir.glsl
@@ -1,11 +1,80 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat4 m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  int x_10 = 0;
+  m44 = mat4(vec4(1.0f, 2.0f, 3.0f, 4.0f), vec4(5.0f, 6.0f, 7.0f, 8.0f), vec4(9.0f, 10.0f, 11.0f, 12.0f), vec4(13.0f, 14.0f, 15.0f, 16.0f));
+  x_10 = 0;
+  {
+    while(true) {
+      int x_11 = 0;
+      int x_9 = 0;
+      if ((x_10 < 4)) {
+      } else {
+        break;
+      }
+      if ((tint_symbol.y < 0.0f)) {
+        break;
+      }
+      x_11 = 0;
+      {
+        while(true) {
+          int x_8 = 0;
+          if ((x_11 < 4)) {
+          } else {
+            break;
+          }
+          {
+            m44[x_10][x_11] = (m44[x_10][x_11] + x_7.one);
+            x_8 = (x_11 + 1);
+            x_11 = x_8;
+          }
+          continue;
+        }
+      }
+      {
+        x_9 = (x_10 + 1);
+        x_10 = x_9;
+      }
+      continue;
+    }
+  }
+  float x_77 = m44[1].y;
+  vec4 x_79_1 = vec4(0.0f);
+  x_79_1[0u] = (x_77 - 6.0f);
+  vec4 x_79 = x_79_1;
+  float x_81 = m44[2].z;
+  vec4 x_83_1 = x_79;
+  x_83_1[3u] = (x_81 - 11.0f);
+  x_GLF_color = x_83_1;
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/nested-for-break-mat-color/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/nested-for-break-mat-color/0.wgsl.expected.ir.glsl
index d4bb1c9..2de0f86 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/nested-for-break-mat-color/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/nested-for-break-mat-color/0.wgsl.expected.ir.glsl
@@ -1,11 +1,86 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  float one;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_7;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  mat4 m44 = mat4(vec4(0.0f), vec4(0.0f), vec4(0.0f), vec4(0.0f));
+  int x_10_phi = 0;
+  m44 = mat4(vec4(1.0f, 2.0f, 3.0f, 4.0f), vec4(5.0f, 6.0f, 7.0f, 8.0f), vec4(9.0f, 10.0f, 11.0f, 12.0f), vec4(13.0f, 14.0f, 15.0f, 16.0f));
+  x_10_phi = 0;
+  {
+    while(true) {
+      int x_9 = 0;
+      int x_11_phi = 0;
+      int x_10 = x_10_phi;
+      if ((x_10 < 4)) {
+      } else {
+        break;
+      }
+      float x_63 = tint_symbol.y;
+      if ((x_63 < 0.0f)) {
+        break;
+      }
+      x_11_phi = 0;
+      {
+        while(true) {
+          int x_8 = 0;
+          int x_11 = x_11_phi;
+          if ((x_11 < 4)) {
+          } else {
+            break;
+          }
+          {
+            float x_72 = x_7.one;
+            float x_74 = m44[x_10][x_11];
+            m44[x_10][x_11] = (x_74 + x_72);
+            x_8 = (x_11 + 1);
+            x_11_phi = x_8;
+          }
+          continue;
+        }
+      }
+      {
+        x_9 = (x_10 + 1);
+        x_10_phi = x_9;
+      }
+      continue;
+    }
+  }
+  float x_77 = m44[1].y;
+  vec4 x_79_1 = vec4(0.0f);
+  x_79_1[0u] = (x_77 - 6.0f);
+  vec4 x_79 = x_79_1;
+  float x_81 = m44[2].z;
+  vec4 x_83_1 = x_79;
+  x_83_1[3u] = (x_81 - 11.0f);
+  vec4 x_83 = x_83_1;
+  x_GLF_color = x_83;
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/nested-ifs-and-return-in-for-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/nested-ifs-and-return-in-for-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..fc4e443 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/nested-ifs-and-return-in-for-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/nested-ifs-and-return-in-for-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,54 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  int i = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  i = 0;
+  {
+    while(true) {
+      if ((i < 10)) {
+      } else {
+        break;
+      }
+      x_GLF_color = vec4(1.0f);
+      if ((1.0f > x_6.injectionSwitch.y)) {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+        if (true) {
+          return;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/nested-ifs-and-return-in-for-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/nested-ifs-and-return-in-for-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..e1e32df 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/nested-ifs-and-return-in-for-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/nested-ifs-and-return-in-for-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  int i = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  i = 0;
+  {
+    while(true) {
+      int x_7 = i;
+      if ((x_7 < 10)) {
+      } else {
+        break;
+      }
+      x_GLF_color = vec4(1.0f);
+      float x_39 = x_6.injectionSwitch.y;
+      if ((1.0f > x_39)) {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+        if (true) {
+          return;
+        }
+      }
+      {
+        int x_8 = i;
+        i = (x_8 + 1);
+      }
+      continue;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/nested-loops-switch/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/one-sized-array/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/one-sized-array/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..0472867 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/one-sized-array/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/one-sized-array/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  int zero;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  int x_10[1] = int[1](0);
+  int x_9[1] = int[1](0);
+  int x_7 = 0;
+  int x_11 = 0;
+  x_9[0] = x_5.zero;
+  x_10 = x_9;
+  x_7 = x_9[0];
+  switch(0u) {
+    default:
+    {
+      x_GLF_color = vec4(0.0f);
+      if ((x_10[0] == x_7)) {
+        x_11 = 1;
+        break;
+      }
+      x_11 = 2;
+      break;
+    }
+  }
+  if ((x_11 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/one-sized-array/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/one-sized-array/0-opt.wgsl.expected.ir.glsl
index 72ca17c..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/one-sized-array/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/one-sized-array/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/return-float-from-while-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/return-float-from-while-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f0888fe 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/return-float-from-while-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/return-float-from-while-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,64 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_30 = false;
+  float x_47 = 0.0f;
+  x_30 = (x_6.injectionSwitch.x > 1.0f);
+  if (x_30) {
+    {
+      while(true) {
+        {
+          while(true) {
+            if ((tint_symbol.x < 0.0f)) {
+              if (x_30) {
+                x_47 = 1.0f;
+                break;
+              } else {
+                {
+                }
+                continue;
+              }
+            }
+            x_47 = 0.0f;
+            break;
+          }
+        }
+        break;
+      }
+    }
+    vec4 x_48_1 = vec4(0.0f);
+    x_48_1[1u] = x_47;
+    x_GLF_color = x_48_1;
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/return-float-from-while-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/return-float-from-while-loop/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..ecbc869 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/return-float-from-while-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/return-float-from-while-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,69 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_30 = false;
+  float x_47 = 0.0f;
+  float x_29 = x_6.injectionSwitch.x;
+  x_30 = (x_29 > 1.0f);
+  if (x_30) {
+    {
+      while(true) {
+        float x_47_phi = 0.0f;
+        {
+          while(true) {
+            float x_41 = tint_symbol.x;
+            if ((x_41 < 0.0f)) {
+              if (x_30) {
+                x_47_phi = 1.0f;
+                break;
+              } else {
+                {
+                }
+                continue;
+              }
+            }
+            x_47_phi = 0.0f;
+            break;
+          }
+        }
+        x_47 = x_47_phi;
+        break;
+      }
+    }
+    vec4 x_48_1 = vec4(0.0f);
+    x_48_1[1u] = x_47;
+    vec4 x_48 = x_48_1;
+    x_GLF_color = x_48;
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/return-in-loop-in-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/return-in-loop-in-function/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..89af7b3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/return-in-loop-in-function/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/return-in-loop-in-function/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,68 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+float f_() {
+  int i = 0;
+  i = 1;
+  {
+    while(true) {
+      if ((i < 10)) {
+      } else {
+        break;
+      }
+      if ((float(i) >= 1.0f)) {
+        return 1.0f;
+      } else {
+        {
+          i = (i + 1);
+        }
+        continue;
+      }
+      /* unreachable */
+    }
+  }
+  return 1.0f;
+}
+void main_1() {
+  vec4 c = vec4(0.0f);
+  int i_1 = 0;
+  c = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  i_1 = 0;
+  {
+    while(true) {
+      if ((i_1 < 1)) {
+      } else {
+        break;
+      }
+      {
+        float x_39 = f_();
+        c[0u] = x_39;
+        i_1 = (i_1 + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = c;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/return-in-loop-in-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/return-in-loop-in-function/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..927e4c7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/return-in-loop-in-function/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/return-in-loop-in-function/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,74 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+float f_() {
+  int i = 0;
+  i = 1;
+  {
+    while(true) {
+      int x_8 = i;
+      if ((x_8 < 10)) {
+      } else {
+        break;
+      }
+      int x_9 = i;
+      if ((float(x_9) >= 1.0f)) {
+        return 1.0f;
+      } else {
+        {
+          int x_10 = i;
+          i = (x_10 + 1);
+        }
+        continue;
+      }
+      /* unreachable */
+    }
+  }
+  return 1.0f;
+}
+void main_1() {
+  vec4 c = vec4(0.0f);
+  int i_1 = 0;
+  c = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  i_1 = 0;
+  {
+    while(true) {
+      int x_12 = i_1;
+      if ((x_12 < 1)) {
+      } else {
+        break;
+      }
+      {
+        float x_39 = f_();
+        c[0u] = x_39;
+        int x_13 = i_1;
+        i_1 = (x_13 + 1);
+      }
+      continue;
+    }
+  }
+  vec4 x_41 = c;
+  x_GLF_color = x_41;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/return-inside-loop-in-function/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/return-inside-loop-in-function/0.spvasm.expected.ir.glsl
index d4bb1c9..e363a57 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/return-inside-loop-in-function/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/return-inside-loop-in-function/0.spvasm.expected.ir.glsl
@@ -1,11 +1,116 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_36 = false;
+  vec3 x_37 = vec3(0.0f);
+  int x_6 = 0;
+  vec3 x_38 = vec3(0.0f);
+  bool x_40 = false;
+  vec3 x_51 = vec3(0.0f);
+  vec3 x_54 = vec3(0.0f);
+  vec3 x_55 = vec3(0.0f);
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  x_36 = false;
+  x_40 = false;
+  {
+    while(true) {
+      bool x_45 = false;
+      int x_7 = 0;
+      bool x_52 = false;
+      x_6 = 0;
+      x_45 = x_40;
+      x_7 = 0;
+      {
+        while(true) {
+          x_51 = vec3(0.0f);
+          x_52 = x_45;
+          if ((x_7 < 0)) {
+          } else {
+            break;
+          }
+          x_36 = true;
+          x_37 = vec3(1.0f);
+          x_51 = vec3(1.0f);
+          x_52 = true;
+          break;
+        }
+      }
+      x_55 = x_51;
+      if (x_52) {
+        break;
+      }
+      x_54 = vec3(0.0f);
+      x_36 = true;
+      x_55 = x_54;
+      break;
+    }
+  }
+  x_38 = x_55;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+vec3 GLF_live4drawShape_() {
+  bool x_57 = false;
+  vec3 x_58 = vec3(0.0f);
+  int i = 0;
+  bool x_60 = false;
+  vec3 x_71 = vec3(0.0f);
+  vec3 x_74 = vec3(0.0f);
+  vec3 x_75 = vec3(0.0f);
+  x_60 = false;
+  {
+    while(true) {
+      bool x_65 = false;
+      int x_8 = 0;
+      bool x_72 = false;
+      i = 0;
+      x_65 = x_60;
+      x_8 = 0;
+      {
+        while(true) {
+          x_71 = vec3(0.0f);
+          x_72 = x_65;
+          if ((x_8 < 0)) {
+          } else {
+            break;
+          }
+          x_57 = true;
+          x_58 = vec3(1.0f);
+          x_71 = vec3(1.0f);
+          x_72 = true;
+          break;
+        }
+      }
+      x_75 = x_71;
+      if (x_72) {
+        break;
+      }
+      x_74 = vec3(0.0f);
+      x_57 = true;
+      x_75 = x_74;
+      break;
+    }
+  }
+  return x_75;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/return-inside-loop-in-function/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/return-inside-loop-in-function/0.wgsl.expected.ir.glsl
index d4bb1c9..43ccac4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/return-inside-loop-in-function/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/return-inside-loop-in-function/0.wgsl.expected.ir.glsl
@@ -1,11 +1,132 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_36 = false;
+  vec3 x_37 = vec3(0.0f);
+  int x_6 = 0;
+  vec3 x_38 = vec3(0.0f);
+  vec3 x_51 = vec3(0.0f);
+  vec3 x_54 = vec3(0.0f);
+  bool x_40_phi = false;
+  vec3 x_55_phi = vec3(0.0f);
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  x_36 = false;
+  x_40_phi = false;
+  {
+    while(true) {
+      bool x_45 = false;
+      bool x_45_phi = false;
+      int x_7_phi = 0;
+      vec3 x_51_phi = vec3(0.0f);
+      bool x_52_phi = false;
+      bool x_40 = x_40_phi;
+      x_6 = 0;
+      x_45_phi = x_40;
+      x_7_phi = 0;
+      {
+        while(true) {
+          x_45 = x_45_phi;
+          int x_7 = x_7_phi;
+          x_51_phi = vec3(0.0f);
+          x_52_phi = x_45;
+          if ((x_7 < 0)) {
+          } else {
+            break;
+          }
+          x_36 = true;
+          x_37 = vec3(1.0f);
+          x_51_phi = vec3(1.0f);
+          x_52_phi = true;
+          break;
+        }
+      }
+      x_51 = x_51_phi;
+      bool x_52 = x_52_phi;
+      x_55_phi = x_51;
+      if (x_52) {
+        break;
+      }
+      x_54 = vec3(0.0f);
+      x_36 = true;
+      x_55_phi = x_54;
+      break;
+    }
+  }
+  vec3 x_55 = x_55_phi;
+  x_38 = x_55;
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+vec3 GLF_live4drawShape_() {
+  bool x_57 = false;
+  vec3 x_58 = vec3(0.0f);
+  int i = 0;
+  vec3 x_71 = vec3(0.0f);
+  vec3 x_74 = vec3(0.0f);
+  bool x_60_phi = false;
+  vec3 x_75_phi = vec3(0.0f);
+  x_60_phi = false;
+  {
+    while(true) {
+      bool x_65 = false;
+      bool x_65_phi = false;
+      int x_8_phi = 0;
+      vec3 x_71_phi = vec3(0.0f);
+      bool x_72_phi = false;
+      bool x_60 = x_60_phi;
+      i = 0;
+      x_65_phi = x_60;
+      x_8_phi = 0;
+      {
+        while(true) {
+          x_65 = x_65_phi;
+          int x_8 = x_8_phi;
+          x_71_phi = vec3(0.0f);
+          x_72_phi = x_65;
+          if ((x_8 < 0)) {
+          } else {
+            break;
+          }
+          x_57 = true;
+          x_58 = vec3(1.0f);
+          x_71_phi = vec3(1.0f);
+          x_72_phi = true;
+          break;
+        }
+      }
+      x_71 = x_71_phi;
+      bool x_72 = x_72_phi;
+      x_75_phi = x_71;
+      if (x_72) {
+        break;
+      }
+      x_74 = vec3(0.0f);
+      x_57 = true;
+      x_75_phi = x_74;
+      break;
+    }
+  }
+  vec3 x_75 = x_75_phi;
+  return x_75;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/returned-boolean-in-vector/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/returned-boolean-in-vector/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..91d556b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/returned-boolean-in-vector/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/returned-boolean-in-vector/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,88 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_36 = false;
+  bool x_37 = false;
+  int x_7 = 0;
+  bool x_38 = false;
+  vec3 color = vec3(0.0f);
+  bool x_40 = false;
+  vec3 x_42 = vec3(0.0f);
+  vec3 x_43 = vec3(0.0f);
+  bool x_56 = false;
+  x_40 = false;
+  x_42 = vec3(0.0f);
+  {
+    while(true) {
+      float x_47 = x_5.injectionSwitch.y;
+      x_43 = x_42;
+      if ((x_47 < 0.0f)) {
+        color = vec3(1.0f);
+        x_43 = vec3(1.0f);
+      }
+      {
+        x_40 = x_40;
+        x_42 = x_43;
+        if (true) { break; }
+      }
+      continue;
+    }
+  }
+  x_36 = false;
+  x_56 = x_40;
+  {
+    while(true) {
+      bool x_62 = false;
+      x_7 = 0;
+      x_62 = x_56;
+      {
+        while(true) {
+          bool x_68 = true;
+          if (true) {
+          } else {
+            break;
+          }
+          x_36 = true;
+          x_37 = true;
+          break;
+        }
+      }
+      if (true) {
+        break;
+      }
+      x_36 = true;
+      break;
+    }
+  }
+  x_38 = true;
+  x_GLF_color = (vec4(x_43.x, x_43.y, x_43.z, 1.0f) + vec4(1.0f));
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/returned-boolean-in-vector/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/returned-boolean-in-vector/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..2adea4d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/returned-boolean-in-vector/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/returned-boolean-in-vector/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_36 = false;
+  bool x_37 = false;
+  int x_7 = 0;
+  bool x_38 = false;
+  vec3 color = vec3(0.0f);
+  bool x_40 = false;
+  vec3 x_43 = vec3(0.0f);
+  bool x_40_phi = false;
+  vec3 x_42_phi = vec3(0.0f);
+  bool x_56_phi = false;
+  bool x_58_phi = false;
+  x_40_phi = false;
+  x_42_phi = vec3(0.0f);
+  {
+    while(true) {
+      vec3 x_43_phi = vec3(0.0f);
+      x_40 = x_40_phi;
+      vec3 x_42 = x_42_phi;
+      float x_47 = x_5.injectionSwitch.y;
+      x_43_phi = x_42;
+      if ((x_47 < 0.0f)) {
+        color = vec3(1.0f);
+        x_43_phi = vec3(1.0f);
+      }
+      x_43 = x_43_phi;
+      {
+        x_40_phi = x_40;
+        x_42_phi = x_43;
+        if (true) { break; }
+      }
+      continue;
+    }
+  }
+  x_36 = false;
+  x_56_phi = x_40;
+  x_58_phi = false;
+  {
+    while(true) {
+      bool x_62 = false;
+      bool x_62_phi = false;
+      bool x_64_phi = false;
+      int x_65_phi = 0;
+      bool x_70_phi = false;
+      bool x_71_phi = false;
+      bool x_56 = x_56_phi;
+      bool x_58 = x_58_phi;
+      x_7 = 0;
+      x_62_phi = x_56;
+      x_64_phi = false;
+      x_65_phi = 0;
+      {
+        while(true) {
+          x_62 = x_62_phi;
+          bool x_64 = x_64_phi;
+          int x_65 = x_65_phi;
+          bool x_68 = true;
+          x_70_phi = x_62;
+          x_71_phi = false;
+          if (true) {
+          } else {
+            break;
+          }
+          x_36 = true;
+          x_37 = true;
+          x_70_phi = true;
+          x_71_phi = true;
+          break;
+        }
+      }
+      bool x_70 = x_70_phi;
+      bool x_71 = x_71_phi;
+      if (true) {
+        break;
+      }
+      x_36 = true;
+      break;
+    }
+  }
+  x_38 = true;
+  float x_73 = 1.0f;
+  vec4 v = vec4(x_43.x, x_43.y, x_43.z, 1.0f);
+  x_GLF_color = (v + vec4(x_73, x_73, x_73, x_73));
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/set-color-in-one-iteration-while-loop/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/set-color-in-one-iteration-while-loop/0.spvasm.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/set-color-in-one-iteration-while-loop/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/set-color-in-one-iteration-while-loop/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/set-color-in-one-iteration-while-loop/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/set-color-in-one-iteration-while-loop/0.wgsl.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/set-color-in-one-iteration-while-loop/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/set-color-in-one-iteration-while-loop/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/similar-nested-ifs/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/similar-nested-ifs/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/similar-nested-ifs/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/similar-nested-ifs/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/similar-nested-ifs/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/similar-nested-ifs/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/similar-nested-ifs/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/similar-nested-ifs/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/smoothstep-after-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/smoothstep-after-loop/0-opt.spvasm.expected.ir.glsl
index 0480431..2b01465 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/smoothstep-after-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/smoothstep-after-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,46 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int GLF_live9r = 0;
+  float g = 0.0f;
+  {
+    while(true) {
+      if (true) {
+      } else {
+        break;
+      }
+      if (true) {
+        break;
+      }
+      int x_32 = min(max(GLF_live9r, 0), 1);
+      {
+      }
+      continue;
+    }
+  }
+  g = 3.0f;
+  x_GLF_color = vec4(smoothstep(0.0f, 1.0f, g), 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/smoothstep-after-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/smoothstep-after-loop/0-opt.wgsl.expected.ir.glsl
index 0480431..4b314f6 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/smoothstep-after-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/smoothstep-after-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,48 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int GLF_live9r = 0;
+  float g = 0.0f;
+  {
+    while(true) {
+      if (true) {
+      } else {
+        break;
+      }
+      if (true) {
+        break;
+      }
+      int x_31 = GLF_live9r;
+      int x_32 = min(max(x_31, 0), 1);
+      {
+      }
+      continue;
+    }
+  }
+  g = 3.0f;
+  float x_33 = g;
+  x_GLF_color = vec4(smoothstep(0.0f, 1.0f, x_33), 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-access-chains/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-access-chains/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-access-chains/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-access-chains/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-access-chains/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-access-chains/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-access-chains/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-access-chains/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/0.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/1.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite-phi/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/0.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/0.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/1.spvasm.expected.ir.glsl
index a1254f2..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Swizzle
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composite2/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/0.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/0.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/1.spvasm.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-composites/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-dead-break-and-unroll/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-dead-break-and-unroll/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-dead-break-and-unroll/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-dead-break-and-unroll/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-dead-break-and-unroll/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-dead-break-and-unroll/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-dead-break-and-unroll/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-dead-break-and-unroll/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/1.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/1.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-declare-bvec4/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/0.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/0.wgsl.expected.ir.glsl
index d4bb1c9..259ce65 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/0.wgsl.expected.ir.glsl
@@ -1,11 +1,136 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 resolution;
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int x_40_phi = 0;
+  int x_52_phi = 0;
+  x_40_phi = 0;
+  {
+    while(true) {
+      int x_41 = 0;
+      int x_40 = x_40_phi;
+      if ((x_40 < 10)) {
+      } else {
+        break;
+      }
+      {
+        float x_48 = x_9.injectionSwitch.y;
+        data[x_40] = (float((10 - x_40)) * x_48);
+        x_41 = (x_40 + 1);
+        x_40_phi = x_41;
+      }
+      continue;
+    }
+  }
+  x_52_phi = 0;
+  {
+    while(true) {
+      int x_53 = 0;
+      int x_59_phi = 0;
+      int x_52 = x_52_phi;
+      if ((x_52 < 9)) {
+      } else {
+        break;
+      }
+      x_59_phi = 0;
+      {
+        while(true) {
+          bool x_82 = false;
+          bool x_83 = false;
+          int x_60 = 0;
+          bool x_84_phi = false;
+          int x_59 = x_59_phi;
+          if ((x_59 < 10)) {
+          } else {
+            break;
+          }
+          if ((x_59 < (x_52 + 1))) {
+            {
+              x_60 = (x_59 + 1);
+              x_59_phi = x_60;
+            }
+            continue;
+          }
+          int x_69_save = x_52;
+          float x_70 = data[x_69_save];
+          int x_71_save = x_59;
+          float x_72 = data[x_71_save];
+          float x_74 = tint_symbol.y;
+          float x_76 = x_6.resolution.y;
+          if ((x_74 < (x_76 * 0.5f))) {
+            x_82 = (x_70 > x_72);
+            x_84_phi = x_82;
+          } else {
+            x_83 = (x_70 < x_72);
+            x_84_phi = x_83;
+          }
+          bool x_84 = x_84_phi;
+          if (x_84) {
+            float x_87 = data[x_69_save];
+            float x_88 = data[x_71_save];
+            data[x_69_save] = x_88;
+            data[x_71_save] = x_87;
+          }
+          {
+            x_60 = (x_59 + 1);
+            x_59_phi = x_60;
+          }
+          continue;
+        }
+      }
+      {
+        x_53 = (x_52 + 1);
+        x_52_phi = x_53;
+      }
+      continue;
+    }
+  }
+  float x_90 = tint_symbol.x;
+  float x_92 = x_6.resolution.x;
+  if ((x_90 < (x_92 * 0.5f))) {
+    float x_99 = data[0];
+    float x_102 = data[5];
+    float x_105 = data[9];
+    x_GLF_color = vec4((x_99 * 0.10000000149011611938f), (x_102 * 0.10000000149011611938f), (x_105 * 0.10000000149011611938f), 1.0f);
+  } else {
+    float x_109 = data[5];
+    float x_112 = data[9];
+    float x_115 = data[0];
+    x_GLF_color = vec4((x_109 * 0.10000000149011611938f), (x_112 * 0.10000000149011611938f), (x_115 * 0.10000000149011611938f), 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/1.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/1.wgsl.expected.ir.glsl
index d4bb1c9..ccbd9ff 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block2/1.wgsl.expected.ir.glsl
@@ -1,11 +1,136 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 resolution;
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_6;
+uniform buf0 x_9;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int x_41_phi = 0;
+  int x_53_phi = 0;
+  x_41_phi = 0;
+  {
+    while(true) {
+      int x_42 = 0;
+      int x_41 = x_41_phi;
+      if ((x_41 < 10)) {
+      } else {
+        break;
+      }
+      {
+        float x_49 = x_9.injectionSwitch.y;
+        data[x_41] = (float((10 - x_41)) * x_49);
+        x_42 = (x_41 + 1);
+        x_41_phi = x_42;
+      }
+      continue;
+    }
+  }
+  x_53_phi = 0;
+  {
+    while(true) {
+      int x_54 = 0;
+      int x_60_phi = 0;
+      int x_53 = x_53_phi;
+      if ((x_53 < 9)) {
+      } else {
+        break;
+      }
+      x_60_phi = 0;
+      {
+        while(true) {
+          bool x_83 = false;
+          bool x_84 = false;
+          int x_61 = 0;
+          bool x_85_phi = false;
+          int x_60 = x_60_phi;
+          if ((x_60 < 10)) {
+          } else {
+            break;
+          }
+          if ((x_60 < (x_53 + 1))) {
+            {
+              x_61 = (x_60 + 1);
+              x_60_phi = x_61;
+            }
+            continue;
+          }
+          int x_70_save = x_53;
+          float x_71 = data[x_70_save];
+          int x_72_save = x_60;
+          float x_73 = data[x_72_save];
+          float x_75 = tint_symbol.y;
+          float x_77 = x_6.resolution.y;
+          if ((x_75 < (x_77 * 0.5f))) {
+            x_83 = (x_71 > x_73);
+            x_85_phi = x_83;
+          } else {
+            x_84 = (x_71 < x_73);
+            x_85_phi = x_84;
+          }
+          bool x_85 = x_85_phi;
+          if (x_85) {
+            float x_88 = data[x_70_save];
+            float x_89 = data[x_72_save];
+            data[x_70_save] = x_89;
+            data[x_72_save] = x_88;
+          }
+          {
+            x_61 = (x_60 + 1);
+            x_60_phi = x_61;
+          }
+          continue;
+        }
+      }
+      {
+        x_54 = (x_53 + 1);
+        x_53_phi = x_54;
+      }
+      continue;
+    }
+  }
+  float x_91 = tint_symbol.x;
+  float x_93 = x_6.resolution.x;
+  if ((x_91 < (x_93 * 0.5f))) {
+    float x_100 = data[0];
+    float x_103 = data[5];
+    float x_106 = data[9];
+    x_GLF_color = vec4((x_100 * 0.10000000149011611938f), (x_103 * 0.10000000149011611938f), (x_106 * 0.10000000149011611938f), 1.0f);
+  } else {
+    float x_110 = data[5];
+    float x_113 = data[9];
+    float x_116 = data[0];
+    x_GLF_color = vec4((x_110 * 0.10000000149011611938f), (x_113 * 0.10000000149011611938f), (x_116 * 0.10000000149011611938f), 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-double-branch-to-same-block3/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-load-from-frag-color/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-null-in-phi-and-unroll/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-null-in-phi-and-unroll/1.spvasm.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-null-in-phi-and-unroll/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-null-in-phi-and-unroll/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-null-in-phi-and-unroll/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-null-in-phi-and-unroll/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-null-in-phi-and-unroll/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-null-in-phi-and-unroll/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/1.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/2.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/2.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/2.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/2.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/2.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/2.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bifurcation-Os-mutate-var-vector-shuffle/2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/0.spvasm.expected.ir.glsl
index e1168e3..3dcd96e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/0.spvasm.expected.ir.glsl
@@ -1,11 +1,122 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 resolution;
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_9;
+uniform buf0 x_13;
+vec4 x_GLF_color = vec4(0.0f);
+bool checkSwap_f1_f1_(inout float a, inout float b) {
+  bool x_144 = false;
+  if ((tint_symbol.y < (x_9.resolution.y / 2.0f))) {
+    x_144 = (a > b);
+  } else {
+    x_144 = (a < b);
+  }
+  bool x_160 = x_144;
+  return x_160;
+}
+void main_1() {
+  int i = 0;
+  float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int i_1 = 0;
+  int j = 0;
+  bool doSwap = false;
+  float param = 0.0f;
+  float param_1 = 0.0f;
+  float temp = 0.0f;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 10)) {
+      } else {
+        break;
+      }
+      int x_59 = i;
+      float v = float((10 - i));
+      data[x_59] = (v * x_13.injectionSwitch.y);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  i_1 = 0;
+  {
+    while(true) {
+      if ((i_1 < 9)) {
+      } else {
+        break;
+      }
+      j = 0;
+      {
+        while(true) {
+          if ((j < 10)) {
+          } else {
+            break;
+          }
+          if ((j < (i_1 + 1))) {
+            {
+              j = (j + 1);
+            }
+            continue;
+          }
+          int x_90 = j;
+          param = data[i_1];
+          param_1 = data[x_90];
+          bool x_95 = checkSwap_f1_f1_(param, param_1);
+          doSwap = x_95;
+          if (doSwap) {
+            temp = data[i_1];
+            int x_102 = i_1;
+            data[x_102] = data[j];
+            int x_107 = j;
+            data[x_107] = temp;
+          }
+          {
+            j = (j + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i_1 = (i_1 + 1);
+      }
+      continue;
+    }
+  }
+  if ((tint_symbol.x < (x_9.resolution.x / 2.0f))) {
+    x_GLF_color = vec4((data[0] / 10.0f), (data[5] / 10.0f), (data[9] / 10.0f), 1.0f);
+  } else {
+    x_GLF_color = vec4((data[5] / 10.0f), (data[9] / 10.0f), (data[0] / 10.0f), 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/0.wgsl.expected.ir.glsl
index 4a20bc7..0db984f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/0.wgsl.expected.ir.glsl
@@ -1,11 +1,155 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 resolution;
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_9;
+uniform buf0 x_13;
+vec4 x_GLF_color = vec4(0.0f);
+bool checkSwap_f1_f1_(inout float a, inout float b) {
+  bool x_144 = false;
+  float x_146 = tint_symbol.y;
+  float x_148 = x_9.resolution.y;
+  if ((x_146 < (x_148 / 2.0f))) {
+    float x_154 = a;
+    float x_155 = b;
+    x_144 = (x_154 > x_155);
+  } else {
+    float x_157 = a;
+    float x_158 = b;
+    x_144 = (x_157 < x_158);
+  }
+  bool x_160 = x_144;
+  return x_160;
+}
+void main_1() {
+  int i = 0;
+  float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int i_1 = 0;
+  int j = 0;
+  bool doSwap = false;
+  float param = 0.0f;
+  float param_1 = 0.0f;
+  float temp = 0.0f;
+  i = 0;
+  {
+    while(true) {
+      int x_56 = i;
+      if ((x_56 < 10)) {
+      } else {
+        break;
+      }
+      int x_59 = i;
+      int x_60 = i;
+      float x_64 = x_13.injectionSwitch.y;
+      data[x_59] = (float((10 - x_60)) * x_64);
+      {
+        int x_67 = i;
+        i = (x_67 + 1);
+      }
+      continue;
+    }
+  }
+  i_1 = 0;
+  {
+    while(true) {
+      int x_73 = i_1;
+      if ((x_73 < 9)) {
+      } else {
+        break;
+      }
+      j = 0;
+      {
+        while(true) {
+          int x_80 = j;
+          if ((x_80 < 10)) {
+          } else {
+            break;
+          }
+          int x_83 = j;
+          int x_84 = i_1;
+          if ((x_83 < (x_84 + 1))) {
+            {
+              int x_110 = j;
+              j = (x_110 + 1);
+            }
+            continue;
+          }
+          int x_89 = i_1;
+          int x_90 = j;
+          float x_92 = data[x_89];
+          param = x_92;
+          float x_94 = data[x_90];
+          param_1 = x_94;
+          bool x_95 = checkSwap_f1_f1_(param, param_1);
+          doSwap = x_95;
+          bool x_96 = doSwap;
+          if (x_96) {
+            int x_99 = i_1;
+            float x_101 = data[x_99];
+            temp = x_101;
+            int x_102 = i_1;
+            int x_103 = j;
+            float x_105 = data[x_103];
+            data[x_102] = x_105;
+            int x_107 = j;
+            float x_108 = temp;
+            data[x_107] = x_108;
+          }
+          {
+            int x_110 = j;
+            j = (x_110 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_112 = i_1;
+        i_1 = (x_112 + 1);
+      }
+      continue;
+    }
+  }
+  float x_115 = tint_symbol.x;
+  float x_117 = x_9.resolution.x;
+  if ((x_115 < (x_117 / 2.0f))) {
+    float x_124 = data[0];
+    float x_127 = data[5];
+    float x_130 = data[9];
+    x_GLF_color = vec4((x_124 / 10.0f), (x_127 / 10.0f), (x_130 / 10.0f), 1.0f);
+  } else {
+    float x_134 = data[5];
+    float x_137 = data[9];
+    float x_140 = data[0];
+    x_GLF_color = vec4((x_134 / 10.0f), (x_137 / 10.0f), (x_140 / 10.0f), 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/1.spvasm.expected.ir.glsl
index ae9b6d0..cb91f76 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/1.spvasm.expected.ir.glsl
@@ -1,11 +1,179 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 resolution;
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_9;
+uniform buf0 x_13;
+vec4 x_GLF_color = vec4(0.0f);
+bool checkSwap_f1_f1_(inout float a, inout float b) {
+  bool x_147 = false;
+  float x_158 = 0.0f;
+  float x_159 = 0.0f;
+  float x_160 = 0.0f;
+  float x_179 = 0.0f;
+  float x_178 = 0.0f;
+  float x_180 = 0.0f;
+  float x_185 = 0.0f;
+  float x_184 = 0.0f;
+  float x_186 = 0.0f;
+  bool x_153 = (tint_symbol.y < (x_9.resolution.y / 2.0f));
+  if (x_153) {
+    x_158 = a;
+    x_160 = x_158;
+  } else {
+    x_159 = 0.0f;
+    x_160 = x_159;
+  }
+  float x_166 = 0.0f;
+  float x_167 = 0.0f;
+  float x_168 = 0.0f;
+  bool guard155 = true;
+  if (false) {
+  } else {
+    if (guard155) {
+      if (x_153) {
+        x_166 = b;
+        x_168 = x_166;
+      } else {
+        x_167 = 0.0f;
+        x_168 = x_167;
+      }
+      bool x_169 = (x_160 > x_168);
+      if (x_153) {
+        x_147 = x_169;
+      }
+      if (true) {
+      } else {
+        guard155 = false;
+      }
+      if (guard155) {
+        guard155 = false;
+      }
+    }
+  }
+  if (x_153) {
+    x_179 = 0.0f;
+    x_180 = x_179;
+  } else {
+    x_178 = a;
+    x_180 = x_178;
+  }
+  if (x_153) {
+    x_185 = 0.0f;
+    x_186 = x_185;
+  } else {
+    x_184 = b;
+    x_186 = x_184;
+  }
+  if (x_153) {
+  } else {
+    x_147 = (x_180 < x_186);
+  }
+  bool x_191 = x_147;
+  return x_191;
+}
+void main_1() {
+  int i = 0;
+  float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int i_1 = 0;
+  int j = 0;
+  bool doSwap = false;
+  float param = 0.0f;
+  float param_1 = 0.0f;
+  float temp = 0.0f;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 10)) {
+      } else {
+        break;
+      }
+      int x_62 = i;
+      float v = float((10 - i));
+      data[x_62] = (v * x_13.injectionSwitch.y);
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  i_1 = 0;
+  {
+    while(true) {
+      if ((i_1 < 9)) {
+      } else {
+        break;
+      }
+      j = 0;
+      {
+        while(true) {
+          if ((j < 10)) {
+          } else {
+            break;
+          }
+          if ((j < (i_1 + 1))) {
+            {
+              j = (j + 1);
+            }
+            continue;
+          }
+          int x_93 = j;
+          param = data[i_1];
+          param_1 = data[x_93];
+          bool x_98 = checkSwap_f1_f1_(param, param_1);
+          doSwap = x_98;
+          if (doSwap) {
+            temp = data[i_1];
+            int x_105 = i_1;
+            data[x_105] = data[j];
+            int x_110 = j;
+            data[x_110] = temp;
+          }
+          {
+            j = (j + 1);
+          }
+          continue;
+        }
+      }
+      {
+        i_1 = (i_1 + 1);
+      }
+      continue;
+    }
+  }
+  if ((tint_symbol.x < (x_9.resolution.x / 2.0f))) {
+    x_GLF_color = vec4((data[0] / 10.0f), (data[5] / 10.0f), (data[9] / 10.0f), 1.0f);
+  } else {
+    x_GLF_color = vec4((data[5] / 10.0f), (data[9] / 10.0f), (data[0] / 10.0f), 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/1.wgsl.expected.ir.glsl
index 4a20bc7..db25de3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-bubblesort-flag-complex-conditionals/1.wgsl.expected.ir.glsl
@@ -1,11 +1,212 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf1 {
+  vec2 resolution;
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf1 x_9;
+uniform buf0 x_13;
+vec4 x_GLF_color = vec4(0.0f);
+bool checkSwap_f1_f1_(inout float a, inout float b) {
+  bool x_147 = false;
+  float x_158 = 0.0f;
+  float x_159 = 0.0f;
+  float x_179 = 0.0f;
+  float x_178 = 0.0f;
+  float x_185 = 0.0f;
+  float x_184 = 0.0f;
+  float x_160_phi = 0.0f;
+  float x_180_phi = 0.0f;
+  float x_186_phi = 0.0f;
+  float x_149 = tint_symbol.y;
+  float x_151 = x_9.resolution.y;
+  bool x_153 = (x_149 < (x_151 / 2.0f));
+  if (x_153) {
+    x_158 = a;
+    x_160_phi = x_158;
+  } else {
+    x_159 = 0.0f;
+    x_160_phi = x_159;
+  }
+  float x_166 = 0.0f;
+  float x_167 = 0.0f;
+  float x_168_phi = 0.0f;
+  float x_160 = x_160_phi;
+  bool guard155 = true;
+  if (false) {
+  } else {
+    if (guard155) {
+      if (x_153) {
+        x_166 = b;
+        x_168_phi = x_166;
+      } else {
+        x_167 = 0.0f;
+        x_168_phi = x_167;
+      }
+      float x_168 = x_168_phi;
+      bool x_169 = (x_160 > x_168);
+      if (x_153) {
+        x_147 = x_169;
+      }
+      if (true) {
+      } else {
+        guard155 = false;
+      }
+      if (guard155) {
+        guard155 = false;
+      }
+    }
+  }
+  if (x_153) {
+    x_179 = 0.0f;
+    x_180_phi = x_179;
+  } else {
+    x_178 = a;
+    x_180_phi = x_178;
+  }
+  float x_180 = x_180_phi;
+  if (x_153) {
+    x_185 = 0.0f;
+    x_186_phi = x_185;
+  } else {
+    x_184 = b;
+    x_186_phi = x_184;
+  }
+  float x_186 = x_186_phi;
+  if (x_153) {
+  } else {
+    x_147 = (x_180 < x_186);
+  }
+  bool x_191 = x_147;
+  return x_191;
+}
+void main_1() {
+  int i = 0;
+  float data[10] = float[10](0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f);
+  int i_1 = 0;
+  int j = 0;
+  bool doSwap = false;
+  float param = 0.0f;
+  float param_1 = 0.0f;
+  float temp = 0.0f;
+  i = 0;
+  {
+    while(true) {
+      int x_59 = i;
+      if ((x_59 < 10)) {
+      } else {
+        break;
+      }
+      int x_62 = i;
+      int x_63 = i;
+      float x_67 = x_13.injectionSwitch.y;
+      data[x_62] = (float((10 - x_63)) * x_67);
+      {
+        int x_70 = i;
+        i = (x_70 + 1);
+      }
+      continue;
+    }
+  }
+  i_1 = 0;
+  {
+    while(true) {
+      int x_76 = i_1;
+      if ((x_76 < 9)) {
+      } else {
+        break;
+      }
+      j = 0;
+      {
+        while(true) {
+          int x_83 = j;
+          if ((x_83 < 10)) {
+          } else {
+            break;
+          }
+          int x_86 = j;
+          int x_87 = i_1;
+          if ((x_86 < (x_87 + 1))) {
+            {
+              int x_113 = j;
+              j = (x_113 + 1);
+            }
+            continue;
+          }
+          int x_92 = i_1;
+          int x_93 = j;
+          float x_95 = data[x_92];
+          param = x_95;
+          float x_97 = data[x_93];
+          param_1 = x_97;
+          bool x_98 = checkSwap_f1_f1_(param, param_1);
+          doSwap = x_98;
+          bool x_99 = doSwap;
+          if (x_99) {
+            int x_102 = i_1;
+            float x_104 = data[x_102];
+            temp = x_104;
+            int x_105 = i_1;
+            int x_106 = j;
+            float x_108 = data[x_106];
+            data[x_105] = x_108;
+            int x_110 = j;
+            float x_111 = temp;
+            data[x_110] = x_111;
+          }
+          {
+            int x_113 = j;
+            j = (x_113 + 1);
+          }
+          continue;
+        }
+      }
+      {
+        int x_115 = i_1;
+        i_1 = (x_115 + 1);
+      }
+      continue;
+    }
+  }
+  float x_118 = tint_symbol.x;
+  float x_120 = x_9.resolution.x;
+  if ((x_118 < (x_120 / 2.0f))) {
+    float x_127 = data[0];
+    float x_130 = data[5];
+    float x_133 = data[9];
+    x_GLF_color = vec4((x_127 / 10.0f), (x_130 / 10.0f), (x_133 / 10.0f), 1.0f);
+  } else {
+    float x_137 = data[5];
+    float x_140 = data[9];
+    float x_143 = data[0];
+    x_GLF_color = vec4((x_137 / 10.0f), (x_140 / 10.0f), (x_143 / 10.0f), 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/0.spvasm.expected.ir.glsl
index 6c6485e..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBuiltinCall
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/0.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/1.spvasm.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-collatz-O-mutate-composite-construct-extract/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-colorgrid-modulo-O-move-block-down/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-colorgrid-modulo-O-move-block-down/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-colorgrid-modulo-O-move-block-down/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-colorgrid-modulo-O-move-block-down/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-colorgrid-modulo-O-move-block-down/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-colorgrid-modulo-O-move-block-down/1.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-colorgrid-modulo-O-move-block-down/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-colorgrid-modulo-O-move-block-down/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/2.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/2.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/2.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/2.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/2.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/2.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-maze-flatten-copy-composite/2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-O-prop-up-mutate-var/2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-dead-code/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-flatten-selection-dead-continues/2-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-mergesort-func-inline-mutate-var/2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/0.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/0.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/1.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-O-mutate-variable/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/0.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/0.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/1.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/2.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/2.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/2.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/2.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/2.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/2.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-orbit-Os-access-chain-mutate-pointer/2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/1.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/2.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/2.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/2.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/2.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/2.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/2.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-O-op-select-to-op-phi/2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/0.spvasm.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/0.wgsl.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/1.spvasm.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/1.wgsl.expected.ir.glsl
index 0480431..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-pillars-volatile-nontemporal-store/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Loop
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-dontinline/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-dontinline/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4c38376 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-dontinline/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-dontinline/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,197 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_32;
+vec4 x_GLF_color = vec4(0.0f);
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  temp = obj.numbers[i];
+  int x_228 = i;
+  obj.numbers[x_228] = obj.numbers[j];
+  int x_233 = j;
+  obj.numbers[x_233] = temp;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  pivot = obj.numbers[h];
+  i_1 = (l - 1);
+  j_1 = l;
+  {
+    while(true) {
+      if ((j_1 <= (h - 1))) {
+      } else {
+        break;
+      }
+      if ((obj.numbers[j_1] <= pivot)) {
+        i_1 = (i_1 + 1);
+        param = i_1;
+        param_1 = j_1;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        j_1 = (j_1 + 1);
+      }
+      continue;
+    }
+  }
+  i_1 = (i_1 + 1);
+  param_2 = i_1;
+  param_3 = h;
+  swap_i1_i1_(param_2, param_3);
+  int x_271 = i_1;
+  return x_271;
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_274 = (top + 1);
+  top = x_274;
+  stack[x_274] = l_1;
+  int x_278 = (top + 1);
+  top = x_278;
+  stack[x_278] = h_1;
+  {
+    while(true) {
+      if ((top >= 0)) {
+      } else {
+        break;
+      }
+      int x_288 = top;
+      top = (top - 1);
+      h_1 = stack[x_288];
+      int x_292 = top;
+      top = (top - 1);
+      l_1 = stack[x_292];
+      param_4 = l_1;
+      param_5 = h_1;
+      int x_298 = performPartition_i1_i1_(param_4, param_5);
+      p = x_298;
+      if (((p - 1) > l_1)) {
+        int x_306 = (top + 1);
+        top = x_306;
+        stack[x_306] = l_1;
+        int x_310 = (top + 1);
+        top = x_310;
+        stack[x_310] = (p - 1);
+      }
+      if (((p + 1) < h_1)) {
+        int x_321 = (top + 1);
+        top = x_321;
+        stack[x_321] = (p + 1);
+        int x_326 = (top + 1);
+        top = x_326;
+        stack[x_326] = h_1;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  i_2 = 0;
+  {
+    while(true) {
+      if ((i_2 < 10)) {
+      } else {
+        break;
+      }
+      int x_88 = i_2;
+      obj.numbers[x_88] = (10 - i_2);
+      int x_92 = i_2;
+      obj.numbers[x_92] = (obj.numbers[i_2] * obj.numbers[i_2]);
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  uv = (tint_symbol.xy / x_32.resolution);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  float v = color.x;
+  color[0u] = (v + float(obj.numbers[0]));
+  if ((uv.x > 0.25f)) {
+    float v_1 = color.x;
+    color[0u] = (v_1 + float(obj.numbers[1]));
+  }
+  if ((uv.x > 0.5f)) {
+    float v_2 = color.y;
+    color[1u] = (v_2 + float(obj.numbers[2]));
+  }
+  if ((uv.x > 0.75f)) {
+    float v_3 = color.z;
+    color[2u] = (v_3 + float(obj.numbers[3]));
+  }
+  float v_4 = color.y;
+  color[1u] = (v_4 + float(obj.numbers[4]));
+  if ((uv.y > 0.25f)) {
+    float v_5 = color.x;
+    color[0u] = (v_5 + float(obj.numbers[5]));
+  }
+  if ((uv.y > 0.5f)) {
+    float v_6 = color.y;
+    color[1u] = (v_6 + float(obj.numbers[6]));
+  }
+  if ((uv.y > 0.75f)) {
+    float v_7 = color.z;
+    color[2u] = (v_7 + float(obj.numbers[7]));
+  }
+  float v_8 = color.z;
+  color[2u] = (v_8 + float(obj.numbers[8]));
+  if ((abs((uv.x - uv.y)) < 0.25f)) {
+    float v_9 = color.x;
+    color[0u] = (v_9 + float(obj.numbers[9]));
+  }
+  vec3 x_219 = normalize(color);
+  x_GLF_color = vec4(x_219[0u], x_219[1u], x_219[2u], 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-dontinline/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-dontinline/0-opt.wgsl.expected.ir.glsl
index 72ca17c..c0fe5af 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-dontinline/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-dontinline/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,267 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_32;
+vec4 x_GLF_color = vec4(0.0f);
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  int x_225 = i;
+  int x_227 = obj.numbers[x_225];
+  temp = x_227;
+  int x_228 = i;
+  int x_229 = j;
+  int x_231 = obj.numbers[x_229];
+  obj.numbers[x_228] = x_231;
+  int x_233 = j;
+  int x_234 = temp;
+  obj.numbers[x_233] = x_234;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  int x_237 = h;
+  int x_239 = obj.numbers[x_237];
+  pivot = x_239;
+  int x_240 = l;
+  i_1 = (x_240 - 1);
+  int x_242 = l;
+  j_1 = x_242;
+  {
+    while(true) {
+      int x_247 = j_1;
+      int x_248 = h;
+      if ((x_247 <= (x_248 - 1))) {
+      } else {
+        break;
+      }
+      int x_252 = j_1;
+      int x_254 = obj.numbers[x_252];
+      int x_255 = pivot;
+      if ((x_254 <= x_255)) {
+        int x_259 = i_1;
+        i_1 = (x_259 + 1);
+        int x_261 = i_1;
+        param = x_261;
+        int x_262 = j_1;
+        param_1 = x_262;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        int x_264 = j_1;
+        j_1 = (x_264 + 1);
+      }
+      continue;
+    }
+  }
+  int x_266 = i_1;
+  i_1 = (x_266 + 1);
+  int x_268 = i_1;
+  param_2 = x_268;
+  int x_269 = h;
+  param_3 = x_269;
+  swap_i1_i1_(param_2, param_3);
+  int x_271 = i_1;
+  return x_271;
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_273 = top;
+  int x_274 = (x_273 + 1);
+  top = x_274;
+  int x_275 = l_1;
+  stack[x_274] = x_275;
+  int x_277 = top;
+  int x_278 = (x_277 + 1);
+  top = x_278;
+  int x_279 = h_1;
+  stack[x_278] = x_279;
+  {
+    while(true) {
+      int x_285 = top;
+      if ((x_285 >= 0)) {
+      } else {
+        break;
+      }
+      int x_288 = top;
+      top = (x_288 - 1);
+      int x_291 = stack[x_288];
+      h_1 = x_291;
+      int x_292 = top;
+      top = (x_292 - 1);
+      int x_295 = stack[x_292];
+      l_1 = x_295;
+      int x_296 = l_1;
+      param_4 = x_296;
+      int x_297 = h_1;
+      param_5 = x_297;
+      int x_298 = performPartition_i1_i1_(param_4, param_5);
+      p = x_298;
+      int x_299 = p;
+      int x_301 = l_1;
+      if (((x_299 - 1) > x_301)) {
+        int x_305 = top;
+        int x_306 = (x_305 + 1);
+        top = x_306;
+        int x_307 = l_1;
+        stack[x_306] = x_307;
+        int x_309 = top;
+        int x_310 = (x_309 + 1);
+        top = x_310;
+        int x_311 = p;
+        stack[x_310] = (x_311 - 1);
+      }
+      int x_314 = p;
+      int x_316 = h_1;
+      if (((x_314 + 1) < x_316)) {
+        int x_320 = top;
+        int x_321 = (x_320 + 1);
+        top = x_321;
+        int x_322 = p;
+        stack[x_321] = (x_322 + 1);
+        int x_325 = top;
+        int x_326 = (x_325 + 1);
+        top = x_326;
+        int x_327 = h_1;
+        stack[x_326] = x_327;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  i_2 = 0;
+  {
+    while(true) {
+      int x_85 = i_2;
+      if ((x_85 < 10)) {
+      } else {
+        break;
+      }
+      int x_88 = i_2;
+      int x_89 = i_2;
+      obj.numbers[x_88] = (10 - x_89);
+      int x_92 = i_2;
+      int x_93 = i_2;
+      int x_95 = obj.numbers[x_93];
+      int x_96 = i_2;
+      int x_98 = obj.numbers[x_96];
+      obj.numbers[x_92] = (x_95 * x_98);
+      {
+        int x_101 = i_2;
+        i_2 = (x_101 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  vec4 x_104 = tint_symbol;
+  vec2 x_107 = x_32.resolution;
+  uv = (vec2(x_104[0u], x_104[1u]) / x_107);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  int x_110 = obj.numbers[0];
+  float x_113 = color.x;
+  color[0u] = (x_113 + float(x_110));
+  float x_117 = uv.x;
+  if ((x_117 > 0.25f)) {
+    int x_122 = obj.numbers[1];
+    float x_125 = color.x;
+    color[0u] = (x_125 + float(x_122));
+  }
+  float x_129 = uv.x;
+  if ((x_129 > 0.5f)) {
+    int x_134 = obj.numbers[2];
+    float x_137 = color.y;
+    color[1u] = (x_137 + float(x_134));
+  }
+  float x_141 = uv.x;
+  if ((x_141 > 0.75f)) {
+    int x_146 = obj.numbers[3];
+    float x_149 = color.z;
+    color[2u] = (x_149 + float(x_146));
+  }
+  int x_153 = obj.numbers[4];
+  float x_156 = color.y;
+  color[1u] = (x_156 + float(x_153));
+  float x_160 = uv.y;
+  if ((x_160 > 0.25f)) {
+    int x_165 = obj.numbers[5];
+    float x_168 = color.x;
+    color[0u] = (x_168 + float(x_165));
+  }
+  float x_172 = uv.y;
+  if ((x_172 > 0.5f)) {
+    int x_177 = obj.numbers[6];
+    float x_180 = color.y;
+    color[1u] = (x_180 + float(x_177));
+  }
+  float x_184 = uv.y;
+  if ((x_184 > 0.75f)) {
+    int x_189 = obj.numbers[7];
+    float x_192 = color.z;
+    color[2u] = (x_192 + float(x_189));
+  }
+  int x_196 = obj.numbers[8];
+  float x_199 = color.z;
+  color[2u] = (x_199 + float(x_196));
+  float x_203 = uv.x;
+  float x_205 = uv.y;
+  if ((abs((x_203 - x_205)) < 0.25f)) {
+    int x_212 = obj.numbers[9];
+    float x_215 = color.x;
+    color[0u] = (x_215 + float(x_212));
+  }
+  vec3 x_218 = color;
+  vec3 x_219 = normalize(x_218);
+  x_GLF_color = vec4(x_219[0u], x_219[1u], x_219[2u], 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-mat-func-param/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-mat-func-param/1.spvasm.expected.ir.glsl
index d4bb1c9..4196c84 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-mat-func-param/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-mat-func-param/1.spvasm.expected.ir.glsl
@@ -1,11 +1,197 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_32;
+vec4 x_GLF_color = vec4(0.0f);
+void swap_i1_i1_(inout int i, inout int j, mat3 x_228) {
+  int temp = 0;
+  temp = obj.numbers[i];
+  int x_233 = i;
+  obj.numbers[x_233] = obj.numbers[j];
+  int x_238 = j;
+  obj.numbers[x_238] = temp;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  pivot = obj.numbers[h];
+  i_1 = (l - 1);
+  j_1 = l;
+  {
+    while(true) {
+      if ((j_1 <= (h - 1))) {
+      } else {
+        break;
+      }
+      if ((obj.numbers[j_1] <= pivot)) {
+        i_1 = (i_1 + 1);
+        param = i_1;
+        param_1 = j_1;
+        swap_i1_i1_(param, param_1, mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)));
+      }
+      {
+        j_1 = (j_1 + 1);
+      }
+      continue;
+    }
+  }
+  i_1 = (i_1 + 1);
+  param_2 = i_1;
+  param_3 = h;
+  swap_i1_i1_(param_2, param_3, mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)));
+  int x_276 = i_1;
+  return x_276;
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_279 = (top + 1);
+  top = x_279;
+  stack[x_279] = l_1;
+  int x_283 = (top + 1);
+  top = x_283;
+  stack[x_283] = h_1;
+  {
+    while(true) {
+      if ((top >= 0)) {
+      } else {
+        break;
+      }
+      int x_293 = top;
+      top = (top - 1);
+      h_1 = stack[x_293];
+      int x_297 = top;
+      top = (top - 1);
+      l_1 = stack[x_297];
+      param_4 = l_1;
+      param_5 = h_1;
+      int x_303 = performPartition_i1_i1_(param_4, param_5);
+      p = x_303;
+      if (((p - 1) > l_1)) {
+        int x_311 = (top + 1);
+        top = x_311;
+        stack[x_311] = l_1;
+        int x_315 = (top + 1);
+        top = x_315;
+        stack[x_315] = (p - 1);
+      }
+      if (((p + 1) < h_1)) {
+        int x_326 = (top + 1);
+        top = x_326;
+        stack[x_326] = (p + 1);
+        int x_331 = (top + 1);
+        top = x_331;
+        stack[x_331] = h_1;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  i_2 = 0;
+  {
+    while(true) {
+      if ((i_2 < 10)) {
+      } else {
+        break;
+      }
+      int x_92 = i_2;
+      obj.numbers[x_92] = (10 - i_2);
+      int x_96 = i_2;
+      obj.numbers[x_96] = (obj.numbers[i_2] * obj.numbers[i_2]);
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  uv = (tint_symbol.xy / x_32.resolution);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  float v = color.x;
+  color[0u] = (v + float(obj.numbers[0]));
+  if ((uv.x > 0.25f)) {
+    float v_1 = color.x;
+    color[0u] = (v_1 + float(obj.numbers[1]));
+  }
+  if ((uv.x > 0.5f)) {
+    float v_2 = color.y;
+    color[1u] = (v_2 + float(obj.numbers[2]));
+  }
+  if ((uv.x > 0.75f)) {
+    float v_3 = color.z;
+    color[2u] = (v_3 + float(obj.numbers[3]));
+  }
+  float v_4 = color.y;
+  color[1u] = (v_4 + float(obj.numbers[4]));
+  if ((uv.y > 0.25f)) {
+    float v_5 = color.x;
+    color[0u] = (v_5 + float(obj.numbers[5]));
+  }
+  if ((uv.y > 0.5f)) {
+    float v_6 = color.y;
+    color[1u] = (v_6 + float(obj.numbers[6]));
+  }
+  if ((uv.y > 0.75f)) {
+    float v_7 = color.z;
+    color[2u] = (v_7 + float(obj.numbers[7]));
+  }
+  float v_8 = color.z;
+  color[2u] = (v_8 + float(obj.numbers[8]));
+  if ((abs((uv.x - uv.y)) < 0.25f)) {
+    float v_9 = color.x;
+    color[0u] = (v_9 + float(obj.numbers[9]));
+  }
+  vec3 x_223 = normalize(color);
+  x_GLF_color = vec4(x_223[0u], x_223[1u], x_223[2u], 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-mat-func-param/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-mat-func-param/1.wgsl.expected.ir.glsl
index 72ca17c..ee815c2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-mat-func-param/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-quicksort-mat-func-param/1.wgsl.expected.ir.glsl
@@ -1,11 +1,267 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_32;
+vec4 x_GLF_color = vec4(0.0f);
+void swap_i1_i1_(inout int i, inout int j, mat3 x_228) {
+  int temp = 0;
+  int x_230 = i;
+  int x_232 = obj.numbers[x_230];
+  temp = x_232;
+  int x_233 = i;
+  int x_234 = j;
+  int x_236 = obj.numbers[x_234];
+  obj.numbers[x_233] = x_236;
+  int x_238 = j;
+  int x_239 = temp;
+  obj.numbers[x_238] = x_239;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  int x_242 = h;
+  int x_244 = obj.numbers[x_242];
+  pivot = x_244;
+  int x_245 = l;
+  i_1 = (x_245 - 1);
+  int x_247 = l;
+  j_1 = x_247;
+  {
+    while(true) {
+      int x_252 = j_1;
+      int x_253 = h;
+      if ((x_252 <= (x_253 - 1))) {
+      } else {
+        break;
+      }
+      int x_257 = j_1;
+      int x_259 = obj.numbers[x_257];
+      int x_260 = pivot;
+      if ((x_259 <= x_260)) {
+        int x_264 = i_1;
+        i_1 = (x_264 + 1);
+        int x_266 = i_1;
+        param = x_266;
+        int x_267 = j_1;
+        param_1 = x_267;
+        swap_i1_i1_(param, param_1, mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)));
+      }
+      {
+        int x_269 = j_1;
+        j_1 = (x_269 + 1);
+      }
+      continue;
+    }
+  }
+  int x_271 = i_1;
+  i_1 = (x_271 + 1);
+  int x_273 = i_1;
+  param_2 = x_273;
+  int x_274 = h;
+  param_3 = x_274;
+  swap_i1_i1_(param_2, param_3, mat3(vec3(0.0f), vec3(0.0f), vec3(0.0f)));
+  int x_276 = i_1;
+  return x_276;
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_278 = top;
+  int x_279 = (x_278 + 1);
+  top = x_279;
+  int x_280 = l_1;
+  stack[x_279] = x_280;
+  int x_282 = top;
+  int x_283 = (x_282 + 1);
+  top = x_283;
+  int x_284 = h_1;
+  stack[x_283] = x_284;
+  {
+    while(true) {
+      int x_290 = top;
+      if ((x_290 >= 0)) {
+      } else {
+        break;
+      }
+      int x_293 = top;
+      top = (x_293 - 1);
+      int x_296 = stack[x_293];
+      h_1 = x_296;
+      int x_297 = top;
+      top = (x_297 - 1);
+      int x_300 = stack[x_297];
+      l_1 = x_300;
+      int x_301 = l_1;
+      param_4 = x_301;
+      int x_302 = h_1;
+      param_5 = x_302;
+      int x_303 = performPartition_i1_i1_(param_4, param_5);
+      p = x_303;
+      int x_304 = p;
+      int x_306 = l_1;
+      if (((x_304 - 1) > x_306)) {
+        int x_310 = top;
+        int x_311 = (x_310 + 1);
+        top = x_311;
+        int x_312 = l_1;
+        stack[x_311] = x_312;
+        int x_314 = top;
+        int x_315 = (x_314 + 1);
+        top = x_315;
+        int x_316 = p;
+        stack[x_315] = (x_316 - 1);
+      }
+      int x_319 = p;
+      int x_321 = h_1;
+      if (((x_319 + 1) < x_321)) {
+        int x_325 = top;
+        int x_326 = (x_325 + 1);
+        top = x_326;
+        int x_327 = p;
+        stack[x_326] = (x_327 + 1);
+        int x_330 = top;
+        int x_331 = (x_330 + 1);
+        top = x_331;
+        int x_332 = h_1;
+        stack[x_331] = x_332;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  i_2 = 0;
+  {
+    while(true) {
+      int x_89 = i_2;
+      if ((x_89 < 10)) {
+      } else {
+        break;
+      }
+      int x_92 = i_2;
+      int x_93 = i_2;
+      obj.numbers[x_92] = (10 - x_93);
+      int x_96 = i_2;
+      int x_97 = i_2;
+      int x_99 = obj.numbers[x_97];
+      int x_100 = i_2;
+      int x_102 = obj.numbers[x_100];
+      obj.numbers[x_96] = (x_99 * x_102);
+      {
+        int x_105 = i_2;
+        i_2 = (x_105 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  vec4 x_108 = tint_symbol;
+  vec2 x_111 = x_32.resolution;
+  uv = (vec2(x_108[0u], x_108[1u]) / x_111);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  int x_114 = obj.numbers[0];
+  float x_117 = color.x;
+  color[0u] = (x_117 + float(x_114));
+  float x_121 = uv.x;
+  if ((x_121 > 0.25f)) {
+    int x_126 = obj.numbers[1];
+    float x_129 = color.x;
+    color[0u] = (x_129 + float(x_126));
+  }
+  float x_133 = uv.x;
+  if ((x_133 > 0.5f)) {
+    int x_138 = obj.numbers[2];
+    float x_141 = color.y;
+    color[1u] = (x_141 + float(x_138));
+  }
+  float x_145 = uv.x;
+  if ((x_145 > 0.75f)) {
+    int x_150 = obj.numbers[3];
+    float x_153 = color.z;
+    color[2u] = (x_153 + float(x_150));
+  }
+  int x_157 = obj.numbers[4];
+  float x_160 = color.y;
+  color[1u] = (x_160 + float(x_157));
+  float x_164 = uv.y;
+  if ((x_164 > 0.25f)) {
+    int x_169 = obj.numbers[5];
+    float x_172 = color.x;
+    color[0u] = (x_172 + float(x_169));
+  }
+  float x_176 = uv.y;
+  if ((x_176 > 0.5f)) {
+    int x_181 = obj.numbers[6];
+    float x_184 = color.y;
+    color[1u] = (x_184 + float(x_181));
+  }
+  float x_188 = uv.y;
+  if ((x_188 > 0.75f)) {
+    int x_193 = obj.numbers[7];
+    float x_196 = color.z;
+    color[2u] = (x_196 + float(x_193));
+  }
+  int x_200 = obj.numbers[8];
+  float x_203 = color.z;
+  color[2u] = (x_203 + float(x_200));
+  float x_207 = uv.x;
+  float x_209 = uv.y;
+  if ((abs((x_207 - x_209)) < 0.25f)) {
+    int x_216 = obj.numbers[9];
+    float x_219 = color.x;
+    color[0u] = (x_219 + float(x_216));
+  }
+  vec3 x_222 = color;
+  vec3 x_223 = normalize(x_222);
+  x_GLF_color = vec4(x_223[0u], x_223[1u], x_223[2u], 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:8: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/1.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/2.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/2.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/2.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/2.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/2.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/2.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/2.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/spv-stable-rects-Os-mutate-var-push-through-var/2.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-false-if-discard-loop/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.spvasm.expected.ir.glsl
index d4bb1c9..4f8983b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.spvasm.expected.ir.glsl
@@ -1,11 +1,232 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct BST {
+  int data;
+  int leftIndex;
+  int rightIndex;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+BST tree_1[10] = BST[10](BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0));
+vec4 x_GLF_color = vec4(0.0f);
+void makeTreeNode_struct_BST_i1_i1_i11_i1_(inout BST tree, inout int data) {
+  tree.data = data;
+  tree.leftIndex = -1;
+  tree.rightIndex = -1;
+}
+void insert_i1_i1_(inout int treeIndex, inout int data_1) {
+  int baseIndex = 0;
+  BST param = BST(0, 0, 0);
+  int param_1 = 0;
+  BST param_2 = BST(0, 0, 0);
+  int param_3 = 0;
+  baseIndex = 0;
+  {
+    while(true) {
+      if ((baseIndex <= treeIndex)) {
+      } else {
+        break;
+      }
+      if ((data_1 <= tree_1[baseIndex].data)) {
+        if ((tree_1[baseIndex].leftIndex == -1)) {
+          int x_186 = baseIndex;
+          tree_1[x_186].leftIndex = treeIndex;
+          int x_189 = treeIndex;
+          param = tree_1[x_189];
+          param_1 = data_1;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param, param_1);
+          tree_1[x_189] = param;
+          return;
+        } else {
+          baseIndex = tree_1[baseIndex].leftIndex;
+          {
+          }
+          continue;
+        }
+      } else {
+        if ((tree_1[baseIndex].rightIndex == -1)) {
+          int x_206 = baseIndex;
+          tree_1[x_206].rightIndex = treeIndex;
+          int x_209 = treeIndex;
+          param_2 = tree_1[x_209];
+          param_3 = data_1;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param_2, param_3);
+          tree_1[x_209] = param_2;
+          return;
+        } else {
+          baseIndex = tree_1[baseIndex].rightIndex;
+          {
+          }
+          continue;
+        }
+      }
+      /* unreachable */
+    }
+  }
+}
+int search_i1_(inout int t) {
+  int index = 0;
+  BST currentNode = BST(0, 0, 0);
+  int x_220 = 0;
+  index = 0;
+  {
+    while(true) {
+      if ((index != -1)) {
+      } else {
+        break;
+      }
+      currentNode = tree_1[index];
+      if ((currentNode.data == t)) {
+        int x_237 = t;
+        return x_237;
+      }
+      if ((t > currentNode.data)) {
+        x_220 = currentNode.rightIndex;
+      } else {
+        x_220 = currentNode.leftIndex;
+      }
+      index = x_220;
+      {
+      }
+      continue;
+    }
+  }
+  return -1;
+}
+void main_1() {
+  int treeIndex_1 = 0;
+  BST param_4 = BST(0, 0, 0);
+  int param_5 = 0;
+  int param_6 = 0;
+  int param_7 = 0;
+  int param_8 = 0;
+  int param_9 = 0;
+  int param_10 = 0;
+  int param_11 = 0;
+  int param_12 = 0;
+  int param_13 = 0;
+  int param_14 = 0;
+  int param_15 = 0;
+  int param_16 = 0;
+  int param_17 = 0;
+  int param_18 = 0;
+  int param_19 = 0;
+  int param_20 = 0;
+  int param_21 = 0;
+  int param_22 = 0;
+  int param_23 = 0;
+  int count = 0;
+  int i = 0;
+  int result = 0;
+  int param_24 = 0;
+  treeIndex_1 = 0;
+  param_4 = tree_1[0];
+  param_5 = 9;
+  makeTreeNode_struct_BST_i1_i1_i11_i1_(param_4, param_5);
+  tree_1[0] = param_4;
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_6 = treeIndex_1;
+  param_7 = 5;
+  insert_i1_i1_(param_6, param_7);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_8 = treeIndex_1;
+  param_9 = 12;
+  insert_i1_i1_(param_8, param_9);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_10 = treeIndex_1;
+  param_11 = 15;
+  insert_i1_i1_(param_10, param_11);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_12 = treeIndex_1;
+  param_13 = 7;
+  insert_i1_i1_(param_12, param_13);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_14 = treeIndex_1;
+  param_15 = 8;
+  insert_i1_i1_(param_14, param_15);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_16 = treeIndex_1;
+  param_17 = 2;
+  insert_i1_i1_(param_16, param_17);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_18 = treeIndex_1;
+  param_19 = 6;
+  insert_i1_i1_(param_18, param_19);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_20 = treeIndex_1;
+  param_21 = 17;
+  insert_i1_i1_(param_20, param_21);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_22 = treeIndex_1;
+  param_23 = 13;
+  insert_i1_i1_(param_22, param_23);
+  count = 0;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 20)) {
+      } else {
+        break;
+      }
+      param_24 = i;
+      int x_132 = search_i1_(param_24);
+      result = x_132;
+      int x_133 = i;
+      switch(x_133) {
+        case 2:
+        case 5:
+        case 6:
+        case 7:
+        case 8:
+        case 9:
+        case 12:
+        case 13:
+        case 15:
+        case 17:
+        {
+          if ((result == i)) {
+            count = (count + 1);
+          }
+          break;
+        }
+        default:
+        {
+          if ((result == -1)) {
+            count = (count + 1);
+          }
+          break;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((count == 20)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 1.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.wgsl.expected.ir.glsl
index 72ca17c..d513d5b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/0.wgsl.expected.ir.glsl
@@ -1,11 +1,293 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct BST {
+  int data;
+  int leftIndex;
+  int rightIndex;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+BST tree_1[10] = BST[10](BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0));
+vec4 x_GLF_color = vec4(0.0f);
+void makeTreeNode_struct_BST_i1_i1_i11_i1_(inout BST tree, inout int data) {
+  int x_158 = data;
+  tree.data = x_158;
+  tree.leftIndex = -1;
+  tree.rightIndex = -1;
+}
+void insert_i1_i1_(inout int treeIndex, inout int data_1) {
+  int baseIndex = 0;
+  BST param = BST(0, 0, 0);
+  int param_1 = 0;
+  BST param_2 = BST(0, 0, 0);
+  int param_3 = 0;
+  baseIndex = 0;
+  {
+    while(true) {
+      int x_167 = baseIndex;
+      int x_168 = treeIndex;
+      if ((x_167 <= x_168)) {
+      } else {
+        break;
+      }
+      int x_171 = data_1;
+      int x_172 = baseIndex;
+      int x_174 = tree_1[x_172].data;
+      if ((x_171 <= x_174)) {
+        int x_179 = baseIndex;
+        int x_181 = tree_1[x_179].leftIndex;
+        if ((x_181 == -1)) {
+          int x_186 = baseIndex;
+          int x_187 = treeIndex;
+          tree_1[x_186].leftIndex = x_187;
+          int x_189 = treeIndex;
+          BST x_191 = tree_1[x_189];
+          param = x_191;
+          int x_192 = data_1;
+          param_1 = x_192;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param, param_1);
+          BST x_194 = param;
+          tree_1[x_189] = x_194;
+          return;
+        } else {
+          int x_196 = baseIndex;
+          int x_198 = tree_1[x_196].leftIndex;
+          baseIndex = x_198;
+          {
+          }
+          continue;
+        }
+      } else {
+        int x_199 = baseIndex;
+        int x_201 = tree_1[x_199].rightIndex;
+        if ((x_201 == -1)) {
+          int x_206 = baseIndex;
+          int x_207 = treeIndex;
+          tree_1[x_206].rightIndex = x_207;
+          int x_209 = treeIndex;
+          BST x_211 = tree_1[x_209];
+          param_2 = x_211;
+          int x_212 = data_1;
+          param_3 = x_212;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param_2, param_3);
+          BST x_214 = param_2;
+          tree_1[x_209] = x_214;
+          return;
+        } else {
+          int x_216 = baseIndex;
+          int x_218 = tree_1[x_216].rightIndex;
+          baseIndex = x_218;
+          {
+          }
+          continue;
+        }
+      }
+      /* unreachable */
+    }
+  }
+}
+int search_i1_(inout int t) {
+  int index = 0;
+  BST currentNode = BST(0, 0, 0);
+  int x_220 = 0;
+  index = 0;
+  {
+    while(true) {
+      int x_225 = index;
+      if ((x_225 != -1)) {
+      } else {
+        break;
+      }
+      int x_228 = index;
+      BST x_230 = tree_1[x_228];
+      currentNode = x_230;
+      int x_232 = currentNode.data;
+      int x_233 = t;
+      if ((x_232 == x_233)) {
+        int x_237 = t;
+        return x_237;
+      }
+      int x_238 = t;
+      int x_240 = currentNode.data;
+      if ((x_238 > x_240)) {
+        int x_246 = currentNode.rightIndex;
+        x_220 = x_246;
+      } else {
+        int x_248 = currentNode.leftIndex;
+        x_220 = x_248;
+      }
+      int x_249 = x_220;
+      index = x_249;
+      {
+      }
+      continue;
+    }
+  }
+  return -1;
+}
+void main_1() {
+  int treeIndex_1 = 0;
+  BST param_4 = BST(0, 0, 0);
+  int param_5 = 0;
+  int param_6 = 0;
+  int param_7 = 0;
+  int param_8 = 0;
+  int param_9 = 0;
+  int param_10 = 0;
+  int param_11 = 0;
+  int param_12 = 0;
+  int param_13 = 0;
+  int param_14 = 0;
+  int param_15 = 0;
+  int param_16 = 0;
+  int param_17 = 0;
+  int param_18 = 0;
+  int param_19 = 0;
+  int param_20 = 0;
+  int param_21 = 0;
+  int param_22 = 0;
+  int param_23 = 0;
+  int count = 0;
+  int i = 0;
+  int result = 0;
+  int param_24 = 0;
+  treeIndex_1 = 0;
+  BST x_84 = tree_1[0];
+  param_4 = x_84;
+  param_5 = 9;
+  makeTreeNode_struct_BST_i1_i1_i11_i1_(param_4, param_5);
+  BST x_86 = param_4;
+  tree_1[0] = x_86;
+  int x_88 = treeIndex_1;
+  treeIndex_1 = (x_88 + 1);
+  int x_90 = treeIndex_1;
+  param_6 = x_90;
+  param_7 = 5;
+  insert_i1_i1_(param_6, param_7);
+  int x_92 = treeIndex_1;
+  treeIndex_1 = (x_92 + 1);
+  int x_94 = treeIndex_1;
+  param_8 = x_94;
+  param_9 = 12;
+  insert_i1_i1_(param_8, param_9);
+  int x_96 = treeIndex_1;
+  treeIndex_1 = (x_96 + 1);
+  int x_98 = treeIndex_1;
+  param_10 = x_98;
+  param_11 = 15;
+  insert_i1_i1_(param_10, param_11);
+  int x_100 = treeIndex_1;
+  treeIndex_1 = (x_100 + 1);
+  int x_102 = treeIndex_1;
+  param_12 = x_102;
+  param_13 = 7;
+  insert_i1_i1_(param_12, param_13);
+  int x_104 = treeIndex_1;
+  treeIndex_1 = (x_104 + 1);
+  int x_106 = treeIndex_1;
+  param_14 = x_106;
+  param_15 = 8;
+  insert_i1_i1_(param_14, param_15);
+  int x_108 = treeIndex_1;
+  treeIndex_1 = (x_108 + 1);
+  int x_110 = treeIndex_1;
+  param_16 = x_110;
+  param_17 = 2;
+  insert_i1_i1_(param_16, param_17);
+  int x_112 = treeIndex_1;
+  treeIndex_1 = (x_112 + 1);
+  int x_114 = treeIndex_1;
+  param_18 = x_114;
+  param_19 = 6;
+  insert_i1_i1_(param_18, param_19);
+  int x_116 = treeIndex_1;
+  treeIndex_1 = (x_116 + 1);
+  int x_118 = treeIndex_1;
+  param_20 = x_118;
+  param_21 = 17;
+  insert_i1_i1_(param_20, param_21);
+  int x_120 = treeIndex_1;
+  treeIndex_1 = (x_120 + 1);
+  int x_122 = treeIndex_1;
+  param_22 = x_122;
+  param_23 = 13;
+  insert_i1_i1_(param_22, param_23);
+  count = 0;
+  i = 0;
+  {
+    while(true) {
+      int x_128 = i;
+      if ((x_128 < 20)) {
+      } else {
+        break;
+      }
+      int x_131 = i;
+      param_24 = x_131;
+      int x_132 = search_i1_(param_24);
+      result = x_132;
+      int x_133 = i;
+      switch(x_133) {
+        case 2:
+        case 5:
+        case 6:
+        case 7:
+        case 8:
+        case 9:
+        case 12:
+        case 13:
+        case 15:
+        case 17:
+        {
+          int x_143 = result;
+          int x_144 = i;
+          if ((x_143 == x_144)) {
+            int x_148 = count;
+            count = (x_148 + 1);
+          }
+          break;
+        }
+        default:
+        {
+          int x_137 = result;
+          if ((x_137 == -1)) {
+            int x_141 = count;
+            count = (x_141 + 1);
+          }
+          break;
+        }
+      }
+      {
+        int x_150 = i;
+        i = (x_150 + 1);
+      }
+      continue;
+    }
+  }
+  int x_152 = count;
+  if ((x_152 == 20)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 1.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.spvasm.expected.ir.glsl
index d4bb1c9..0021e2f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.spvasm.expected.ir.glsl
@@ -1,11 +1,242 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct BST {
+  int data;
+  int leftIndex;
+  int rightIndex;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+BST tree_1[10] = BST[10](BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0));
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void makeTreeNode_struct_BST_i1_i1_i11_i1_(inout BST tree, inout int data) {
+  tree.data = data;
+  tree.leftIndex = -1;
+  tree.rightIndex = -1;
+}
+void insert_i1_i1_(inout int treeIndex, inout int data_1) {
+  int baseIndex = 0;
+  BST param = BST(0, 0, 0);
+  int param_1 = 0;
+  BST param_2 = BST(0, 0, 0);
+  int param_3 = 0;
+  baseIndex = 0;
+  {
+    while(true) {
+      if ((baseIndex <= treeIndex)) {
+      } else {
+        break;
+      }
+      if ((data_1 <= tree_1[baseIndex].data)) {
+        if ((tree_1[baseIndex].leftIndex == -1)) {
+          int x_197 = baseIndex;
+          tree_1[x_197].leftIndex = treeIndex;
+          int x_200 = treeIndex;
+          param = tree_1[x_200];
+          param_1 = data_1;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param, param_1);
+          tree_1[x_200] = param;
+          return;
+        } else {
+          baseIndex = tree_1[baseIndex].leftIndex;
+          {
+          }
+          continue;
+        }
+      } else {
+        if ((tree_1[baseIndex].rightIndex == -1)) {
+          int x_217 = baseIndex;
+          tree_1[x_217].rightIndex = treeIndex;
+          int x_220 = treeIndex;
+          param_2 = tree_1[x_220];
+          param_3 = data_1;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param_2, param_3);
+          tree_1[x_220] = param_2;
+          return;
+        } else {
+          baseIndex = tree_1[baseIndex].rightIndex;
+          {
+          }
+          continue;
+        }
+      }
+      /* unreachable */
+    }
+  }
+}
+int search_i1_(inout int t) {
+  int index = 0;
+  BST currentNode = BST(0, 0, 0);
+  int x_231 = 0;
+  index = 0;
+  {
+    while(true) {
+      if ((index != -1)) {
+      } else {
+        break;
+      }
+      currentNode = tree_1[index];
+      if ((currentNode.data == t)) {
+        int x_248 = t;
+        return x_248;
+      }
+      if ((t > currentNode.data)) {
+        x_231 = currentNode.rightIndex;
+      } else {
+        x_231 = currentNode.leftIndex;
+      }
+      index = x_231;
+      {
+      }
+      continue;
+    }
+  }
+  return -1;
+}
+void main_1() {
+  int treeIndex_1 = 0;
+  BST param_4 = BST(0, 0, 0);
+  int param_5 = 0;
+  int param_6 = 0;
+  int param_7 = 0;
+  int param_8 = 0;
+  int param_9 = 0;
+  int param_10 = 0;
+  int param_11 = 0;
+  int param_12 = 0;
+  int param_13 = 0;
+  int param_14 = 0;
+  int param_15 = 0;
+  int param_16 = 0;
+  int param_17 = 0;
+  int param_18 = 0;
+  int param_19 = 0;
+  int param_20 = 0;
+  int param_21 = 0;
+  int param_22 = 0;
+  int param_23 = 0;
+  int count = 0;
+  int i = 0;
+  int result = 0;
+  int param_24 = 0;
+  treeIndex_1 = 0;
+  param_4 = tree_1[0];
+  param_5 = 9;
+  makeTreeNode_struct_BST_i1_i1_i11_i1_(param_4, param_5);
+  tree_1[0] = param_4;
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_6 = treeIndex_1;
+  param_7 = 5;
+  insert_i1_i1_(param_6, param_7);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_8 = treeIndex_1;
+  param_9 = 12;
+  insert_i1_i1_(param_8, param_9);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_10 = treeIndex_1;
+  param_11 = 15;
+  insert_i1_i1_(param_10, param_11);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_12 = treeIndex_1;
+  param_13 = 7;
+  insert_i1_i1_(param_12, param_13);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_14 = treeIndex_1;
+  param_15 = 8;
+  insert_i1_i1_(param_14, param_15);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_16 = treeIndex_1;
+  param_17 = 2;
+  insert_i1_i1_(param_16, param_17);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_18 = treeIndex_1;
+  param_19 = 6;
+  insert_i1_i1_(param_18, param_19);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_20 = treeIndex_1;
+  param_21 = 17;
+  insert_i1_i1_(param_20, param_21);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_22 = treeIndex_1;
+  param_23 = 13;
+  insert_i1_i1_(param_22, param_23);
+  count = 0;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 20)) {
+      } else {
+        break;
+      }
+      bool x_155 = false;
+      bool x_156 = false;
+      param_24 = i;
+      int x_136 = search_i1_(param_24);
+      result = x_136;
+      int x_137 = i;
+      switch(x_137) {
+        case 2:
+        case 5:
+        case 6:
+        case 7:
+        case 8:
+        case 9:
+        case 12:
+        case 13:
+        case 15:
+        case 17:
+        {
+          bool x_149 = (result == i);
+          x_156 = x_149;
+          if (!(x_149)) {
+            x_155 = (tint_symbol.x < 0.0f);
+            x_156 = x_155;
+          }
+          if (x_156) {
+            count = (count + 1);
+          }
+          break;
+        }
+        default:
+        {
+          if ((result == -1)) {
+            count = (count + 1);
+          }
+          break;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((count == 20)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 1.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.wgsl.expected.ir.glsl
index 72ca17c..e8ee874 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-fragcoord-less-than-zero/1.wgsl.expected.ir.glsl
@@ -1,11 +1,305 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct BST {
+  int data;
+  int leftIndex;
+  int rightIndex;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+BST tree_1[10] = BST[10](BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0));
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+void makeTreeNode_struct_BST_i1_i1_i11_i1_(inout BST tree, inout int data) {
+  int x_169 = data;
+  tree.data = x_169;
+  tree.leftIndex = -1;
+  tree.rightIndex = -1;
+}
+void insert_i1_i1_(inout int treeIndex, inout int data_1) {
+  int baseIndex = 0;
+  BST param = BST(0, 0, 0);
+  int param_1 = 0;
+  BST param_2 = BST(0, 0, 0);
+  int param_3 = 0;
+  baseIndex = 0;
+  {
+    while(true) {
+      int x_178 = baseIndex;
+      int x_179 = treeIndex;
+      if ((x_178 <= x_179)) {
+      } else {
+        break;
+      }
+      int x_182 = data_1;
+      int x_183 = baseIndex;
+      int x_185 = tree_1[x_183].data;
+      if ((x_182 <= x_185)) {
+        int x_190 = baseIndex;
+        int x_192 = tree_1[x_190].leftIndex;
+        if ((x_192 == -1)) {
+          int x_197 = baseIndex;
+          int x_198 = treeIndex;
+          tree_1[x_197].leftIndex = x_198;
+          int x_200 = treeIndex;
+          BST x_202 = tree_1[x_200];
+          param = x_202;
+          int x_203 = data_1;
+          param_1 = x_203;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param, param_1);
+          BST x_205 = param;
+          tree_1[x_200] = x_205;
+          return;
+        } else {
+          int x_207 = baseIndex;
+          int x_209 = tree_1[x_207].leftIndex;
+          baseIndex = x_209;
+          {
+          }
+          continue;
+        }
+      } else {
+        int x_210 = baseIndex;
+        int x_212 = tree_1[x_210].rightIndex;
+        if ((x_212 == -1)) {
+          int x_217 = baseIndex;
+          int x_218 = treeIndex;
+          tree_1[x_217].rightIndex = x_218;
+          int x_220 = treeIndex;
+          BST x_222 = tree_1[x_220];
+          param_2 = x_222;
+          int x_223 = data_1;
+          param_3 = x_223;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param_2, param_3);
+          BST x_225 = param_2;
+          tree_1[x_220] = x_225;
+          return;
+        } else {
+          int x_227 = baseIndex;
+          int x_229 = tree_1[x_227].rightIndex;
+          baseIndex = x_229;
+          {
+          }
+          continue;
+        }
+      }
+      /* unreachable */
+    }
+  }
+}
+int search_i1_(inout int t) {
+  int index = 0;
+  BST currentNode = BST(0, 0, 0);
+  int x_231 = 0;
+  index = 0;
+  {
+    while(true) {
+      int x_236 = index;
+      if ((x_236 != -1)) {
+      } else {
+        break;
+      }
+      int x_239 = index;
+      BST x_241 = tree_1[x_239];
+      currentNode = x_241;
+      int x_243 = currentNode.data;
+      int x_244 = t;
+      if ((x_243 == x_244)) {
+        int x_248 = t;
+        return x_248;
+      }
+      int x_249 = t;
+      int x_251 = currentNode.data;
+      if ((x_249 > x_251)) {
+        int x_257 = currentNode.rightIndex;
+        x_231 = x_257;
+      } else {
+        int x_259 = currentNode.leftIndex;
+        x_231 = x_259;
+      }
+      int x_260 = x_231;
+      index = x_260;
+      {
+      }
+      continue;
+    }
+  }
+  return -1;
+}
+void main_1() {
+  int treeIndex_1 = 0;
+  BST param_4 = BST(0, 0, 0);
+  int param_5 = 0;
+  int param_6 = 0;
+  int param_7 = 0;
+  int param_8 = 0;
+  int param_9 = 0;
+  int param_10 = 0;
+  int param_11 = 0;
+  int param_12 = 0;
+  int param_13 = 0;
+  int param_14 = 0;
+  int param_15 = 0;
+  int param_16 = 0;
+  int param_17 = 0;
+  int param_18 = 0;
+  int param_19 = 0;
+  int param_20 = 0;
+  int param_21 = 0;
+  int param_22 = 0;
+  int param_23 = 0;
+  int count = 0;
+  int i = 0;
+  int result = 0;
+  int param_24 = 0;
+  treeIndex_1 = 0;
+  BST x_88 = tree_1[0];
+  param_4 = x_88;
+  param_5 = 9;
+  makeTreeNode_struct_BST_i1_i1_i11_i1_(param_4, param_5);
+  BST x_90 = param_4;
+  tree_1[0] = x_90;
+  int x_92 = treeIndex_1;
+  treeIndex_1 = (x_92 + 1);
+  int x_94 = treeIndex_1;
+  param_6 = x_94;
+  param_7 = 5;
+  insert_i1_i1_(param_6, param_7);
+  int x_96 = treeIndex_1;
+  treeIndex_1 = (x_96 + 1);
+  int x_98 = treeIndex_1;
+  param_8 = x_98;
+  param_9 = 12;
+  insert_i1_i1_(param_8, param_9);
+  int x_100 = treeIndex_1;
+  treeIndex_1 = (x_100 + 1);
+  int x_102 = treeIndex_1;
+  param_10 = x_102;
+  param_11 = 15;
+  insert_i1_i1_(param_10, param_11);
+  int x_104 = treeIndex_1;
+  treeIndex_1 = (x_104 + 1);
+  int x_106 = treeIndex_1;
+  param_12 = x_106;
+  param_13 = 7;
+  insert_i1_i1_(param_12, param_13);
+  int x_108 = treeIndex_1;
+  treeIndex_1 = (x_108 + 1);
+  int x_110 = treeIndex_1;
+  param_14 = x_110;
+  param_15 = 8;
+  insert_i1_i1_(param_14, param_15);
+  int x_112 = treeIndex_1;
+  treeIndex_1 = (x_112 + 1);
+  int x_114 = treeIndex_1;
+  param_16 = x_114;
+  param_17 = 2;
+  insert_i1_i1_(param_16, param_17);
+  int x_116 = treeIndex_1;
+  treeIndex_1 = (x_116 + 1);
+  int x_118 = treeIndex_1;
+  param_18 = x_118;
+  param_19 = 6;
+  insert_i1_i1_(param_18, param_19);
+  int x_120 = treeIndex_1;
+  treeIndex_1 = (x_120 + 1);
+  int x_122 = treeIndex_1;
+  param_20 = x_122;
+  param_21 = 17;
+  insert_i1_i1_(param_20, param_21);
+  int x_124 = treeIndex_1;
+  treeIndex_1 = (x_124 + 1);
+  int x_126 = treeIndex_1;
+  param_22 = x_126;
+  param_23 = 13;
+  insert_i1_i1_(param_22, param_23);
+  count = 0;
+  i = 0;
+  {
+    while(true) {
+      int x_132 = i;
+      if ((x_132 < 20)) {
+      } else {
+        break;
+      }
+      bool x_155 = false;
+      bool x_156_phi = false;
+      int x_135 = i;
+      param_24 = x_135;
+      int x_136 = search_i1_(param_24);
+      result = x_136;
+      int x_137 = i;
+      switch(x_137) {
+        case 2:
+        case 5:
+        case 6:
+        case 7:
+        case 8:
+        case 9:
+        case 12:
+        case 13:
+        case 15:
+        case 17:
+        {
+          int x_147 = result;
+          int x_148 = i;
+          bool x_149 = (x_147 == x_148);
+          x_156_phi = x_149;
+          if (!(x_149)) {
+            float x_154 = tint_symbol.x;
+            x_155 = (x_154 < 0.0f);
+            x_156_phi = x_155;
+          }
+          bool x_156 = x_156_phi;
+          if (x_156) {
+            int x_159 = count;
+            count = (x_159 + 1);
+          }
+          break;
+        }
+        default:
+        {
+          int x_141 = result;
+          if ((x_141 == -1)) {
+            int x_145 = count;
+            count = (x_145 + 1);
+          }
+          break;
+        }
+      }
+      {
+        int x_161 = i;
+        i = (x_161 + 1);
+      }
+      continue;
+    }
+  }
+  int x_163 = count;
+  if ((x_163 == 20)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 1.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-nested-if-and-conditional/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-nested-if-and-conditional/1.spvasm.expected.ir.glsl
index d4bb1c9..811451f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-nested-if-and-conditional/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-nested-if-and-conditional/1.spvasm.expected.ir.glsl
@@ -1,11 +1,252 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct BST {
+  int data;
+  int leftIndex;
+  int rightIndex;
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+BST tree_1[10] = BST[10](BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0));
+uniform buf0 x_16;
+vec4 x_GLF_color = vec4(0.0f);
+void makeTreeNode_struct_BST_i1_i1_i11_i1_(inout BST tree, inout int data) {
+  tree.data = data;
+  tree.leftIndex = -1;
+  tree.rightIndex = -1;
+}
+void insert_i1_i1_(inout int treeIndex, inout int data_1) {
+  int baseIndex = 0;
+  BST param = BST(0, 0, 0);
+  int param_1 = 0;
+  int x_170 = 0;
+  BST param_2 = BST(0, 0, 0);
+  int param_3 = 0;
+  baseIndex = 0;
+  {
+    while(true) {
+      if ((baseIndex <= treeIndex)) {
+      } else {
+        break;
+      }
+      if ((data_1 <= tree_1[baseIndex].data)) {
+        if ((tree_1[baseIndex].leftIndex == -1)) {
+          int x_194 = baseIndex;
+          tree_1[x_194].leftIndex = treeIndex;
+          if ((x_16.injectionSwitch.x < x_16.injectionSwitch.y)) {
+            int x_204 = treeIndex;
+            param = tree_1[x_204];
+            param_1 = data_1;
+            makeTreeNode_struct_BST_i1_i1_i11_i1_(param, param_1);
+            tree_1[x_204] = param;
+          }
+          if ((x_16.injectionSwitch.x < x_16.injectionSwitch.y)) {
+            return;
+          }
+        } else {
+          baseIndex = tree_1[baseIndex].leftIndex;
+          {
+          }
+          continue;
+        }
+      } else {
+        if ((x_16.injectionSwitch.x < x_16.injectionSwitch.y)) {
+          x_170 = tree_1[baseIndex].rightIndex;
+        } else {
+          x_170 = tree_1[baseIndex].rightIndex;
+        }
+        if ((x_170 == -1)) {
+          int x_240 = baseIndex;
+          tree_1[x_240].rightIndex = treeIndex;
+          int x_243 = treeIndex;
+          param_2 = tree_1[x_243];
+          param_3 = data_1;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param_2, param_3);
+          tree_1[x_243] = param_2;
+          return;
+        } else {
+          baseIndex = tree_1[baseIndex].rightIndex;
+          {
+          }
+          continue;
+        }
+      }
+      if ((x_16.injectionSwitch.x > x_16.injectionSwitch.y)) {
+        return;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+int search_i1_(inout int t) {
+  int index = 0;
+  BST currentNode = BST(0, 0, 0);
+  int x_261 = 0;
+  index = 0;
+  {
+    while(true) {
+      if ((index != -1)) {
+      } else {
+        break;
+      }
+      currentNode = tree_1[index];
+      if ((currentNode.data == t)) {
+        int x_278 = t;
+        return x_278;
+      }
+      if ((t > currentNode.data)) {
+        x_261 = currentNode.rightIndex;
+      } else {
+        x_261 = currentNode.leftIndex;
+      }
+      index = x_261;
+      {
+      }
+      continue;
+    }
+  }
+  return -1;
+}
+void main_1() {
+  int treeIndex_1 = 0;
+  BST param_4 = BST(0, 0, 0);
+  int param_5 = 0;
+  int param_6 = 0;
+  int param_7 = 0;
+  int param_8 = 0;
+  int param_9 = 0;
+  int param_10 = 0;
+  int param_11 = 0;
+  int param_12 = 0;
+  int param_13 = 0;
+  int param_14 = 0;
+  int param_15 = 0;
+  int param_16 = 0;
+  int param_17 = 0;
+  int param_18 = 0;
+  int param_19 = 0;
+  int param_20 = 0;
+  int param_21 = 0;
+  int param_22 = 0;
+  int param_23 = 0;
+  int count = 0;
+  int i = 0;
+  int result = 0;
+  int param_24 = 0;
+  treeIndex_1 = 0;
+  param_4 = tree_1[0];
+  param_5 = 9;
+  makeTreeNode_struct_BST_i1_i1_i11_i1_(param_4, param_5);
+  tree_1[0] = param_4;
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_6 = treeIndex_1;
+  param_7 = 5;
+  insert_i1_i1_(param_6, param_7);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_8 = treeIndex_1;
+  param_9 = 12;
+  insert_i1_i1_(param_8, param_9);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_10 = treeIndex_1;
+  param_11 = 15;
+  insert_i1_i1_(param_10, param_11);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_12 = treeIndex_1;
+  param_13 = 7;
+  insert_i1_i1_(param_12, param_13);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_14 = treeIndex_1;
+  param_15 = 8;
+  insert_i1_i1_(param_14, param_15);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_16 = treeIndex_1;
+  param_17 = 2;
+  insert_i1_i1_(param_16, param_17);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_18 = treeIndex_1;
+  param_19 = 6;
+  insert_i1_i1_(param_18, param_19);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_20 = treeIndex_1;
+  param_21 = 17;
+  insert_i1_i1_(param_20, param_21);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_22 = treeIndex_1;
+  param_23 = 13;
+  insert_i1_i1_(param_22, param_23);
+  count = 0;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 20)) {
+      } else {
+        break;
+      }
+      param_24 = i;
+      int x_139 = search_i1_(param_24);
+      result = x_139;
+      int x_140 = i;
+      switch(x_140) {
+        case 2:
+        case 5:
+        case 6:
+        case 7:
+        case 8:
+        case 9:
+        case 12:
+        case 13:
+        case 15:
+        case 17:
+        {
+          if ((result == i)) {
+            count = (count + 1);
+          }
+          break;
+        }
+        default:
+        {
+          if ((result == -1)) {
+            count = (count + 1);
+          }
+          break;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((count == 20)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 1.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-nested-if-and-conditional/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-nested-if-and-conditional/1.wgsl.expected.ir.glsl
index 72ca17c..6f54a11 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-nested-if-and-conditional/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-nested-if-and-conditional/1.wgsl.expected.ir.glsl
@@ -1,11 +1,324 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct BST {
+  int data;
+  int leftIndex;
+  int rightIndex;
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+BST tree_1[10] = BST[10](BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0));
+uniform buf0 x_16;
+vec4 x_GLF_color = vec4(0.0f);
+void makeTreeNode_struct_BST_i1_i1_i11_i1_(inout BST tree, inout int data) {
+  int x_165 = data;
+  tree.data = x_165;
+  tree.leftIndex = -1;
+  tree.rightIndex = -1;
+}
+void insert_i1_i1_(inout int treeIndex, inout int data_1) {
+  int baseIndex = 0;
+  BST param = BST(0, 0, 0);
+  int param_1 = 0;
+  int x_170 = 0;
+  BST param_2 = BST(0, 0, 0);
+  int param_3 = 0;
+  baseIndex = 0;
+  {
+    while(true) {
+      int x_175 = baseIndex;
+      int x_176 = treeIndex;
+      if ((x_175 <= x_176)) {
+      } else {
+        break;
+      }
+      int x_179 = data_1;
+      int x_180 = baseIndex;
+      int x_182 = tree_1[x_180].data;
+      if ((x_179 <= x_182)) {
+        int x_187 = baseIndex;
+        int x_189 = tree_1[x_187].leftIndex;
+        if ((x_189 == -1)) {
+          int x_194 = baseIndex;
+          int x_195 = treeIndex;
+          tree_1[x_194].leftIndex = x_195;
+          float x_198 = x_16.injectionSwitch.x;
+          float x_200 = x_16.injectionSwitch.y;
+          if ((x_198 < x_200)) {
+            int x_204 = treeIndex;
+            BST x_206 = tree_1[x_204];
+            param = x_206;
+            int x_207 = data_1;
+            param_1 = x_207;
+            makeTreeNode_struct_BST_i1_i1_i11_i1_(param, param_1);
+            BST x_209 = param;
+            tree_1[x_204] = x_209;
+          }
+          float x_212 = x_16.injectionSwitch.x;
+          float x_214 = x_16.injectionSwitch.y;
+          if ((x_212 < x_214)) {
+            return;
+          }
+        } else {
+          int x_218 = baseIndex;
+          int x_220 = tree_1[x_218].leftIndex;
+          baseIndex = x_220;
+          {
+          }
+          continue;
+        }
+      } else {
+        float x_222 = x_16.injectionSwitch.x;
+        float x_224 = x_16.injectionSwitch.y;
+        if ((x_222 < x_224)) {
+          int x_229 = baseIndex;
+          int x_231 = tree_1[x_229].rightIndex;
+          x_170 = x_231;
+        } else {
+          int x_232 = baseIndex;
+          int x_234 = tree_1[x_232].rightIndex;
+          x_170 = x_234;
+        }
+        int x_235 = x_170;
+        if ((x_235 == -1)) {
+          int x_240 = baseIndex;
+          int x_241 = treeIndex;
+          tree_1[x_240].rightIndex = x_241;
+          int x_243 = treeIndex;
+          BST x_245 = tree_1[x_243];
+          param_2 = x_245;
+          int x_246 = data_1;
+          param_3 = x_246;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param_2, param_3);
+          BST x_248 = param_2;
+          tree_1[x_243] = x_248;
+          return;
+        } else {
+          int x_250 = baseIndex;
+          int x_252 = tree_1[x_250].rightIndex;
+          baseIndex = x_252;
+          {
+          }
+          continue;
+        }
+      }
+      float x_254 = x_16.injectionSwitch.x;
+      float x_256 = x_16.injectionSwitch.y;
+      if ((x_254 > x_256)) {
+        return;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+int search_i1_(inout int t) {
+  int index = 0;
+  BST currentNode = BST(0, 0, 0);
+  int x_261 = 0;
+  index = 0;
+  {
+    while(true) {
+      int x_266 = index;
+      if ((x_266 != -1)) {
+      } else {
+        break;
+      }
+      int x_269 = index;
+      BST x_271 = tree_1[x_269];
+      currentNode = x_271;
+      int x_273 = currentNode.data;
+      int x_274 = t;
+      if ((x_273 == x_274)) {
+        int x_278 = t;
+        return x_278;
+      }
+      int x_279 = t;
+      int x_281 = currentNode.data;
+      if ((x_279 > x_281)) {
+        int x_287 = currentNode.rightIndex;
+        x_261 = x_287;
+      } else {
+        int x_289 = currentNode.leftIndex;
+        x_261 = x_289;
+      }
+      int x_290 = x_261;
+      index = x_290;
+      {
+      }
+      continue;
+    }
+  }
+  return -1;
+}
+void main_1() {
+  int treeIndex_1 = 0;
+  BST param_4 = BST(0, 0, 0);
+  int param_5 = 0;
+  int param_6 = 0;
+  int param_7 = 0;
+  int param_8 = 0;
+  int param_9 = 0;
+  int param_10 = 0;
+  int param_11 = 0;
+  int param_12 = 0;
+  int param_13 = 0;
+  int param_14 = 0;
+  int param_15 = 0;
+  int param_16 = 0;
+  int param_17 = 0;
+  int param_18 = 0;
+  int param_19 = 0;
+  int param_20 = 0;
+  int param_21 = 0;
+  int param_22 = 0;
+  int param_23 = 0;
+  int count = 0;
+  int i = 0;
+  int result = 0;
+  int param_24 = 0;
+  treeIndex_1 = 0;
+  BST x_91 = tree_1[0];
+  param_4 = x_91;
+  param_5 = 9;
+  makeTreeNode_struct_BST_i1_i1_i11_i1_(param_4, param_5);
+  BST x_93 = param_4;
+  tree_1[0] = x_93;
+  int x_95 = treeIndex_1;
+  treeIndex_1 = (x_95 + 1);
+  int x_97 = treeIndex_1;
+  param_6 = x_97;
+  param_7 = 5;
+  insert_i1_i1_(param_6, param_7);
+  int x_99 = treeIndex_1;
+  treeIndex_1 = (x_99 + 1);
+  int x_101 = treeIndex_1;
+  param_8 = x_101;
+  param_9 = 12;
+  insert_i1_i1_(param_8, param_9);
+  int x_103 = treeIndex_1;
+  treeIndex_1 = (x_103 + 1);
+  int x_105 = treeIndex_1;
+  param_10 = x_105;
+  param_11 = 15;
+  insert_i1_i1_(param_10, param_11);
+  int x_107 = treeIndex_1;
+  treeIndex_1 = (x_107 + 1);
+  int x_109 = treeIndex_1;
+  param_12 = x_109;
+  param_13 = 7;
+  insert_i1_i1_(param_12, param_13);
+  int x_111 = treeIndex_1;
+  treeIndex_1 = (x_111 + 1);
+  int x_113 = treeIndex_1;
+  param_14 = x_113;
+  param_15 = 8;
+  insert_i1_i1_(param_14, param_15);
+  int x_115 = treeIndex_1;
+  treeIndex_1 = (x_115 + 1);
+  int x_117 = treeIndex_1;
+  param_16 = x_117;
+  param_17 = 2;
+  insert_i1_i1_(param_16, param_17);
+  int x_119 = treeIndex_1;
+  treeIndex_1 = (x_119 + 1);
+  int x_121 = treeIndex_1;
+  param_18 = x_121;
+  param_19 = 6;
+  insert_i1_i1_(param_18, param_19);
+  int x_123 = treeIndex_1;
+  treeIndex_1 = (x_123 + 1);
+  int x_125 = treeIndex_1;
+  param_20 = x_125;
+  param_21 = 17;
+  insert_i1_i1_(param_20, param_21);
+  int x_127 = treeIndex_1;
+  treeIndex_1 = (x_127 + 1);
+  int x_129 = treeIndex_1;
+  param_22 = x_129;
+  param_23 = 13;
+  insert_i1_i1_(param_22, param_23);
+  count = 0;
+  i = 0;
+  {
+    while(true) {
+      int x_135 = i;
+      if ((x_135 < 20)) {
+      } else {
+        break;
+      }
+      int x_138 = i;
+      param_24 = x_138;
+      int x_139 = search_i1_(param_24);
+      result = x_139;
+      int x_140 = i;
+      switch(x_140) {
+        case 2:
+        case 5:
+        case 6:
+        case 7:
+        case 8:
+        case 9:
+        case 12:
+        case 13:
+        case 15:
+        case 17:
+        {
+          int x_150 = result;
+          int x_151 = i;
+          if ((x_150 == x_151)) {
+            int x_155 = count;
+            count = (x_155 + 1);
+          }
+          break;
+        }
+        default:
+        {
+          int x_144 = result;
+          if ((x_144 == -1)) {
+            int x_148 = count;
+            count = (x_148 + 1);
+          }
+          break;
+        }
+      }
+      {
+        int x_157 = i;
+        i = (x_157 + 1);
+      }
+      continue;
+    }
+  }
+  int x_159 = count;
+  if ((x_159 == 20)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 1.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..9e0ac35 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,232 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct BST {
+  int data;
+  int leftIndex;
+  int rightIndex;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+BST tree[10] = BST[10](BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0));
+vec4 x_GLF_color = vec4(0.0f);
+void makeTreeNode_struct_BST_i1_i1_i11_i1_(inout BST node, inout int data) {
+  node.data = data;
+  node.leftIndex = -1;
+  node.rightIndex = -1;
+}
+void insert_i1_i1_(inout int treeIndex, inout int data_1) {
+  int baseIndex = 0;
+  BST param = BST(0, 0, 0);
+  int param_1 = 0;
+  BST param_2 = BST(0, 0, 0);
+  int param_3 = 0;
+  baseIndex = 0;
+  {
+    while(true) {
+      if ((baseIndex <= treeIndex)) {
+      } else {
+        break;
+      }
+      if ((data_1 <= tree[baseIndex].data)) {
+        if ((tree[baseIndex].leftIndex == -1)) {
+          int x_186 = baseIndex;
+          tree[x_186].leftIndex = treeIndex;
+          int x_189 = treeIndex;
+          param = tree[x_189];
+          param_1 = data_1;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param, param_1);
+          tree[x_189] = param;
+          return;
+        } else {
+          baseIndex = tree[baseIndex].leftIndex;
+          {
+          }
+          continue;
+        }
+      } else {
+        if ((tree[baseIndex].rightIndex == -1)) {
+          int x_206 = baseIndex;
+          tree[x_206].rightIndex = treeIndex;
+          int x_209 = treeIndex;
+          param_2 = tree[x_209];
+          param_3 = data_1;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param_2, param_3);
+          tree[x_209] = param_2;
+          return;
+        } else {
+          baseIndex = tree[baseIndex].rightIndex;
+          {
+          }
+          continue;
+        }
+      }
+      /* unreachable */
+    }
+  }
+}
+int search_i1_(inout int t) {
+  int index = 0;
+  BST currentNode = BST(0, 0, 0);
+  int x_220 = 0;
+  index = 0;
+  {
+    while(true) {
+      if ((index != -1)) {
+      } else {
+        break;
+      }
+      currentNode = tree[index];
+      if ((currentNode.data == t)) {
+        int x_237 = t;
+        return x_237;
+      }
+      if ((t > currentNode.data)) {
+        x_220 = currentNode.rightIndex;
+      } else {
+        x_220 = currentNode.leftIndex;
+      }
+      index = x_220;
+      {
+      }
+      continue;
+    }
+  }
+  return -1;
+}
+void main_1() {
+  int treeIndex_1 = 0;
+  BST param_4 = BST(0, 0, 0);
+  int param_5 = 0;
+  int param_6 = 0;
+  int param_7 = 0;
+  int param_8 = 0;
+  int param_9 = 0;
+  int param_10 = 0;
+  int param_11 = 0;
+  int param_12 = 0;
+  int param_13 = 0;
+  int param_14 = 0;
+  int param_15 = 0;
+  int param_16 = 0;
+  int param_17 = 0;
+  int param_18 = 0;
+  int param_19 = 0;
+  int param_20 = 0;
+  int param_21 = 0;
+  int param_22 = 0;
+  int param_23 = 0;
+  int count = 0;
+  int i = 0;
+  int result = 0;
+  int param_24 = 0;
+  treeIndex_1 = 0;
+  param_4 = tree[0];
+  param_5 = 9;
+  makeTreeNode_struct_BST_i1_i1_i11_i1_(param_4, param_5);
+  tree[0] = param_4;
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_6 = treeIndex_1;
+  param_7 = 5;
+  insert_i1_i1_(param_6, param_7);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_8 = treeIndex_1;
+  param_9 = 12;
+  insert_i1_i1_(param_8, param_9);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_10 = treeIndex_1;
+  param_11 = 15;
+  insert_i1_i1_(param_10, param_11);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_12 = treeIndex_1;
+  param_13 = 7;
+  insert_i1_i1_(param_12, param_13);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_14 = treeIndex_1;
+  param_15 = 8;
+  insert_i1_i1_(param_14, param_15);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_16 = treeIndex_1;
+  param_17 = 2;
+  insert_i1_i1_(param_16, param_17);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_18 = treeIndex_1;
+  param_19 = 6;
+  insert_i1_i1_(param_18, param_19);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_20 = treeIndex_1;
+  param_21 = 17;
+  insert_i1_i1_(param_20, param_21);
+  treeIndex_1 = (treeIndex_1 + 1);
+  param_22 = treeIndex_1;
+  param_23 = 13;
+  insert_i1_i1_(param_22, param_23);
+  count = 0;
+  i = 0;
+  {
+    while(true) {
+      if ((i < 20)) {
+      } else {
+        break;
+      }
+      param_24 = i;
+      int x_132 = search_i1_(param_24);
+      result = x_132;
+      int x_133 = i;
+      switch(x_133) {
+        case 2:
+        case 5:
+        case 6:
+        case 7:
+        case 8:
+        case 9:
+        case 12:
+        case 13:
+        case 15:
+        case 17:
+        {
+          if ((result == i)) {
+            count = (count + 1);
+          }
+          break;
+        }
+        default:
+        {
+          if ((result == -1)) {
+            count = (count + 1);
+          }
+          break;
+        }
+      }
+      {
+        i = (i + 1);
+      }
+      continue;
+    }
+  }
+  if ((count == 20)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 1.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.wgsl.expected.ir.glsl
index 72ca17c..d352992 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,293 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct BST {
+  int data;
+  int leftIndex;
+  int rightIndex;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+BST tree[10] = BST[10](BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0), BST(0, 0, 0));
+vec4 x_GLF_color = vec4(0.0f);
+void makeTreeNode_struct_BST_i1_i1_i11_i1_(inout BST node, inout int data) {
+  int x_158 = data;
+  node.data = x_158;
+  node.leftIndex = -1;
+  node.rightIndex = -1;
+}
+void insert_i1_i1_(inout int treeIndex, inout int data_1) {
+  int baseIndex = 0;
+  BST param = BST(0, 0, 0);
+  int param_1 = 0;
+  BST param_2 = BST(0, 0, 0);
+  int param_3 = 0;
+  baseIndex = 0;
+  {
+    while(true) {
+      int x_167 = baseIndex;
+      int x_168 = treeIndex;
+      if ((x_167 <= x_168)) {
+      } else {
+        break;
+      }
+      int x_171 = data_1;
+      int x_172 = baseIndex;
+      int x_174 = tree[x_172].data;
+      if ((x_171 <= x_174)) {
+        int x_179 = baseIndex;
+        int x_181 = tree[x_179].leftIndex;
+        if ((x_181 == -1)) {
+          int x_186 = baseIndex;
+          int x_187 = treeIndex;
+          tree[x_186].leftIndex = x_187;
+          int x_189 = treeIndex;
+          BST x_191 = tree[x_189];
+          param = x_191;
+          int x_192 = data_1;
+          param_1 = x_192;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param, param_1);
+          BST x_194 = param;
+          tree[x_189] = x_194;
+          return;
+        } else {
+          int x_196 = baseIndex;
+          int x_198 = tree[x_196].leftIndex;
+          baseIndex = x_198;
+          {
+          }
+          continue;
+        }
+      } else {
+        int x_199 = baseIndex;
+        int x_201 = tree[x_199].rightIndex;
+        if ((x_201 == -1)) {
+          int x_206 = baseIndex;
+          int x_207 = treeIndex;
+          tree[x_206].rightIndex = x_207;
+          int x_209 = treeIndex;
+          BST x_211 = tree[x_209];
+          param_2 = x_211;
+          int x_212 = data_1;
+          param_3 = x_212;
+          makeTreeNode_struct_BST_i1_i1_i11_i1_(param_2, param_3);
+          BST x_214 = param_2;
+          tree[x_209] = x_214;
+          return;
+        } else {
+          int x_216 = baseIndex;
+          int x_218 = tree[x_216].rightIndex;
+          baseIndex = x_218;
+          {
+          }
+          continue;
+        }
+      }
+      /* unreachable */
+    }
+  }
+}
+int search_i1_(inout int t) {
+  int index = 0;
+  BST currentNode = BST(0, 0, 0);
+  int x_220 = 0;
+  index = 0;
+  {
+    while(true) {
+      int x_225 = index;
+      if ((x_225 != -1)) {
+      } else {
+        break;
+      }
+      int x_228 = index;
+      BST x_230 = tree[x_228];
+      currentNode = x_230;
+      int x_232 = currentNode.data;
+      int x_233 = t;
+      if ((x_232 == x_233)) {
+        int x_237 = t;
+        return x_237;
+      }
+      int x_238 = t;
+      int x_240 = currentNode.data;
+      if ((x_238 > x_240)) {
+        int x_246 = currentNode.rightIndex;
+        x_220 = x_246;
+      } else {
+        int x_248 = currentNode.leftIndex;
+        x_220 = x_248;
+      }
+      int x_249 = x_220;
+      index = x_249;
+      {
+      }
+      continue;
+    }
+  }
+  return -1;
+}
+void main_1() {
+  int treeIndex_1 = 0;
+  BST param_4 = BST(0, 0, 0);
+  int param_5 = 0;
+  int param_6 = 0;
+  int param_7 = 0;
+  int param_8 = 0;
+  int param_9 = 0;
+  int param_10 = 0;
+  int param_11 = 0;
+  int param_12 = 0;
+  int param_13 = 0;
+  int param_14 = 0;
+  int param_15 = 0;
+  int param_16 = 0;
+  int param_17 = 0;
+  int param_18 = 0;
+  int param_19 = 0;
+  int param_20 = 0;
+  int param_21 = 0;
+  int param_22 = 0;
+  int param_23 = 0;
+  int count = 0;
+  int i = 0;
+  int result = 0;
+  int param_24 = 0;
+  treeIndex_1 = 0;
+  BST x_84 = tree[0];
+  param_4 = x_84;
+  param_5 = 9;
+  makeTreeNode_struct_BST_i1_i1_i11_i1_(param_4, param_5);
+  BST x_86 = param_4;
+  tree[0] = x_86;
+  int x_88 = treeIndex_1;
+  treeIndex_1 = (x_88 + 1);
+  int x_90 = treeIndex_1;
+  param_6 = x_90;
+  param_7 = 5;
+  insert_i1_i1_(param_6, param_7);
+  int x_92 = treeIndex_1;
+  treeIndex_1 = (x_92 + 1);
+  int x_94 = treeIndex_1;
+  param_8 = x_94;
+  param_9 = 12;
+  insert_i1_i1_(param_8, param_9);
+  int x_96 = treeIndex_1;
+  treeIndex_1 = (x_96 + 1);
+  int x_98 = treeIndex_1;
+  param_10 = x_98;
+  param_11 = 15;
+  insert_i1_i1_(param_10, param_11);
+  int x_100 = treeIndex_1;
+  treeIndex_1 = (x_100 + 1);
+  int x_102 = treeIndex_1;
+  param_12 = x_102;
+  param_13 = 7;
+  insert_i1_i1_(param_12, param_13);
+  int x_104 = treeIndex_1;
+  treeIndex_1 = (x_104 + 1);
+  int x_106 = treeIndex_1;
+  param_14 = x_106;
+  param_15 = 8;
+  insert_i1_i1_(param_14, param_15);
+  int x_108 = treeIndex_1;
+  treeIndex_1 = (x_108 + 1);
+  int x_110 = treeIndex_1;
+  param_16 = x_110;
+  param_17 = 2;
+  insert_i1_i1_(param_16, param_17);
+  int x_112 = treeIndex_1;
+  treeIndex_1 = (x_112 + 1);
+  int x_114 = treeIndex_1;
+  param_18 = x_114;
+  param_19 = 6;
+  insert_i1_i1_(param_18, param_19);
+  int x_116 = treeIndex_1;
+  treeIndex_1 = (x_116 + 1);
+  int x_118 = treeIndex_1;
+  param_20 = x_118;
+  param_21 = 17;
+  insert_i1_i1_(param_20, param_21);
+  int x_120 = treeIndex_1;
+  treeIndex_1 = (x_120 + 1);
+  int x_122 = treeIndex_1;
+  param_22 = x_122;
+  param_23 = 13;
+  insert_i1_i1_(param_22, param_23);
+  count = 0;
+  i = 0;
+  {
+    while(true) {
+      int x_128 = i;
+      if ((x_128 < 20)) {
+      } else {
+        break;
+      }
+      int x_131 = i;
+      param_24 = x_131;
+      int x_132 = search_i1_(param_24);
+      result = x_132;
+      int x_133 = i;
+      switch(x_133) {
+        case 2:
+        case 5:
+        case 6:
+        case 7:
+        case 8:
+        case 9:
+        case 12:
+        case 13:
+        case 15:
+        case 17:
+        {
+          int x_143 = result;
+          int x_144 = i;
+          if ((x_143 == x_144)) {
+            int x_148 = count;
+            count = (x_148 + 1);
+          }
+          break;
+        }
+        default:
+        {
+          int x_137 = result;
+          if ((x_137 == -1)) {
+            int x_141 = count;
+            count = (x_141 + 1);
+          }
+          break;
+        }
+      }
+      {
+        int x_150 = i;
+        i = (x_150 + 1);
+      }
+      continue;
+    }
+  }
+  int x_152 = count;
+  if ((x_152 == 20)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 1.0f, 1.0f);
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:10: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:10: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-binarysearch-tree-with-loop-read-write-global/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-collatz-push-constant-with-nested-min-max/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-collatz-push-constant-with-nested-min-max/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-collatz-push-constant-with-nested-min-max/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-collatz-push-constant-with-nested-min-max/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-collatz-push-constant-with-nested-min-max/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-collatz-push-constant-with-nested-min-max/0.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-collatz-push-constant-with-nested-min-max/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-collatz-push-constant-with-nested-min-max/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-double-always-false-discard/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-double-always-false-discard/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-double-always-false-discard/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-double-always-false-discard/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-double-always-false-discard/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-double-always-false-discard/1.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-double-always-false-discard/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-double-always-false-discard/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-float-mat-determinant-clamp/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-injected-conditional-true/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/1.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-divided-1/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-true-conditional-simple-loop/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-colorgrid-modulo-vec3-values-from-matrix/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-clamped-conditional-bit-shift/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.spvasm.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-for-always-false-if-discard/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-mergesort-reversed-for-loop/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-conditional-bitwise-or-clamp/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-conditional-bitwise-or-clamp/1.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-conditional-bitwise-or-clamp/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-conditional-bitwise-or-clamp/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-conditional-bitwise-or-clamp/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-conditional-bitwise-or-clamp/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-conditional-bitwise-or-clamp/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-conditional-bitwise-or-clamp/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..b9dea0d 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,199 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 frag_color_1;
+  vec4 tint_symbol;
+};
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_FragCoord = vec4(0.0f);
+vec4 x_GLF_pos = vec4(0.0f);
+uniform buf0 x_34;
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  temp = obj.numbers[i];
+  int x_242 = i;
+  obj.numbers[x_242] = obj.numbers[j];
+  int x_247 = j;
+  obj.numbers[x_247] = temp;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  pivot = obj.numbers[h];
+  i_1 = (l - 1);
+  j_1 = l;
+  {
+    while(true) {
+      if ((j_1 <= (h - 1))) {
+      } else {
+        break;
+      }
+      if ((obj.numbers[j_1] <= pivot)) {
+        i_1 = (i_1 + 1);
+        param = i_1;
+        param_1 = j_1;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        j_1 = (j_1 + 1);
+      }
+      continue;
+    }
+  }
+  param_2 = (i_1 + 1);
+  param_3 = h;
+  swap_i1_i1_(param_2, param_3);
+  int x_284 = i_1;
+  return (x_284 + 1);
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_288 = (top + 1);
+  top = x_288;
+  stack[x_288] = l_1;
+  int x_292 = (top + 1);
+  top = x_292;
+  stack[x_292] = h_1;
+  {
+    while(true) {
+      if ((top >= 0)) {
+      } else {
+        break;
+      }
+      int x_302 = top;
+      top = (top - 1);
+      h_1 = stack[x_302];
+      int x_306 = top;
+      top = (top - 1);
+      l_1 = stack[x_306];
+      param_4 = l_1;
+      param_5 = h_1;
+      int x_312 = performPartition_i1_i1_(param_4, param_5);
+      p = x_312;
+      if (((p - 1) > l_1)) {
+        int x_320 = (top + 1);
+        top = x_320;
+        stack[x_320] = l_1;
+        int x_324 = (top + 1);
+        top = x_324;
+        stack[x_324] = (p - 1);
+      }
+      if (((p + 1) < h_1)) {
+        int x_335 = (top + 1);
+        top = x_335;
+        stack[x_335] = (p + 1);
+        int x_340 = (top + 1);
+        top = x_340;
+        stack[x_340] = h_1;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  x_GLF_FragCoord = ((x_GLF_pos + vec4(1.0f, 1.0f, 0.0f, 0.0f)) * vec4(128.0f, 128.0f, 1.0f, 1.0f));
+  i_2 = 0;
+  {
+    while(true) {
+      if ((i_2 < 10)) {
+      } else {
+        break;
+      }
+      int x_100 = i_2;
+      obj.numbers[x_100] = (10 - i_2);
+      int x_104 = i_2;
+      obj.numbers[x_104] = (obj.numbers[i_2] * obj.numbers[i_2]);
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  uv = (x_GLF_FragCoord.xy / x_34.resolution);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  float v = color.x;
+  color[0u] = (v + float(obj.numbers[0]));
+  if ((uv.x > 0.25f)) {
+    float v_1 = color.x;
+    color[0u] = (v_1 + float(obj.numbers[1]));
+  }
+  if ((uv.x > 0.5f)) {
+    float v_2 = color.y;
+    color[1u] = (v_2 + float(obj.numbers[2]));
+  }
+  if ((uv.x > 0.75f)) {
+    float v_3 = color.z;
+    color[2u] = (v_3 + float(obj.numbers[3]));
+  }
+  float v_4 = color.y;
+  color[1u] = (v_4 + float(obj.numbers[4]));
+  if ((uv.y > 0.25f)) {
+    float v_5 = color.x;
+    color[0u] = (v_5 + float(obj.numbers[5]));
+  }
+  if ((uv.y > 0.5f)) {
+    float v_6 = color.y;
+    color[1u] = (v_6 + float(obj.numbers[6]));
+  }
+  if ((uv.y > 0.75f)) {
+    float v_7 = color.z;
+    color[2u] = (v_7 + float(obj.numbers[7]));
+  }
+  float v_8 = color.z;
+  color[2u] = (v_8 + float(obj.numbers[8]));
+  if ((abs((uv.x - uv.y)) < 0.25f)) {
+    float v_9 = color.x;
+    color[0u] = (v_9 + float(obj.numbers[9]));
+  }
+  vec3 x_231 = normalize(color);
+  frag_color = vec4(x_231[0u], x_231[1u], x_231[2u], 1.0f);
+  tint_symbol = x_GLF_pos;
+}
+main_out main(vec4 x_GLF_pos_param) {
+  x_GLF_pos = x_GLF_pos_param;
+  main_1();
+  return main_out(frag_color, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:183: 'main' : function cannot take any parameter(s) 
+ERROR: 0:183: 'structure' :  entry point cannot return a value
+ERROR: 0:183: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/0-opt.wgsl.expected.ir.glsl
index 72ca17c..571db4b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,270 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 frag_color_1;
+  vec4 tint_symbol;
+};
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_FragCoord = vec4(0.0f);
+vec4 x_GLF_pos = vec4(0.0f);
+uniform buf0 x_34;
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  int x_239 = i;
+  int x_241 = obj.numbers[x_239];
+  temp = x_241;
+  int x_242 = i;
+  int x_243 = j;
+  int x_245 = obj.numbers[x_243];
+  obj.numbers[x_242] = x_245;
+  int x_247 = j;
+  int x_248 = temp;
+  obj.numbers[x_247] = x_248;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  int x_251 = h;
+  int x_253 = obj.numbers[x_251];
+  pivot = x_253;
+  int x_254 = l;
+  i_1 = (x_254 - 1);
+  int x_256 = l;
+  j_1 = x_256;
+  {
+    while(true) {
+      int x_261 = j_1;
+      int x_262 = h;
+      if ((x_261 <= (x_262 - 1))) {
+      } else {
+        break;
+      }
+      int x_266 = j_1;
+      int x_268 = obj.numbers[x_266];
+      int x_269 = pivot;
+      if ((x_268 <= x_269)) {
+        int x_273 = i_1;
+        i_1 = (x_273 + 1);
+        int x_275 = i_1;
+        param = x_275;
+        int x_276 = j_1;
+        param_1 = x_276;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        int x_278 = j_1;
+        j_1 = (x_278 + 1);
+      }
+      continue;
+    }
+  }
+  int x_280 = i_1;
+  param_2 = (x_280 + 1);
+  int x_282 = h;
+  param_3 = x_282;
+  swap_i1_i1_(param_2, param_3);
+  int x_284 = i_1;
+  return (x_284 + 1);
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_287 = top;
+  int x_288 = (x_287 + 1);
+  top = x_288;
+  int x_289 = l_1;
+  stack[x_288] = x_289;
+  int x_291 = top;
+  int x_292 = (x_291 + 1);
+  top = x_292;
+  int x_293 = h_1;
+  stack[x_292] = x_293;
+  {
+    while(true) {
+      int x_299 = top;
+      if ((x_299 >= 0)) {
+      } else {
+        break;
+      }
+      int x_302 = top;
+      top = (x_302 - 1);
+      int x_305 = stack[x_302];
+      h_1 = x_305;
+      int x_306 = top;
+      top = (x_306 - 1);
+      int x_309 = stack[x_306];
+      l_1 = x_309;
+      int x_310 = l_1;
+      param_4 = x_310;
+      int x_311 = h_1;
+      param_5 = x_311;
+      int x_312 = performPartition_i1_i1_(param_4, param_5);
+      p = x_312;
+      int x_313 = p;
+      int x_315 = l_1;
+      if (((x_313 - 1) > x_315)) {
+        int x_319 = top;
+        int x_320 = (x_319 + 1);
+        top = x_320;
+        int x_321 = l_1;
+        stack[x_320] = x_321;
+        int x_323 = top;
+        int x_324 = (x_323 + 1);
+        top = x_324;
+        int x_325 = p;
+        stack[x_324] = (x_325 - 1);
+      }
+      int x_328 = p;
+      int x_330 = h_1;
+      if (((x_328 + 1) < x_330)) {
+        int x_334 = top;
+        int x_335 = (x_334 + 1);
+        top = x_335;
+        int x_336 = p;
+        stack[x_335] = (x_336 + 1);
+        int x_339 = top;
+        int x_340 = (x_339 + 1);
+        top = x_340;
+        int x_341 = h_1;
+        stack[x_340] = x_341;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  vec4 x_90 = x_GLF_pos;
+  x_GLF_FragCoord = ((x_90 + vec4(1.0f, 1.0f, 0.0f, 0.0f)) * vec4(128.0f, 128.0f, 1.0f, 1.0f));
+  i_2 = 0;
+  {
+    while(true) {
+      int x_97 = i_2;
+      if ((x_97 < 10)) {
+      } else {
+        break;
+      }
+      int x_100 = i_2;
+      int x_101 = i_2;
+      obj.numbers[x_100] = (10 - x_101);
+      int x_104 = i_2;
+      int x_105 = i_2;
+      int x_107 = obj.numbers[x_105];
+      int x_108 = i_2;
+      int x_110 = obj.numbers[x_108];
+      obj.numbers[x_104] = (x_107 * x_110);
+      {
+        int x_113 = i_2;
+        i_2 = (x_113 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  vec4 x_116 = x_GLF_FragCoord;
+  vec2 x_119 = x_34.resolution;
+  uv = (vec2(x_116[0u], x_116[1u]) / x_119);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  int x_122 = obj.numbers[0];
+  float x_125 = color.x;
+  color[0u] = (x_125 + float(x_122));
+  float x_129 = uv.x;
+  if ((x_129 > 0.25f)) {
+    int x_134 = obj.numbers[1];
+    float x_137 = color.x;
+    color[0u] = (x_137 + float(x_134));
+  }
+  float x_141 = uv.x;
+  if ((x_141 > 0.5f)) {
+    int x_146 = obj.numbers[2];
+    float x_149 = color.y;
+    color[1u] = (x_149 + float(x_146));
+  }
+  float x_153 = uv.x;
+  if ((x_153 > 0.75f)) {
+    int x_158 = obj.numbers[3];
+    float x_161 = color.z;
+    color[2u] = (x_161 + float(x_158));
+  }
+  int x_165 = obj.numbers[4];
+  float x_168 = color.y;
+  color[1u] = (x_168 + float(x_165));
+  float x_172 = uv.y;
+  if ((x_172 > 0.25f)) {
+    int x_177 = obj.numbers[5];
+    float x_180 = color.x;
+    color[0u] = (x_180 + float(x_177));
+  }
+  float x_184 = uv.y;
+  if ((x_184 > 0.5f)) {
+    int x_189 = obj.numbers[6];
+    float x_192 = color.y;
+    color[1u] = (x_192 + float(x_189));
+  }
+  float x_196 = uv.y;
+  if ((x_196 > 0.75f)) {
+    int x_201 = obj.numbers[7];
+    float x_204 = color.z;
+    color[2u] = (x_204 + float(x_201));
+  }
+  int x_208 = obj.numbers[8];
+  float x_211 = color.z;
+  color[2u] = (x_211 + float(x_208));
+  float x_215 = uv.x;
+  float x_217 = uv.y;
+  if ((abs((x_215 - x_217)) < 0.25f)) {
+    int x_224 = obj.numbers[9];
+    float x_227 = color.x;
+    color[0u] = (x_227 + float(x_224));
+  }
+  vec3 x_230 = color;
+  vec3 x_231 = normalize(x_230);
+  frag_color = vec4(x_231[0u], x_231[1u], x_231[2u], 1.0f);
+  vec4 x_236 = x_GLF_pos;
+  tint_symbol = x_236;
+}
+main_out main(vec4 x_GLF_pos_param) {
+  x_GLF_pos = x_GLF_pos_param;
+  main_1();
+  return main_out(frag_color, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:254: 'main' : function cannot take any parameter(s) 
+ERROR: 0:254: 'structure' :  entry point cannot return a value
+ERROR: 0:254: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/1.spvasm.expected.ir.glsl
index d4bb1c9..6e3a408 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/1.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 frag_color = vec4(0.0f);
+void main_1() {
+  x_GLF_color = frag_color;
+}
+main_out main(vec4 frag_color_param) {
+  frag_color = frag_color_param;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/1.wgsl.expected.ir.glsl
index 72ca17c..7ac4e2e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 frag_color = vec4(0.0f);
+void main_1() {
+  vec4 x_12 = frag_color;
+  x_GLF_color = x_12;
+}
+main_out main(vec4 frag_color_param) {
+  frag_color = frag_color_param;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/2-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/2-opt.spvasm.expected.ir.glsl
index d4bb1c9..0eb1642 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/2-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/2-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,207 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct buf1 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 frag_color_1;
+  vec4 tint_symbol;
+};
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_FragCoord = vec4(0.0f);
+vec4 x_GLF_pos = vec4(0.0f);
+uniform buf0 x_33;
+uniform buf1 x_36;
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  temp = obj.numbers[i];
+  int x_253 = i;
+  obj.numbers[x_253] = obj.numbers[j];
+  int x_258 = j;
+  obj.numbers[x_258] = temp;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  pivot = obj.numbers[h];
+  i_1 = (l - 1);
+  j_1 = l;
+  {
+    while(true) {
+      if ((j_1 <= (h - 1))) {
+      } else {
+        break;
+      }
+      if ((obj.numbers[j_1] <= pivot)) {
+        i_1 = (i_1 + 1);
+        param = i_1;
+        param_1 = j_1;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        j_1 = (j_1 + 1);
+      }
+      continue;
+    }
+  }
+  param_2 = (i_1 + 1);
+  param_3 = h;
+  swap_i1_i1_(param_2, param_3);
+  int x_295 = i_1;
+  return (x_295 + 1);
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_299 = (top + 1);
+  top = x_299;
+  stack[x_299] = l_1;
+  int x_303 = (top + 1);
+  top = x_303;
+  stack[x_303] = h_1;
+  {
+    while(true) {
+      if ((top >= 0)) {
+      } else {
+        break;
+      }
+      int x_313 = top;
+      top = (top - 1);
+      h_1 = stack[x_313];
+      int x_317 = top;
+      top = (top - 1);
+      l_1 = stack[x_317];
+      param_4 = l_1;
+      param_5 = h_1;
+      int x_323 = performPartition_i1_i1_(param_4, param_5);
+      p = x_323;
+      if (((p - 1) > l_1)) {
+        int x_331 = (top + 1);
+        top = x_331;
+        stack[x_331] = l_1;
+        int x_335 = (top + 1);
+        top = x_335;
+        stack[x_335] = (p - 1);
+      }
+      if (((p + 1) < h_1)) {
+        int x_346 = (top + 1);
+        top = x_346;
+        stack[x_346] = (p + 1);
+        int x_351 = (top + 1);
+        top = x_351;
+        stack[x_351] = h_1;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  x_GLF_FragCoord = ((x_GLF_pos + vec4(1.0f, 1.0f, 0.0f, 0.0f)) * vec4(128.0f, 128.0f, 1.0f, 1.0f));
+  i_2 = 0;
+  {
+    while(true) {
+      if ((i_2 < 10)) {
+      } else {
+        break;
+      }
+      int x_104 = i_2;
+      obj.numbers[x_104] = (10 - i_2);
+      if ((x_33.injectionSwitch.x > x_33.injectionSwitch.y)) {
+        break;
+      }
+      int x_115 = i_2;
+      obj.numbers[x_115] = (obj.numbers[i_2] * obj.numbers[i_2]);
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  uv = (x_GLF_FragCoord.xy / x_36.resolution);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  float v = color.x;
+  color[0u] = (v + float(obj.numbers[0]));
+  if ((uv.x > 0.25f)) {
+    float v_1 = color.x;
+    color[0u] = (v_1 + float(obj.numbers[1]));
+  }
+  if ((uv.x > 0.5f)) {
+    float v_2 = color.y;
+    color[1u] = (v_2 + float(obj.numbers[2]));
+  }
+  if ((uv.x > 0.75f)) {
+    float v_3 = color.z;
+    color[2u] = (v_3 + float(obj.numbers[3]));
+  }
+  float v_4 = color.y;
+  color[1u] = (v_4 + float(obj.numbers[4]));
+  if ((uv.y > 0.25f)) {
+    float v_5 = color.x;
+    color[0u] = (v_5 + float(obj.numbers[5]));
+  }
+  if ((uv.y > 0.5f)) {
+    float v_6 = color.y;
+    color[1u] = (v_6 + float(obj.numbers[6]));
+  }
+  if ((uv.y > 0.75f)) {
+    float v_7 = color.z;
+    color[2u] = (v_7 + float(obj.numbers[7]));
+  }
+  float v_8 = color.z;
+  color[2u] = (v_8 + float(obj.numbers[8]));
+  if ((abs((uv.x - uv.y)) < 0.25f)) {
+    float v_9 = color.x;
+    color[0u] = (v_9 + float(obj.numbers[9]));
+  }
+  vec3 x_242 = normalize(color);
+  frag_color = vec4(x_242[0u], x_242[1u], x_242[2u], 1.0f);
+  tint_symbol = x_GLF_pos;
+}
+main_out main(vec4 x_GLF_pos_param) {
+  x_GLF_pos = x_GLF_pos_param;
+  main_1();
+  return main_out(frag_color, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:191: 'main' : function cannot take any parameter(s) 
+ERROR: 0:191: 'structure' :  entry point cannot return a value
+ERROR: 0:191: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/2-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/2-opt.wgsl.expected.ir.glsl
index 72ca17c..c2e7021 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/2-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-for-loop-with-injection/2-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,280 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct buf1 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 frag_color_1;
+  vec4 tint_symbol;
+};
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_FragCoord = vec4(0.0f);
+vec4 x_GLF_pos = vec4(0.0f);
+uniform buf0 x_33;
+uniform buf1 x_36;
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  int x_250 = i;
+  int x_252 = obj.numbers[x_250];
+  temp = x_252;
+  int x_253 = i;
+  int x_254 = j;
+  int x_256 = obj.numbers[x_254];
+  obj.numbers[x_253] = x_256;
+  int x_258 = j;
+  int x_259 = temp;
+  obj.numbers[x_258] = x_259;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  int x_262 = h;
+  int x_264 = obj.numbers[x_262];
+  pivot = x_264;
+  int x_265 = l;
+  i_1 = (x_265 - 1);
+  int x_267 = l;
+  j_1 = x_267;
+  {
+    while(true) {
+      int x_272 = j_1;
+      int x_273 = h;
+      if ((x_272 <= (x_273 - 1))) {
+      } else {
+        break;
+      }
+      int x_277 = j_1;
+      int x_279 = obj.numbers[x_277];
+      int x_280 = pivot;
+      if ((x_279 <= x_280)) {
+        int x_284 = i_1;
+        i_1 = (x_284 + 1);
+        int x_286 = i_1;
+        param = x_286;
+        int x_287 = j_1;
+        param_1 = x_287;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        int x_289 = j_1;
+        j_1 = (x_289 + 1);
+      }
+      continue;
+    }
+  }
+  int x_291 = i_1;
+  param_2 = (x_291 + 1);
+  int x_293 = h;
+  param_3 = x_293;
+  swap_i1_i1_(param_2, param_3);
+  int x_295 = i_1;
+  return (x_295 + 1);
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_298 = top;
+  int x_299 = (x_298 + 1);
+  top = x_299;
+  int x_300 = l_1;
+  stack[x_299] = x_300;
+  int x_302 = top;
+  int x_303 = (x_302 + 1);
+  top = x_303;
+  int x_304 = h_1;
+  stack[x_303] = x_304;
+  {
+    while(true) {
+      int x_310 = top;
+      if ((x_310 >= 0)) {
+      } else {
+        break;
+      }
+      int x_313 = top;
+      top = (x_313 - 1);
+      int x_316 = stack[x_313];
+      h_1 = x_316;
+      int x_317 = top;
+      top = (x_317 - 1);
+      int x_320 = stack[x_317];
+      l_1 = x_320;
+      int x_321 = l_1;
+      param_4 = x_321;
+      int x_322 = h_1;
+      param_5 = x_322;
+      int x_323 = performPartition_i1_i1_(param_4, param_5);
+      p = x_323;
+      int x_324 = p;
+      int x_326 = l_1;
+      if (((x_324 - 1) > x_326)) {
+        int x_330 = top;
+        int x_331 = (x_330 + 1);
+        top = x_331;
+        int x_332 = l_1;
+        stack[x_331] = x_332;
+        int x_334 = top;
+        int x_335 = (x_334 + 1);
+        top = x_335;
+        int x_336 = p;
+        stack[x_335] = (x_336 - 1);
+      }
+      int x_339 = p;
+      int x_341 = h_1;
+      if (((x_339 + 1) < x_341)) {
+        int x_345 = top;
+        int x_346 = (x_345 + 1);
+        top = x_346;
+        int x_347 = p;
+        stack[x_346] = (x_347 + 1);
+        int x_350 = top;
+        int x_351 = (x_350 + 1);
+        top = x_351;
+        int x_352 = h_1;
+        stack[x_351] = x_352;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+void main_1() {
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  vec4 x_94 = x_GLF_pos;
+  x_GLF_FragCoord = ((x_94 + vec4(1.0f, 1.0f, 0.0f, 0.0f)) * vec4(128.0f, 128.0f, 1.0f, 1.0f));
+  i_2 = 0;
+  {
+    while(true) {
+      int x_101 = i_2;
+      if ((x_101 < 10)) {
+      } else {
+        break;
+      }
+      int x_104 = i_2;
+      int x_105 = i_2;
+      obj.numbers[x_104] = (10 - x_105);
+      float x_109 = x_33.injectionSwitch.x;
+      float x_111 = x_33.injectionSwitch.y;
+      if ((x_109 > x_111)) {
+        break;
+      }
+      int x_115 = i_2;
+      int x_116 = i_2;
+      int x_118 = obj.numbers[x_116];
+      int x_119 = i_2;
+      int x_121 = obj.numbers[x_119];
+      obj.numbers[x_115] = (x_118 * x_121);
+      {
+        int x_124 = i_2;
+        i_2 = (x_124 + 1);
+      }
+      continue;
+    }
+  }
+  quicksort_();
+  vec4 x_127 = x_GLF_FragCoord;
+  vec2 x_130 = x_36.resolution;
+  uv = (vec2(x_127[0u], x_127[1u]) / x_130);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  int x_133 = obj.numbers[0];
+  float x_136 = color.x;
+  color[0u] = (x_136 + float(x_133));
+  float x_140 = uv.x;
+  if ((x_140 > 0.25f)) {
+    int x_145 = obj.numbers[1];
+    float x_148 = color.x;
+    color[0u] = (x_148 + float(x_145));
+  }
+  float x_152 = uv.x;
+  if ((x_152 > 0.5f)) {
+    int x_157 = obj.numbers[2];
+    float x_160 = color.y;
+    color[1u] = (x_160 + float(x_157));
+  }
+  float x_164 = uv.x;
+  if ((x_164 > 0.75f)) {
+    int x_169 = obj.numbers[3];
+    float x_172 = color.z;
+    color[2u] = (x_172 + float(x_169));
+  }
+  int x_176 = obj.numbers[4];
+  float x_179 = color.y;
+  color[1u] = (x_179 + float(x_176));
+  float x_183 = uv.y;
+  if ((x_183 > 0.25f)) {
+    int x_188 = obj.numbers[5];
+    float x_191 = color.x;
+    color[0u] = (x_191 + float(x_188));
+  }
+  float x_195 = uv.y;
+  if ((x_195 > 0.5f)) {
+    int x_200 = obj.numbers[6];
+    float x_203 = color.y;
+    color[1u] = (x_203 + float(x_200));
+  }
+  float x_207 = uv.y;
+  if ((x_207 > 0.75f)) {
+    int x_212 = obj.numbers[7];
+    float x_215 = color.z;
+    color[2u] = (x_215 + float(x_212));
+  }
+  int x_219 = obj.numbers[8];
+  float x_222 = color.z;
+  color[2u] = (x_222 + float(x_219));
+  float x_226 = uv.x;
+  float x_228 = uv.y;
+  if ((abs((x_226 - x_228)) < 0.25f)) {
+    int x_235 = obj.numbers[9];
+    float x_238 = color.x;
+    color[0u] = (x_238 + float(x_235));
+  }
+  vec3 x_241 = color;
+  vec3 x_242 = normalize(x_241);
+  frag_color = vec4(x_242[0u], x_242[1u], x_242[2u], 1.0f);
+  vec4 x_247 = x_GLF_pos;
+  tint_symbol = x_247;
+}
+main_out main(vec4 x_GLF_pos_param) {
+  x_GLF_pos = x_GLF_pos_param;
+  main_1();
+  return main_out(frag_color, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:264: 'main' : function cannot take any parameter(s) 
+ERROR: 0:264: 'structure' :  entry point cannot return a value
+ERROR: 0:264: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/0.spvasm.expected.ir.glsl
index d4bb1c9..672a453 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/0.spvasm.expected.ir.glsl
@@ -1,11 +1,293 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 frag_color_1;
+  vec4 tint_symbol;
+};
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_FragCoord = vec4(0.0f);
+vec4 x_GLF_pos = vec4(0.0f);
+uniform buf0 x_34;
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  int x_90 = 0;
+  int x_91 = 0;
+  int x_92 = 0;
+  int x_93 = 0;
+  int x_94 = 0;
+  int x_95 = 0;
+  int x_96 = 0;
+  int x_97 = 0;
+  int x_98 = 0;
+  int x_99 = 0;
+  int x_100 = 0;
+  int x_101 = 0;
+  int x_102 = 0;
+  int x_103[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int x_104 = 0;
+  int x_105 = 0;
+  int x_106 = 0;
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  x_GLF_FragCoord = ((x_GLF_pos + vec4(1.0f, 1.0f, 0.0f, 0.0f)) * vec4(128.0f, 128.0f, 1.0f, 1.0f));
+  i_2 = 0;
+  {
+    while(true) {
+      if ((i_2 < 10)) {
+      } else {
+        break;
+      }
+      int x_117 = i_2;
+      obj.numbers[x_117] = (10 - i_2);
+      int x_121 = i_2;
+      obj.numbers[x_121] = (obj.numbers[i_2] * obj.numbers[i_2]);
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  x_100 = 0;
+  x_101 = 9;
+  x_102 = -1;
+  int x_133 = (x_102 + 1);
+  x_102 = x_133;
+  x_103[x_133] = x_100;
+  int x_137 = (x_102 + 1);
+  x_102 = x_137;
+  x_103[x_137] = x_101;
+  {
+    while(true) {
+      if ((x_102 >= 0)) {
+      } else {
+        break;
+      }
+      int x_147 = x_102;
+      x_102 = (x_102 - 1);
+      x_101 = x_103[x_147];
+      int x_151 = x_102;
+      x_102 = (x_102 - 1);
+      x_100 = x_103[x_151];
+      x_105 = x_100;
+      x_106 = x_101;
+      x_92 = obj.numbers[x_106];
+      x_93 = (x_105 - 1);
+      x_94 = x_105;
+      {
+        while(true) {
+          if ((x_94 <= (x_106 - 1))) {
+          } else {
+            break;
+          }
+          if ((obj.numbers[x_94] <= x_92)) {
+            x_93 = (x_93 + 1);
+            x_95 = x_93;
+            x_96 = x_94;
+            x_91 = obj.numbers[x_95];
+            int x_186 = x_95;
+            obj.numbers[x_186] = obj.numbers[x_96];
+            int x_191 = x_96;
+            obj.numbers[x_191] = x_91;
+          }
+          {
+            x_94 = (x_94 + 1);
+          }
+          continue;
+        }
+      }
+      x_97 = (x_93 + 1);
+      x_98 = x_106;
+      x_90 = obj.numbers[x_97];
+      int x_202 = x_97;
+      obj.numbers[x_202] = obj.numbers[x_98];
+      int x_207 = x_98;
+      obj.numbers[x_207] = x_90;
+      x_99 = (x_93 + 1);
+      x_104 = x_99;
+      if (((x_104 - 1) > x_100)) {
+        int x_220 = (x_102 + 1);
+        x_102 = x_220;
+        x_103[x_220] = x_100;
+        int x_224 = (x_102 + 1);
+        x_102 = x_224;
+        x_103[x_224] = (x_104 - 1);
+      }
+      if (((x_104 + 1) < x_101)) {
+        int x_235 = (x_102 + 1);
+        x_102 = x_235;
+        x_103[x_235] = (x_104 + 1);
+        int x_240 = (x_102 + 1);
+        x_102 = x_240;
+        x_103[x_240] = x_101;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  uv = (x_GLF_FragCoord.xy / x_34.resolution);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  float v = color.x;
+  color[0u] = (v + float(obj.numbers[0]));
+  if ((uv.x > 0.25f)) {
+    float v_1 = color.x;
+    color[0u] = (v_1 + float(obj.numbers[1]));
+  }
+  if ((uv.x > 0.5f)) {
+    float v_2 = color.y;
+    color[1u] = (v_2 + float(obj.numbers[2]));
+  }
+  if ((uv.x > 0.75f)) {
+    float v_3 = color.z;
+    color[2u] = (v_3 + float(obj.numbers[3]));
+  }
+  float v_4 = color.y;
+  color[1u] = (v_4 + float(obj.numbers[4]));
+  if ((uv.y > 0.25f)) {
+    float v_5 = color.x;
+    color[0u] = (v_5 + float(obj.numbers[5]));
+  }
+  if ((uv.y > 0.5f)) {
+    float v_6 = color.y;
+    color[1u] = (v_6 + float(obj.numbers[6]));
+  }
+  if ((uv.y > 0.75f)) {
+    float v_7 = color.z;
+    color[2u] = (v_7 + float(obj.numbers[7]));
+  }
+  float v_8 = color.z;
+  color[2u] = (v_8 + float(obj.numbers[8]));
+  if ((abs((uv.x - uv.y)) < 0.25f)) {
+    float v_9 = color.x;
+    color[0u] = (v_9 + float(obj.numbers[9]));
+  }
+  vec3 x_358 = normalize(color);
+  frag_color = vec4(x_358[0u], x_358[1u], x_358[2u], 1.0f);
+  tint_symbol = x_GLF_pos;
+}
+main_out main(vec4 x_GLF_pos_param) {
+  x_GLF_pos = x_GLF_pos_param;
+  main_1();
+  return main_out(frag_color, tint_symbol);
+}
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  temp = obj.numbers[i];
+  int x_369 = i;
+  obj.numbers[x_369] = obj.numbers[j];
+  int x_374 = j;
+  obj.numbers[x_374] = temp;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  pivot = obj.numbers[h];
+  i_1 = (l - 1);
+  j_1 = l;
+  {
+    while(true) {
+      if ((j_1 <= (h - 1))) {
+      } else {
+        break;
+      }
+      if ((obj.numbers[j_1] <= pivot)) {
+        i_1 = (i_1 + 1);
+        param = i_1;
+        param_1 = j_1;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        j_1 = (j_1 + 1);
+      }
+      continue;
+    }
+  }
+  param_2 = (i_1 + 1);
+  param_3 = h;
+  swap_i1_i1_(param_2, param_3);
+  int x_411 = i_1;
+  return (x_411 + 1);
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_415 = (top + 1);
+  top = x_415;
+  stack[x_415] = l_1;
+  int x_419 = (top + 1);
+  top = x_419;
+  stack[x_419] = h_1;
+  {
+    while(true) {
+      if ((top >= 0)) {
+      } else {
+        break;
+      }
+      int x_429 = top;
+      top = (top - 1);
+      h_1 = stack[x_429];
+      int x_433 = top;
+      top = (top - 1);
+      l_1 = stack[x_433];
+      param_4 = l_1;
+      param_5 = h_1;
+      int x_439 = performPartition_i1_i1_(param_4, param_5);
+      p = x_439;
+      if (((p - 1) > l_1)) {
+        int x_447 = (top + 1);
+        top = x_447;
+        stack[x_447] = l_1;
+        int x_451 = (top + 1);
+        top = x_451;
+        stack[x_451] = (p - 1);
+      }
+      if (((p + 1) < h_1)) {
+        int x_462 = (top + 1);
+        top = x_462;
+        stack[x_462] = (p + 1);
+        int x_467 = (top + 1);
+        top = x_467;
+        stack[x_467] = h_1;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:179: 'main' : function cannot take any parameter(s) 
+ERROR: 0:179: 'structure' :  entry point cannot return a value
+ERROR: 0:179: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/0.wgsl.expected.ir.glsl
index 72ca17c..eb123f7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/0.wgsl.expected.ir.glsl
@@ -1,11 +1,412 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 frag_color_1;
+  vec4 tint_symbol;
+};
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_FragCoord = vec4(0.0f);
+vec4 x_GLF_pos = vec4(0.0f);
+uniform buf0 x_34;
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  int x_90 = 0;
+  int x_91 = 0;
+  int x_92 = 0;
+  int x_93 = 0;
+  int x_94 = 0;
+  int x_95 = 0;
+  int x_96 = 0;
+  int x_97 = 0;
+  int x_98 = 0;
+  int x_99 = 0;
+  int x_100 = 0;
+  int x_101 = 0;
+  int x_102 = 0;
+  int x_103[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int x_104 = 0;
+  int x_105 = 0;
+  int x_106 = 0;
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  vec4 x_107 = x_GLF_pos;
+  x_GLF_FragCoord = ((x_107 + vec4(1.0f, 1.0f, 0.0f, 0.0f)) * vec4(128.0f, 128.0f, 1.0f, 1.0f));
+  i_2 = 0;
+  {
+    while(true) {
+      int x_114 = i_2;
+      if ((x_114 < 10)) {
+      } else {
+        break;
+      }
+      int x_117 = i_2;
+      int x_118 = i_2;
+      obj.numbers[x_117] = (10 - x_118);
+      int x_121 = i_2;
+      int x_122 = i_2;
+      int x_124 = obj.numbers[x_122];
+      int x_125 = i_2;
+      int x_127 = obj.numbers[x_125];
+      obj.numbers[x_121] = (x_124 * x_127);
+      {
+        int x_130 = i_2;
+        i_2 = (x_130 + 1);
+      }
+      continue;
+    }
+  }
+  x_100 = 0;
+  x_101 = 9;
+  x_102 = -1;
+  int x_132 = x_102;
+  int x_133 = (x_132 + 1);
+  x_102 = x_133;
+  int x_134 = x_100;
+  x_103[x_133] = x_134;
+  int x_136 = x_102;
+  int x_137 = (x_136 + 1);
+  x_102 = x_137;
+  int x_138 = x_101;
+  x_103[x_137] = x_138;
+  {
+    while(true) {
+      int x_144 = x_102;
+      if ((x_144 >= 0)) {
+      } else {
+        break;
+      }
+      int x_147 = x_102;
+      x_102 = (x_147 - 1);
+      int x_150 = x_103[x_147];
+      x_101 = x_150;
+      int x_151 = x_102;
+      x_102 = (x_151 - 1);
+      int x_154 = x_103[x_151];
+      x_100 = x_154;
+      int x_155 = x_100;
+      x_105 = x_155;
+      int x_156 = x_101;
+      x_106 = x_156;
+      int x_157 = x_106;
+      int x_159 = obj.numbers[x_157];
+      x_92 = x_159;
+      int x_160 = x_105;
+      x_93 = (x_160 - 1);
+      int x_162 = x_105;
+      x_94 = x_162;
+      {
+        while(true) {
+          int x_167 = x_94;
+          int x_168 = x_106;
+          if ((x_167 <= (x_168 - 1))) {
+          } else {
+            break;
+          }
+          int x_172 = x_94;
+          int x_174 = obj.numbers[x_172];
+          int x_175 = x_92;
+          if ((x_174 <= x_175)) {
+            int x_179 = x_93;
+            x_93 = (x_179 + 1);
+            int x_181 = x_93;
+            x_95 = x_181;
+            int x_182 = x_94;
+            x_96 = x_182;
+            int x_183 = x_95;
+            int x_185 = obj.numbers[x_183];
+            x_91 = x_185;
+            int x_186 = x_95;
+            int x_187 = x_96;
+            int x_189 = obj.numbers[x_187];
+            obj.numbers[x_186] = x_189;
+            int x_191 = x_96;
+            int x_192 = x_91;
+            obj.numbers[x_191] = x_192;
+          }
+          {
+            int x_194 = x_94;
+            x_94 = (x_194 + 1);
+          }
+          continue;
+        }
+      }
+      int x_196 = x_93;
+      x_97 = (x_196 + 1);
+      int x_198 = x_106;
+      x_98 = x_198;
+      int x_199 = x_97;
+      int x_201 = obj.numbers[x_199];
+      x_90 = x_201;
+      int x_202 = x_97;
+      int x_203 = x_98;
+      int x_205 = obj.numbers[x_203];
+      obj.numbers[x_202] = x_205;
+      int x_207 = x_98;
+      int x_208 = x_90;
+      obj.numbers[x_207] = x_208;
+      int x_210 = x_93;
+      x_99 = (x_210 + 1);
+      int x_212 = x_99;
+      x_104 = x_212;
+      int x_213 = x_104;
+      int x_215 = x_100;
+      if (((x_213 - 1) > x_215)) {
+        int x_219 = x_102;
+        int x_220 = (x_219 + 1);
+        x_102 = x_220;
+        int x_221 = x_100;
+        x_103[x_220] = x_221;
+        int x_223 = x_102;
+        int x_224 = (x_223 + 1);
+        x_102 = x_224;
+        int x_225 = x_104;
+        x_103[x_224] = (x_225 - 1);
+      }
+      int x_228 = x_104;
+      int x_230 = x_101;
+      if (((x_228 + 1) < x_230)) {
+        int x_234 = x_102;
+        int x_235 = (x_234 + 1);
+        x_102 = x_235;
+        int x_236 = x_104;
+        x_103[x_235] = (x_236 + 1);
+        int x_239 = x_102;
+        int x_240 = (x_239 + 1);
+        x_102 = x_240;
+        int x_241 = x_101;
+        x_103[x_240] = x_241;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  vec4 x_243 = x_GLF_FragCoord;
+  vec2 x_246 = x_34.resolution;
+  uv = (vec2(x_243[0u], x_243[1u]) / x_246);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  int x_249 = obj.numbers[0];
+  float x_252 = color.x;
+  color[0u] = (x_252 + float(x_249));
+  float x_256 = uv.x;
+  if ((x_256 > 0.25f)) {
+    int x_261 = obj.numbers[1];
+    float x_264 = color.x;
+    color[0u] = (x_264 + float(x_261));
+  }
+  float x_268 = uv.x;
+  if ((x_268 > 0.5f)) {
+    int x_273 = obj.numbers[2];
+    float x_276 = color.y;
+    color[1u] = (x_276 + float(x_273));
+  }
+  float x_280 = uv.x;
+  if ((x_280 > 0.75f)) {
+    int x_285 = obj.numbers[3];
+    float x_288 = color.z;
+    color[2u] = (x_288 + float(x_285));
+  }
+  int x_292 = obj.numbers[4];
+  float x_295 = color.y;
+  color[1u] = (x_295 + float(x_292));
+  float x_299 = uv.y;
+  if ((x_299 > 0.25f)) {
+    int x_304 = obj.numbers[5];
+    float x_307 = color.x;
+    color[0u] = (x_307 + float(x_304));
+  }
+  float x_311 = uv.y;
+  if ((x_311 > 0.5f)) {
+    int x_316 = obj.numbers[6];
+    float x_319 = color.y;
+    color[1u] = (x_319 + float(x_316));
+  }
+  float x_323 = uv.y;
+  if ((x_323 > 0.75f)) {
+    int x_328 = obj.numbers[7];
+    float x_331 = color.z;
+    color[2u] = (x_331 + float(x_328));
+  }
+  int x_335 = obj.numbers[8];
+  float x_338 = color.z;
+  color[2u] = (x_338 + float(x_335));
+  float x_342 = uv.x;
+  float x_344 = uv.y;
+  if ((abs((x_342 - x_344)) < 0.25f)) {
+    int x_351 = obj.numbers[9];
+    float x_354 = color.x;
+    color[0u] = (x_354 + float(x_351));
+  }
+  vec3 x_357 = color;
+  vec3 x_358 = normalize(x_357);
+  frag_color = vec4(x_358[0u], x_358[1u], x_358[2u], 1.0f);
+  vec4 x_363 = x_GLF_pos;
+  tint_symbol = x_363;
+}
+main_out main(vec4 x_GLF_pos_param) {
+  x_GLF_pos = x_GLF_pos_param;
+  main_1();
+  return main_out(frag_color, tint_symbol);
+}
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  int x_366 = i;
+  int x_368 = obj.numbers[x_366];
+  temp = x_368;
+  int x_369 = i;
+  int x_370 = j;
+  int x_372 = obj.numbers[x_370];
+  obj.numbers[x_369] = x_372;
+  int x_374 = j;
+  int x_375 = temp;
+  obj.numbers[x_374] = x_375;
+}
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  int x_378 = h;
+  int x_380 = obj.numbers[x_378];
+  pivot = x_380;
+  int x_381 = l;
+  i_1 = (x_381 - 1);
+  int x_383 = l;
+  j_1 = x_383;
+  {
+    while(true) {
+      int x_388 = j_1;
+      int x_389 = h;
+      if ((x_388 <= (x_389 - 1))) {
+      } else {
+        break;
+      }
+      int x_393 = j_1;
+      int x_395 = obj.numbers[x_393];
+      int x_396 = pivot;
+      if ((x_395 <= x_396)) {
+        int x_400 = i_1;
+        i_1 = (x_400 + 1);
+        int x_402 = i_1;
+        param = x_402;
+        int x_403 = j_1;
+        param_1 = x_403;
+        swap_i1_i1_(param, param_1);
+      }
+      {
+        int x_405 = j_1;
+        j_1 = (x_405 + 1);
+      }
+      continue;
+    }
+  }
+  int x_407 = i_1;
+  param_2 = (x_407 + 1);
+  int x_409 = h;
+  param_3 = x_409;
+  swap_i1_i1_(param_2, param_3);
+  int x_411 = i_1;
+  return (x_411 + 1);
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_414 = top;
+  int x_415 = (x_414 + 1);
+  top = x_415;
+  int x_416 = l_1;
+  stack[x_415] = x_416;
+  int x_418 = top;
+  int x_419 = (x_418 + 1);
+  top = x_419;
+  int x_420 = h_1;
+  stack[x_419] = x_420;
+  {
+    while(true) {
+      int x_426 = top;
+      if ((x_426 >= 0)) {
+      } else {
+        break;
+      }
+      int x_429 = top;
+      top = (x_429 - 1);
+      int x_432 = stack[x_429];
+      h_1 = x_432;
+      int x_433 = top;
+      top = (x_433 - 1);
+      int x_436 = stack[x_433];
+      l_1 = x_436;
+      int x_437 = l_1;
+      param_4 = x_437;
+      int x_438 = h_1;
+      param_5 = x_438;
+      int x_439 = performPartition_i1_i1_(param_4, param_5);
+      p = x_439;
+      int x_440 = p;
+      int x_442 = l_1;
+      if (((x_440 - 1) > x_442)) {
+        int x_446 = top;
+        int x_447 = (x_446 + 1);
+        top = x_447;
+        int x_448 = l_1;
+        stack[x_447] = x_448;
+        int x_450 = top;
+        int x_451 = (x_450 + 1);
+        top = x_451;
+        int x_452 = p;
+        stack[x_451] = (x_452 - 1);
+      }
+      int x_455 = p;
+      int x_457 = h_1;
+      if (((x_455 + 1) < x_457)) {
+        int x_461 = top;
+        int x_462 = (x_461 + 1);
+        top = x_462;
+        int x_463 = p;
+        stack[x_462] = (x_463 + 1);
+        int x_466 = top;
+        int x_467 = (x_466 + 1);
+        top = x_467;
+        int x_468 = h_1;
+        stack[x_467] = x_468;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:257: 'main' : function cannot take any parameter(s) 
+ERROR: 0:257: 'structure' :  entry point cannot return a value
+ERROR: 0:257: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/2.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/2.spvasm.expected.ir.glsl
index d4bb1c9..03499e83 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/2.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/2.spvasm.expected.ir.glsl
@@ -1,11 +1,265 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 frag_color_1;
+  vec4 tint_symbol;
+};
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_FragCoord = vec4(0.0f);
+vec4 x_GLF_pos = vec4(0.0f);
+uniform buf0 x_34;
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int x_314 = 0;
+  int x_315 = 0;
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  pivot = obj.numbers[h];
+  i_1 = (l - 1);
+  j_1 = l;
+  {
+    while(true) {
+      if ((j_1 <= (h - 1))) {
+      } else {
+        break;
+      }
+      if ((obj.numbers[j_1] <= pivot)) {
+        i_1 = (i_1 + 1);
+        param = i_1;
+        param_1 = j_1;
+        x_315 = obj.numbers[param];
+        int x_345 = param;
+        obj.numbers[x_345] = obj.numbers[param_1];
+        int x_350 = param_1;
+        obj.numbers[x_350] = x_315;
+      }
+      {
+        j_1 = (j_1 + 1);
+      }
+      continue;
+    }
+  }
+  param_2 = (i_1 + 1);
+  param_3 = h;
+  x_314 = obj.numbers[param_2];
+  int x_361 = param_2;
+  obj.numbers[x_361] = obj.numbers[param_3];
+  int x_366 = param_3;
+  obj.numbers[x_366] = x_314;
+  if (false) {
+  } else {
+    int x_372 = i_1;
+    return (x_372 + 1);
+  }
+  return 0;
+}
+void main_1() {
+  int x_91 = 0;
+  int x_92 = 0;
+  int x_93 = 0;
+  int x_94[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int x_95 = 0;
+  int x_96 = 0;
+  int x_97 = 0;
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  x_GLF_FragCoord = ((x_GLF_pos + vec4(1.0f, 1.0f, 0.0f, 0.0f)) * vec4(128.0f, 128.0f, 1.0f, 1.0f));
+  i_2 = 0;
+  {
+    while(true) {
+      if ((i_2 < 10)) {
+      } else {
+        break;
+      }
+      int x_108 = i_2;
+      obj.numbers[x_108] = (10 - i_2);
+      int x_112 = i_2;
+      obj.numbers[x_112] = (obj.numbers[i_2] * obj.numbers[i_2]);
+      {
+        i_2 = (i_2 + 1);
+      }
+      continue;
+    }
+  }
+  x_91 = 0;
+  x_92 = 9;
+  x_93 = -1;
+  int x_124 = (x_93 + 1);
+  x_93 = x_124;
+  x_94[x_124] = x_91;
+  int x_128 = (x_93 + 1);
+  x_93 = x_128;
+  x_94[x_128] = x_92;
+  {
+    while(true) {
+      if ((x_93 >= 0)) {
+      } else {
+        break;
+      }
+      int x_138 = x_93;
+      x_93 = (x_93 - 1);
+      x_92 = x_94[x_138];
+      int x_142 = x_93;
+      x_93 = (x_93 - 1);
+      x_91 = x_94[x_142];
+      x_96 = x_91;
+      x_97 = x_92;
+      int x_148 = performPartition_i1_i1_(x_96, x_97);
+      x_95 = x_148;
+      if (((x_95 - 1) > x_91)) {
+        int x_156 = (x_93 + 1);
+        x_93 = x_156;
+        x_94[x_156] = x_91;
+        int x_160 = (x_93 + 1);
+        x_93 = x_160;
+        x_94[x_160] = (x_95 - 1);
+      }
+      if (((x_95 + 1) < x_92)) {
+        int x_171 = (x_93 + 1);
+        x_93 = x_171;
+        x_94[x_171] = (x_95 + 1);
+        int x_176 = (x_93 + 1);
+        x_93 = x_176;
+        x_94[x_176] = x_92;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  uv = (x_GLF_FragCoord.xy / x_34.resolution);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  float v = color.x;
+  color[0u] = (v + float(obj.numbers[0]));
+  if ((uv.x > 0.25f)) {
+    float v_1 = color.x;
+    color[0u] = (v_1 + float(obj.numbers[1]));
+  }
+  if ((uv.x > 0.5f)) {
+    float v_2 = color.y;
+    color[1u] = (v_2 + float(obj.numbers[2]));
+  }
+  if ((uv.x > 0.75f)) {
+    float v_3 = color.z;
+    color[2u] = (v_3 + float(obj.numbers[3]));
+  }
+  float v_4 = color.y;
+  color[1u] = (v_4 + float(obj.numbers[4]));
+  if ((uv.y > 0.25f)) {
+    float v_5 = color.x;
+    color[0u] = (v_5 + float(obj.numbers[5]));
+  }
+  if ((uv.y > 0.5f)) {
+    float v_6 = color.y;
+    color[1u] = (v_6 + float(obj.numbers[6]));
+  }
+  if ((uv.y > 0.75f)) {
+    float v_7 = color.z;
+    color[2u] = (v_7 + float(obj.numbers[7]));
+  }
+  float v_8 = color.z;
+  color[2u] = (v_8 + float(obj.numbers[8]));
+  if ((abs((uv.x - uv.y)) < 0.25f)) {
+    float v_9 = color.x;
+    color[0u] = (v_9 + float(obj.numbers[9]));
+  }
+  vec3 x_294 = normalize(color);
+  frag_color = vec4(x_294[0u], x_294[1u], x_294[2u], 1.0f);
+  tint_symbol = x_GLF_pos;
+}
+main_out main(vec4 x_GLF_pos_param) {
+  x_GLF_pos = x_GLF_pos_param;
+  main_1();
+  return main_out(frag_color, tint_symbol);
+}
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  temp = obj.numbers[i];
+  int x_305 = i;
+  obj.numbers[x_305] = obj.numbers[j];
+  int x_310 = j;
+  obj.numbers[x_310] = temp;
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_377 = (top + 1);
+  top = x_377;
+  stack[x_377] = l_1;
+  int x_381 = (top + 1);
+  top = x_381;
+  stack[x_381] = h_1;
+  {
+    while(true) {
+      if ((top >= 0)) {
+      } else {
+        break;
+      }
+      int x_391 = top;
+      top = (top - 1);
+      h_1 = stack[x_391];
+      int x_395 = top;
+      top = (top - 1);
+      l_1 = stack[x_395];
+      param_4 = l_1;
+      param_5 = h_1;
+      int x_401 = performPartition_i1_i1_(param_4, param_5);
+      p = x_401;
+      if (((p - 1) > l_1)) {
+        int x_409 = (top + 1);
+        top = x_409;
+        stack[x_409] = l_1;
+        int x_413 = (top + 1);
+        top = x_413;
+        stack[x_413] = (p - 1);
+      }
+      if (((p + 1) < h_1)) {
+        int x_424 = (top + 1);
+        top = x_424;
+        stack[x_424] = (p + 1);
+        int x_429 = (top + 1);
+        top = x_429;
+        stack[x_429] = h_1;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:186: 'main' : function cannot take any parameter(s) 
+ERROR: 0:186: 'structure' :  entry point cannot return a value
+ERROR: 0:186: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/2.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/2.wgsl.expected.ir.glsl
index 72ca17c..a01d664 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/2.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-if-false-else-return/2.wgsl.expected.ir.glsl
@@ -1,11 +1,367 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct QuicksortObject {
+  int numbers[10];
+};
+
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 frag_color_1;
+  vec4 tint_symbol;
+};
+
+QuicksortObject obj = QuicksortObject(int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0));
+vec4 x_GLF_FragCoord = vec4(0.0f);
+vec4 x_GLF_pos = vec4(0.0f);
+uniform buf0 x_34;
+vec4 frag_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+int performPartition_i1_i1_(inout int l, inout int h) {
+  int x_314 = 0;
+  int x_315 = 0;
+  int pivot = 0;
+  int i_1 = 0;
+  int j_1 = 0;
+  int param = 0;
+  int param_1 = 0;
+  int param_2 = 0;
+  int param_3 = 0;
+  int x_316 = h;
+  int x_318 = obj.numbers[x_316];
+  pivot = x_318;
+  int x_319 = l;
+  i_1 = (x_319 - 1);
+  int x_321 = l;
+  j_1 = x_321;
+  {
+    while(true) {
+      int x_326 = j_1;
+      int x_327 = h;
+      if ((x_326 <= (x_327 - 1))) {
+      } else {
+        break;
+      }
+      int x_331 = j_1;
+      int x_333 = obj.numbers[x_331];
+      int x_334 = pivot;
+      if ((x_333 <= x_334)) {
+        int x_338 = i_1;
+        i_1 = (x_338 + 1);
+        int x_340 = i_1;
+        param = x_340;
+        int x_341 = j_1;
+        param_1 = x_341;
+        int x_342 = param;
+        int x_344 = obj.numbers[x_342];
+        x_315 = x_344;
+        int x_345 = param;
+        int x_346 = param_1;
+        int x_348 = obj.numbers[x_346];
+        obj.numbers[x_345] = x_348;
+        int x_350 = param_1;
+        int x_351 = x_315;
+        obj.numbers[x_350] = x_351;
+      }
+      {
+        int x_353 = j_1;
+        j_1 = (x_353 + 1);
+      }
+      continue;
+    }
+  }
+  int x_355 = i_1;
+  param_2 = (x_355 + 1);
+  int x_357 = h;
+  param_3 = x_357;
+  int x_358 = param_2;
+  int x_360 = obj.numbers[x_358];
+  x_314 = x_360;
+  int x_361 = param_2;
+  int x_362 = param_3;
+  int x_364 = obj.numbers[x_362];
+  obj.numbers[x_361] = x_364;
+  int x_366 = param_3;
+  int x_367 = x_314;
+  obj.numbers[x_366] = x_367;
+  if (false) {
+  } else {
+    int x_372 = i_1;
+    return (x_372 + 1);
+  }
+  return 0;
+}
+void main_1() {
+  int x_91 = 0;
+  int x_92 = 0;
+  int x_93 = 0;
+  int x_94[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int x_95 = 0;
+  int x_96 = 0;
+  int x_97 = 0;
+  int i_2 = 0;
+  vec2 uv = vec2(0.0f);
+  vec3 color = vec3(0.0f);
+  vec4 x_98 = x_GLF_pos;
+  x_GLF_FragCoord = ((x_98 + vec4(1.0f, 1.0f, 0.0f, 0.0f)) * vec4(128.0f, 128.0f, 1.0f, 1.0f));
+  i_2 = 0;
+  {
+    while(true) {
+      int x_105 = i_2;
+      if ((x_105 < 10)) {
+      } else {
+        break;
+      }
+      int x_108 = i_2;
+      int x_109 = i_2;
+      obj.numbers[x_108] = (10 - x_109);
+      int x_112 = i_2;
+      int x_113 = i_2;
+      int x_115 = obj.numbers[x_113];
+      int x_116 = i_2;
+      int x_118 = obj.numbers[x_116];
+      obj.numbers[x_112] = (x_115 * x_118);
+      {
+        int x_121 = i_2;
+        i_2 = (x_121 + 1);
+      }
+      continue;
+    }
+  }
+  x_91 = 0;
+  x_92 = 9;
+  x_93 = -1;
+  int x_123 = x_93;
+  int x_124 = (x_123 + 1);
+  x_93 = x_124;
+  int x_125 = x_91;
+  x_94[x_124] = x_125;
+  int x_127 = x_93;
+  int x_128 = (x_127 + 1);
+  x_93 = x_128;
+  int x_129 = x_92;
+  x_94[x_128] = x_129;
+  {
+    while(true) {
+      int x_135 = x_93;
+      if ((x_135 >= 0)) {
+      } else {
+        break;
+      }
+      int x_138 = x_93;
+      x_93 = (x_138 - 1);
+      int x_141 = x_94[x_138];
+      x_92 = x_141;
+      int x_142 = x_93;
+      x_93 = (x_142 - 1);
+      int x_145 = x_94[x_142];
+      x_91 = x_145;
+      int x_146 = x_91;
+      x_96 = x_146;
+      int x_147 = x_92;
+      x_97 = x_147;
+      int x_148 = performPartition_i1_i1_(x_96, x_97);
+      x_95 = x_148;
+      int x_149 = x_95;
+      int x_151 = x_91;
+      if (((x_149 - 1) > x_151)) {
+        int x_155 = x_93;
+        int x_156 = (x_155 + 1);
+        x_93 = x_156;
+        int x_157 = x_91;
+        x_94[x_156] = x_157;
+        int x_159 = x_93;
+        int x_160 = (x_159 + 1);
+        x_93 = x_160;
+        int x_161 = x_95;
+        x_94[x_160] = (x_161 - 1);
+      }
+      int x_164 = x_95;
+      int x_166 = x_92;
+      if (((x_164 + 1) < x_166)) {
+        int x_170 = x_93;
+        int x_171 = (x_170 + 1);
+        x_93 = x_171;
+        int x_172 = x_95;
+        x_94[x_171] = (x_172 + 1);
+        int x_175 = x_93;
+        int x_176 = (x_175 + 1);
+        x_93 = x_176;
+        int x_177 = x_92;
+        x_94[x_176] = x_177;
+      }
+      {
+      }
+      continue;
+    }
+  }
+  vec4 x_179 = x_GLF_FragCoord;
+  vec2 x_182 = x_34.resolution;
+  uv = (vec2(x_179[0u], x_179[1u]) / x_182);
+  color = vec3(1.0f, 2.0f, 3.0f);
+  int x_185 = obj.numbers[0];
+  float x_188 = color.x;
+  color[0u] = (x_188 + float(x_185));
+  float x_192 = uv.x;
+  if ((x_192 > 0.25f)) {
+    int x_197 = obj.numbers[1];
+    float x_200 = color.x;
+    color[0u] = (x_200 + float(x_197));
+  }
+  float x_204 = uv.x;
+  if ((x_204 > 0.5f)) {
+    int x_209 = obj.numbers[2];
+    float x_212 = color.y;
+    color[1u] = (x_212 + float(x_209));
+  }
+  float x_216 = uv.x;
+  if ((x_216 > 0.75f)) {
+    int x_221 = obj.numbers[3];
+    float x_224 = color.z;
+    color[2u] = (x_224 + float(x_221));
+  }
+  int x_228 = obj.numbers[4];
+  float x_231 = color.y;
+  color[1u] = (x_231 + float(x_228));
+  float x_235 = uv.y;
+  if ((x_235 > 0.25f)) {
+    int x_240 = obj.numbers[5];
+    float x_243 = color.x;
+    color[0u] = (x_243 + float(x_240));
+  }
+  float x_247 = uv.y;
+  if ((x_247 > 0.5f)) {
+    int x_252 = obj.numbers[6];
+    float x_255 = color.y;
+    color[1u] = (x_255 + float(x_252));
+  }
+  float x_259 = uv.y;
+  if ((x_259 > 0.75f)) {
+    int x_264 = obj.numbers[7];
+    float x_267 = color.z;
+    color[2u] = (x_267 + float(x_264));
+  }
+  int x_271 = obj.numbers[8];
+  float x_274 = color.z;
+  color[2u] = (x_274 + float(x_271));
+  float x_278 = uv.x;
+  float x_280 = uv.y;
+  if ((abs((x_278 - x_280)) < 0.25f)) {
+    int x_287 = obj.numbers[9];
+    float x_290 = color.x;
+    color[0u] = (x_290 + float(x_287));
+  }
+  vec3 x_293 = color;
+  vec3 x_294 = normalize(x_293);
+  frag_color = vec4(x_294[0u], x_294[1u], x_294[2u], 1.0f);
+  vec4 x_299 = x_GLF_pos;
+  tint_symbol = x_299;
+}
+main_out main(vec4 x_GLF_pos_param) {
+  x_GLF_pos = x_GLF_pos_param;
+  main_1();
+  return main_out(frag_color, tint_symbol);
+}
+void swap_i1_i1_(inout int i, inout int j) {
+  int temp = 0;
+  int x_302 = i;
+  int x_304 = obj.numbers[x_302];
+  temp = x_304;
+  int x_305 = i;
+  int x_306 = j;
+  int x_308 = obj.numbers[x_306];
+  obj.numbers[x_305] = x_308;
+  int x_310 = j;
+  int x_311 = temp;
+  obj.numbers[x_310] = x_311;
+}
+void quicksort_() {
+  int l_1 = 0;
+  int h_1 = 0;
+  int top = 0;
+  int stack[10] = int[10](0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
+  int p = 0;
+  int param_4 = 0;
+  int param_5 = 0;
+  l_1 = 0;
+  h_1 = 9;
+  top = -1;
+  int x_376 = top;
+  int x_377 = (x_376 + 1);
+  top = x_377;
+  int x_378 = l_1;
+  stack[x_377] = x_378;
+  int x_380 = top;
+  int x_381 = (x_380 + 1);
+  top = x_381;
+  int x_382 = h_1;
+  stack[x_381] = x_382;
+  {
+    while(true) {
+      int x_388 = top;
+      if ((x_388 >= 0)) {
+      } else {
+        break;
+      }
+      int x_391 = top;
+      top = (x_391 - 1);
+      int x_394 = stack[x_391];
+      h_1 = x_394;
+      int x_395 = top;
+      top = (x_395 - 1);
+      int x_398 = stack[x_395];
+      l_1 = x_398;
+      int x_399 = l_1;
+      param_4 = x_399;
+      int x_400 = h_1;
+      param_5 = x_400;
+      int x_401 = performPartition_i1_i1_(param_4, param_5);
+      p = x_401;
+      int x_402 = p;
+      int x_404 = l_1;
+      if (((x_402 - 1) > x_404)) {
+        int x_408 = top;
+        int x_409 = (x_408 + 1);
+        top = x_409;
+        int x_410 = l_1;
+        stack[x_409] = x_410;
+        int x_412 = top;
+        int x_413 = (x_412 + 1);
+        top = x_413;
+        int x_414 = p;
+        stack[x_413] = (x_414 - 1);
+      }
+      int x_417 = p;
+      int x_419 = h_1;
+      if (((x_417 + 1) < x_419)) {
+        int x_423 = top;
+        int x_424 = (x_423 + 1);
+        top = x_424;
+        int x_425 = p;
+        stack[x_424] = (x_425 + 1);
+        int x_428 = top;
+        int x_429 = (x_428 + 1);
+        top = x_429;
+        int x_430 = h_1;
+        stack[x_429] = x_430;
+      }
+      {
+      }
+      continue;
+    }
+  }
+}
+error: Error parsing GLSL shader:
+ERROR: 0:262: 'main' : function cannot take any parameter(s) 
+ERROR: 0:262: 'structure' :  entry point cannot return a value
+ERROR: 0:262: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-max-value-as-index/2-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-max-value-as-index/2-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-max-value-as-index/2-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-max-value-as-index/2-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-max-value-as-index/2-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-max-value-as-index/2-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-max-value-as-index/2-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-quicksort-max-value-as-index/2-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-rects-vec4-clamp-conditional-min-mix/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-rects-vec4-clamp-conditional-min-mix/1.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-rects-vec4-clamp-conditional-min-mix/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-rects-vec4-clamp-conditional-min-mix/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-rects-vec4-clamp-conditional-min-mix/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-rects-vec4-clamp-conditional-min-mix/1.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-rects-vec4-clamp-conditional-min-mix/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-rects-vec4-clamp-conditional-min-mix/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.spvasm.expected.ir.glsl
index 4a20bc7..6500e9a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,134 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_24;
+vec4 x_GLF_color = vec4(0.0f);
+float cross2d_vf2_vf2_(inout vec2 a, inout vec2 b) {
+  float x_79 = a.x;
+  float x_81 = b.y;
+  float x_84 = b.x;
+  float x_86 = a.y;
+  return ((x_79 * x_81) - (x_84 * x_86));
+}
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a_1, inout vec2 b_1, inout vec2 c) {
+  bool x_90 = false;
+  int x_91 = 0;
+  float pab = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  float pbc = 0.0f;
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  float pca = 0.0f;
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_140 = false;
+  bool x_141 = false;
+  bool x_168 = false;
+  bool x_169 = false;
+  int x_173 = 0;
+  switch(0u) {
+    default:
+    {
+      float x_106 = b_1.x;
+      float x_107 = a_1.x;
+      float x_110 = b_1.y;
+      float x_111 = a_1.y;
+      param = vec2((p.x - a_1.x), (p.y - a_1.y));
+      param_1 = vec2((x_106 - x_107), (x_110 - x_111));
+      float x_114 = cross2d_vf2_vf2_(param, param_1);
+      pab = x_114;
+      float x_123 = c.x;
+      float x_124 = b_1.x;
+      float x_127 = c.y;
+      float x_128 = b_1.y;
+      param_2 = vec2((p.x - b_1.x), (p.y - b_1.y));
+      param_3 = vec2((x_123 - x_124), (x_127 - x_128));
+      float x_131 = cross2d_vf2_vf2_(param_2, param_3);
+      pbc = x_131;
+      bool x_134 = ((x_114 < 0.0f) & (x_131 < 0.0f));
+      x_141 = x_134;
+      if (!(x_134)) {
+        x_140 = ((x_114 >= 0.0f) & (x_131 >= 0.0f));
+        x_141 = x_140;
+      }
+      if (!(x_141)) {
+        x_90 = true;
+        x_91 = 0;
+        x_173 = 0;
+        break;
+      }
+      float x_152 = a_1.x;
+      float x_153 = c.x;
+      float x_155 = a_1.y;
+      float x_156 = c.y;
+      param_4 = vec2((p.x - c.x), (p.y - c.y));
+      param_5 = vec2((x_152 - x_153), (x_155 - x_156));
+      float x_159 = cross2d_vf2_vf2_(param_4, param_5);
+      pca = x_159;
+      bool x_162 = ((x_114 < 0.0f) & (x_159 < 0.0f));
+      x_169 = x_162;
+      if (!(x_162)) {
+        x_168 = ((x_114 >= 0.0f) & (x_159 >= 0.0f));
+        x_169 = x_168;
+      }
+      if (!(x_169)) {
+        x_90 = true;
+        x_91 = 0;
+        x_173 = 0;
+        break;
+      }
+      x_90 = true;
+      x_91 = 1;
+      x_173 = 1;
+      break;
+    }
+  }
+  return x_173;
+}
+void main_1() {
+  vec2 pos = vec2(0.0f);
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  vec2 x_71 = (tint_symbol.xy / x_24.resolution);
+  pos = x_71;
+  param_6 = x_71;
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_72 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_72 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..2fd0b03 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-array-nested-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,151 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_24;
+vec4 x_GLF_color = vec4(0.0f);
+float cross2d_vf2_vf2_(inout vec2 a, inout vec2 b) {
+  float x_79 = a.x;
+  float x_81 = b.y;
+  float x_84 = b.x;
+  float x_86 = a.y;
+  return ((x_79 * x_81) - (x_84 * x_86));
+}
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a_1, inout vec2 b_1, inout vec2 c) {
+  bool x_90 = false;
+  int x_91 = 0;
+  float pab = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  float pbc = 0.0f;
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  float pca = 0.0f;
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_140 = false;
+  bool x_168 = false;
+  bool x_141_phi = false;
+  bool x_169_phi = false;
+  int x_173_phi = 0;
+  switch(0u) {
+    default:
+    {
+      float x_95 = p.x;
+      float x_97 = a_1.x;
+      float x_100 = p.y;
+      float x_102 = a_1.y;
+      float x_106 = b_1.x;
+      float x_107 = a_1.x;
+      float x_110 = b_1.y;
+      float x_111 = a_1.y;
+      param = vec2((x_95 - x_97), (x_100 - x_102));
+      param_1 = vec2((x_106 - x_107), (x_110 - x_111));
+      float x_114 = cross2d_vf2_vf2_(param, param_1);
+      pab = x_114;
+      float x_115 = p.x;
+      float x_116 = b_1.x;
+      float x_118 = p.y;
+      float x_119 = b_1.y;
+      float x_123 = c.x;
+      float x_124 = b_1.x;
+      float x_127 = c.y;
+      float x_128 = b_1.y;
+      param_2 = vec2((x_115 - x_116), (x_118 - x_119));
+      param_3 = vec2((x_123 - x_124), (x_127 - x_128));
+      float x_131 = cross2d_vf2_vf2_(param_2, param_3);
+      pbc = x_131;
+      bool x_134 = ((x_114 < 0.0f) & (x_131 < 0.0f));
+      x_141_phi = x_134;
+      if (!(x_134)) {
+        x_140 = ((x_114 >= 0.0f) & (x_131 >= 0.0f));
+        x_141_phi = x_140;
+      }
+      bool x_141 = x_141_phi;
+      if (!(x_141)) {
+        x_90 = true;
+        x_91 = 0;
+        x_173_phi = 0;
+        break;
+      }
+      float x_145 = p.x;
+      float x_146 = c.x;
+      float x_148 = p.y;
+      float x_149 = c.y;
+      float x_152 = a_1.x;
+      float x_153 = c.x;
+      float x_155 = a_1.y;
+      float x_156 = c.y;
+      param_4 = vec2((x_145 - x_146), (x_148 - x_149));
+      param_5 = vec2((x_152 - x_153), (x_155 - x_156));
+      float x_159 = cross2d_vf2_vf2_(param_4, param_5);
+      pca = x_159;
+      bool x_162 = ((x_114 < 0.0f) & (x_159 < 0.0f));
+      x_169_phi = x_162;
+      if (!(x_162)) {
+        x_168 = ((x_114 >= 0.0f) & (x_159 >= 0.0f));
+        x_169_phi = x_168;
+      }
+      bool x_169 = x_169_phi;
+      if (!(x_169)) {
+        x_90 = true;
+        x_91 = 0;
+        x_173_phi = 0;
+        break;
+      }
+      x_90 = true;
+      x_91 = 1;
+      x_173_phi = 1;
+      break;
+    }
+  }
+  int x_173 = x_173_phi;
+  return x_173;
+}
+void main_1() {
+  vec2 pos = vec2(0.0f);
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  vec4 x_67 = tint_symbol;
+  vec2 x_70 = x_24.resolution;
+  vec2 x_71 = (vec2(x_67[0u], x_67[1u]) / x_70);
+  pos = x_71;
+  param_6 = x_71;
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_72 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_72 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.spvasm.expected.ir.glsl
index 4a20bc7..81cb4f5 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.spvasm.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_24;
+vec4 x_GLF_color = vec4(0.0f);
+float cross2d_vf2_vf2_(inout vec2 a, inout vec2 b) {
+  float x_76 = a.x;
+  float x_78 = b.y;
+  float x_81 = b.x;
+  float x_83 = a.y;
+  return ((x_76 * x_78) - (x_81 * x_83));
+}
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a_1, inout vec2 b_1, inout vec2 c) {
+  float pab = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  float pbc = 0.0f;
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  float pca = 0.0f;
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_137 = false;
+  bool x_138 = false;
+  bool x_169 = false;
+  bool x_170 = false;
+  float x_99 = b_1.x;
+  float x_100 = a_1.x;
+  float x_103 = b_1.y;
+  float x_104 = a_1.y;
+  param = vec2((p.x - a_1.x), (p.y - a_1.y));
+  param_1 = vec2((x_99 - x_100), (x_103 - x_104));
+  float x_107 = cross2d_vf2_vf2_(param, param_1);
+  pab = x_107;
+  float x_116 = c.x;
+  float x_117 = b_1.x;
+  float x_120 = c.y;
+  float x_121 = b_1.y;
+  param_2 = vec2((p.x - b_1.x), (p.y - b_1.y));
+  param_3 = vec2((x_116 - x_117), (x_120 - x_121));
+  float x_124 = cross2d_vf2_vf2_(param_2, param_3);
+  pbc = x_124;
+  bool x_129 = ((pab < 0.0f) & (pbc < 0.0f));
+  x_138 = x_129;
+  if (!(x_129)) {
+    x_137 = ((pab >= 0.0f) & (pbc >= 0.0f));
+    x_138 = x_137;
+  }
+  if (!(x_138)) {
+    return 0;
+  }
+  float x_149 = a_1.x;
+  float x_150 = c.x;
+  float x_152 = a_1.y;
+  float x_153 = c.y;
+  param_4 = vec2((p.x - c.x), (p.y - c.y));
+  param_5 = vec2((x_149 - x_150), (x_152 - x_153));
+  float x_156 = cross2d_vf2_vf2_(param_4, param_5);
+  pca = x_156;
+  bool x_161 = ((pab < 0.0f) & (pca < 0.0f));
+  x_170 = x_161;
+  if (!(x_161)) {
+    x_169 = ((pab >= 0.0f) & (pca >= 0.0f));
+    x_170 = x_169;
+  }
+  if (!(x_170)) {
+    return 0;
+  }
+  return 1;
+}
+void main_1() {
+  vec2 pos = vec2(0.0f);
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  pos = (tint_symbol.xy / x_24.resolution);
+  param_6 = pos;
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_69 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_69 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.wgsl.expected.ir.glsl
index 4a20bc7..aae0350 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/0.wgsl.expected.ir.glsl
@@ -1,11 +1,140 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_24;
+vec4 x_GLF_color = vec4(0.0f);
+float cross2d_vf2_vf2_(inout vec2 a, inout vec2 b) {
+  float x_76 = a.x;
+  float x_78 = b.y;
+  float x_81 = b.x;
+  float x_83 = a.y;
+  return ((x_76 * x_78) - (x_81 * x_83));
+}
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a_1, inout vec2 b_1, inout vec2 c) {
+  float pab = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  float pbc = 0.0f;
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  float pca = 0.0f;
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_137 = false;
+  bool x_169 = false;
+  bool x_138_phi = false;
+  bool x_170_phi = false;
+  float x_88 = p.x;
+  float x_90 = a_1.x;
+  float x_93 = p.y;
+  float x_95 = a_1.y;
+  float x_99 = b_1.x;
+  float x_100 = a_1.x;
+  float x_103 = b_1.y;
+  float x_104 = a_1.y;
+  param = vec2((x_88 - x_90), (x_93 - x_95));
+  param_1 = vec2((x_99 - x_100), (x_103 - x_104));
+  float x_107 = cross2d_vf2_vf2_(param, param_1);
+  pab = x_107;
+  float x_108 = p.x;
+  float x_109 = b_1.x;
+  float x_111 = p.y;
+  float x_112 = b_1.y;
+  float x_116 = c.x;
+  float x_117 = b_1.x;
+  float x_120 = c.y;
+  float x_121 = b_1.y;
+  param_2 = vec2((x_108 - x_109), (x_111 - x_112));
+  param_3 = vec2((x_116 - x_117), (x_120 - x_121));
+  float x_124 = cross2d_vf2_vf2_(param_2, param_3);
+  pbc = x_124;
+  float x_125 = pab;
+  float x_127 = pbc;
+  bool x_129 = ((x_125 < 0.0f) & (x_127 < 0.0f));
+  x_138_phi = x_129;
+  if (!(x_129)) {
+    float x_133 = pab;
+    float x_135 = pbc;
+    x_137 = ((x_133 >= 0.0f) & (x_135 >= 0.0f));
+    x_138_phi = x_137;
+  }
+  bool x_138 = x_138_phi;
+  if (!(x_138)) {
+    return 0;
+  }
+  float x_142 = p.x;
+  float x_143 = c.x;
+  float x_145 = p.y;
+  float x_146 = c.y;
+  float x_149 = a_1.x;
+  float x_150 = c.x;
+  float x_152 = a_1.y;
+  float x_153 = c.y;
+  param_4 = vec2((x_142 - x_143), (x_145 - x_146));
+  param_5 = vec2((x_149 - x_150), (x_152 - x_153));
+  float x_156 = cross2d_vf2_vf2_(param_4, param_5);
+  pca = x_156;
+  float x_157 = pab;
+  float x_159 = pca;
+  bool x_161 = ((x_157 < 0.0f) & (x_159 < 0.0f));
+  x_170_phi = x_161;
+  if (!(x_161)) {
+    float x_165 = pab;
+    float x_167 = pca;
+    x_169 = ((x_165 >= 0.0f) & (x_167 >= 0.0f));
+    x_170_phi = x_169;
+  }
+  bool x_170 = x_170_phi;
+  if (!(x_170)) {
+    return 0;
+  }
+  return 1;
+}
+void main_1() {
+  vec2 pos = vec2(0.0f);
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  vec4 x_63 = tint_symbol;
+  vec2 x_66 = x_24.resolution;
+  pos = (vec2(x_63[0u], x_63[1u]) / x_66);
+  vec2 x_68 = pos;
+  param_6 = x_68;
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_69 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_69 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.spvasm.expected.ir.glsl
index 4a20bc7..8ce43b8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.spvasm.expected.ir.glsl
@@ -1,11 +1,135 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_15;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+float cross2d_vf2_vf2_(inout vec2 a, inout vec2 b) {
+  float x_85 = a.x;
+  float x_87 = b.y;
+  float x_90 = b.x;
+  float x_92 = a.y;
+  return ((x_85 * x_87) - (x_90 * x_92));
+}
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a_1, inout vec2 b_1, inout vec2 c) {
+  float var_y = 0.0f;
+  float x_96 = 0.0f;
+  float x_97 = 0.0f;
+  float clamp_y = 0.0f;
+  float pab = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  float pbc = 0.0f;
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  float pca = 0.0f;
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_173 = false;
+  bool x_174 = false;
+  bool x_205 = false;
+  bool x_206 = false;
+  if ((x_15.resolution.x == x_15.resolution.y)) {
+    float x_107 = c.y;
+    vec2 x_108 = vec2(0.0f, x_107);
+    if (true) {
+      x_97 = c.y;
+    } else {
+      x_97 = 1.0f;
+    }
+    vec2 x_116 = vec2(1.0f, max(x_97, c.y));
+    vec2 x_117 = x_108.xy;
+    x_96 = x_107;
+  } else {
+    x_96 = -1.0f;
+  }
+  var_y = x_96;
+  clamp_y = clamp(c.y, c.y, var_y);
+  float x_136 = b_1.x;
+  float x_137 = a_1.x;
+  float x_140 = b_1.y;
+  float x_141 = a_1.y;
+  param = vec2((p.x - a_1.x), (p.y - a_1.y));
+  param_1 = vec2((x_136 - x_137), (x_140 - x_141));
+  float x_144 = cross2d_vf2_vf2_(param, param_1);
+  pab = x_144;
+  float x_153 = c.x;
+  float x_154 = b_1.x;
+  float x_156 = clamp_y;
+  float x_157 = b_1.y;
+  param_2 = vec2((p.x - b_1.x), (p.y - b_1.y));
+  param_3 = vec2((x_153 - x_154), (x_156 - x_157));
+  float x_160 = cross2d_vf2_vf2_(param_2, param_3);
+  pbc = x_160;
+  bool x_165 = ((pab < 0.0f) & (pbc < 0.0f));
+  x_174 = x_165;
+  if (!(x_165)) {
+    x_173 = ((pab >= 0.0f) & (pbc >= 0.0f));
+    x_174 = x_173;
+  }
+  if (!(x_174)) {
+    return 0;
+  }
+  float x_185 = a_1.x;
+  float x_186 = c.x;
+  float x_188 = a_1.y;
+  float x_189 = c.y;
+  param_4 = vec2((p.x - c.x), (p.y - c.y));
+  param_5 = vec2((x_185 - x_186), (x_188 - x_189));
+  float x_192 = cross2d_vf2_vf2_(param_4, param_5);
+  pca = x_192;
+  bool x_197 = ((pab < 0.0f) & (pca < 0.0f));
+  x_206 = x_197;
+  if (!(x_197)) {
+    x_205 = ((pab >= 0.0f) & (pca >= 0.0f));
+    x_206 = x_205;
+  }
+  if (!(x_206)) {
+    return 0;
+  }
+  return 1;
+}
+void main_1() {
+  vec2 pos = vec2(0.0f);
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  pos = (tint_symbol.xy / x_15.resolution);
+  param_6 = pos;
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_78 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_78 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.wgsl.expected.ir.glsl
index 4a20bc7..79f37d7 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-clamp-conditional-mix/1.wgsl.expected.ir.glsl
@@ -1,11 +1,169 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_15;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+float cross2d_vf2_vf2_(inout vec2 a, inout vec2 b) {
+  float x_85 = a.x;
+  float x_87 = b.y;
+  float x_90 = b.x;
+  float x_92 = a.y;
+  return ((x_85 * x_87) - (x_90 * x_92));
+}
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a_1, inout vec2 b_1, inout vec2 c) {
+  float var_y = 0.0f;
+  float x_96 = 0.0f;
+  float x_97 = 0.0f;
+  float clamp_y = 0.0f;
+  float pab = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  float pbc = 0.0f;
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  float pca = 0.0f;
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_173 = false;
+  bool x_205 = false;
+  bool x_174_phi = false;
+  bool x_206_phi = false;
+  float x_99 = x_15.resolution.x;
+  float x_101 = x_15.resolution.y;
+  if ((x_99 == x_101)) {
+    float x_107 = c.y;
+    vec2 x_108 = vec2(0.0f, x_107);
+    if (true) {
+      float x_112 = c.y;
+      x_97 = x_112;
+    } else {
+      x_97 = 1.0f;
+    }
+    float x_113 = x_97;
+    float x_114 = c.y;
+    vec2 x_116 = vec2(1.0f, max(x_113, x_114));
+    vec2 x_117 = vec2(x_108[0u], x_108[1u]);
+    x_96 = x_107;
+  } else {
+    x_96 = -1.0f;
+  }
+  float x_118 = x_96;
+  var_y = x_118;
+  float x_120 = c.y;
+  float x_121 = c.y;
+  float x_122 = var_y;
+  clamp_y = clamp(x_120, x_121, x_122);
+  float x_125 = p.x;
+  float x_127 = a_1.x;
+  float x_130 = p.y;
+  float x_132 = a_1.y;
+  float x_136 = b_1.x;
+  float x_137 = a_1.x;
+  float x_140 = b_1.y;
+  float x_141 = a_1.y;
+  param = vec2((x_125 - x_127), (x_130 - x_132));
+  param_1 = vec2((x_136 - x_137), (x_140 - x_141));
+  float x_144 = cross2d_vf2_vf2_(param, param_1);
+  pab = x_144;
+  float x_145 = p.x;
+  float x_146 = b_1.x;
+  float x_148 = p.y;
+  float x_149 = b_1.y;
+  float x_153 = c.x;
+  float x_154 = b_1.x;
+  float x_156 = clamp_y;
+  float x_157 = b_1.y;
+  param_2 = vec2((x_145 - x_146), (x_148 - x_149));
+  param_3 = vec2((x_153 - x_154), (x_156 - x_157));
+  float x_160 = cross2d_vf2_vf2_(param_2, param_3);
+  pbc = x_160;
+  float x_161 = pab;
+  float x_163 = pbc;
+  bool x_165 = ((x_161 < 0.0f) & (x_163 < 0.0f));
+  x_174_phi = x_165;
+  if (!(x_165)) {
+    float x_169 = pab;
+    float x_171 = pbc;
+    x_173 = ((x_169 >= 0.0f) & (x_171 >= 0.0f));
+    x_174_phi = x_173;
+  }
+  bool x_174 = x_174_phi;
+  if (!(x_174)) {
+    return 0;
+  }
+  float x_178 = p.x;
+  float x_179 = c.x;
+  float x_181 = p.y;
+  float x_182 = c.y;
+  float x_185 = a_1.x;
+  float x_186 = c.x;
+  float x_188 = a_1.y;
+  float x_189 = c.y;
+  param_4 = vec2((x_178 - x_179), (x_181 - x_182));
+  param_5 = vec2((x_185 - x_186), (x_188 - x_189));
+  float x_192 = cross2d_vf2_vf2_(param_4, param_5);
+  pca = x_192;
+  float x_193 = pab;
+  float x_195 = pca;
+  bool x_197 = ((x_193 < 0.0f) & (x_195 < 0.0f));
+  x_206_phi = x_197;
+  if (!(x_197)) {
+    float x_201 = pab;
+    float x_203 = pca;
+    x_205 = ((x_201 >= 0.0f) & (x_203 >= 0.0f));
+    x_206_phi = x_205;
+  }
+  bool x_206 = x_206_phi;
+  if (!(x_206)) {
+    return 0;
+  }
+  return 1;
+}
+void main_1() {
+  vec2 pos = vec2(0.0f);
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  vec4 x_72 = tint_symbol;
+  vec2 x_75 = x_15.resolution;
+  pos = (vec2(x_72[0u], x_72[1u]) / x_75);
+  vec2 x_77 = pos;
+  param_6 = x_77;
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_78 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_78 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.spvasm.expected.ir.glsl
index 4a20bc7..1213025 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.spvasm.expected.ir.glsl
@@ -1,11 +1,115 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_24;
+vec4 x_GLF_color = vec4(0.0f);
+float cross2d_vf2_vf2_(inout vec2 a, inout vec2 b) {
+  float x_76 = a.x;
+  float x_78 = b.y;
+  float x_81 = b.x;
+  float x_83 = a.y;
+  return ((x_76 * x_78) - (x_81 * x_83));
+}
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a_1, inout vec2 b_1, inout vec2 c) {
+  float pab = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  float pbc = 0.0f;
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  float pca = 0.0f;
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_145 = false;
+  bool x_146 = false;
+  bool x_185 = false;
+  bool x_186 = false;
+  float x_99 = b_1.x;
+  float x_101 = a_1.x;
+  float x_104 = b_1.y;
+  float x_106 = a_1.y;
+  param = vec2((p.x - a_1.x), (p.y - a_1.y));
+  param_1 = vec2((x_99 - x_101), (x_104 - x_106));
+  float x_109 = cross2d_vf2_vf2_(param, param_1);
+  pab = x_109;
+  float x_122 = c.x;
+  float x_124 = b_1.x;
+  float x_127 = c.y;
+  float x_129 = b_1.y;
+  param_2 = vec2((p.x - b_1.x), (p.y - b_1.y));
+  param_3 = vec2((x_122 - x_124), (x_127 - x_129));
+  float x_132 = cross2d_vf2_vf2_(param_2, param_3);
+  pbc = x_132;
+  bool x_137 = ((pab < 0.0f) & (pbc < 0.0f));
+  x_146 = x_137;
+  if (!(x_137)) {
+    x_145 = ((pab >= 0.0f) & (pbc >= 0.0f));
+    x_146 = x_145;
+  }
+  if (!(x_146)) {
+    return 0;
+  }
+  float x_162 = a_1.x;
+  float x_164 = c.x;
+  float x_167 = a_1.y;
+  float x_169 = c.y;
+  param_4 = vec2((p.x - c.x), (p.y - c.y));
+  param_5 = vec2((x_162 - x_164), (x_167 - x_169));
+  float x_172 = cross2d_vf2_vf2_(param_4, param_5);
+  pca = x_172;
+  bool x_177 = ((pab < 0.0f) & (pca < 0.0f));
+  x_186 = x_177;
+  if (!(x_177)) {
+    x_185 = ((pab >= 0.0f) & (pca >= 0.0f));
+    x_186 = x_185;
+  }
+  if (!(x_186)) {
+    return 0;
+  }
+  return 1;
+}
+void main_1() {
+  vec2 pos = vec2(0.0f);
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  pos = (tint_symbol.xy / x_24.resolution);
+  param_6 = pos;
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_69 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_69 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.wgsl.expected.ir.glsl
index 4a20bc7..f75c0b3 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-conditional-clamped-float/0.wgsl.expected.ir.glsl
@@ -1,11 +1,140 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_24;
+vec4 x_GLF_color = vec4(0.0f);
+float cross2d_vf2_vf2_(inout vec2 a, inout vec2 b) {
+  float x_76 = a.x;
+  float x_78 = b.y;
+  float x_81 = b.x;
+  float x_83 = a.y;
+  return ((x_76 * x_78) - (x_81 * x_83));
+}
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a_1, inout vec2 b_1, inout vec2 c) {
+  float pab = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  float pbc = 0.0f;
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  float pca = 0.0f;
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_145 = false;
+  bool x_185 = false;
+  bool x_146_phi = false;
+  bool x_186_phi = false;
+  float x_88 = p.x;
+  float x_90 = a_1.x;
+  float x_93 = p.y;
+  float x_95 = a_1.y;
+  float x_99 = b_1.x;
+  float x_101 = a_1.x;
+  float x_104 = b_1.y;
+  float x_106 = a_1.y;
+  param = vec2((x_88 - x_90), (x_93 - x_95));
+  param_1 = vec2((x_99 - x_101), (x_104 - x_106));
+  float x_109 = cross2d_vf2_vf2_(param, param_1);
+  pab = x_109;
+  float x_111 = p.x;
+  float x_113 = b_1.x;
+  float x_116 = p.y;
+  float x_118 = b_1.y;
+  float x_122 = c.x;
+  float x_124 = b_1.x;
+  float x_127 = c.y;
+  float x_129 = b_1.y;
+  param_2 = vec2((x_111 - x_113), (x_116 - x_118));
+  param_3 = vec2((x_122 - x_124), (x_127 - x_129));
+  float x_132 = cross2d_vf2_vf2_(param_2, param_3);
+  pbc = x_132;
+  float x_133 = pab;
+  float x_135 = pbc;
+  bool x_137 = ((x_133 < 0.0f) & (x_135 < 0.0f));
+  x_146_phi = x_137;
+  if (!(x_137)) {
+    float x_141 = pab;
+    float x_143 = pbc;
+    x_145 = ((x_141 >= 0.0f) & (x_143 >= 0.0f));
+    x_146_phi = x_145;
+  }
+  bool x_146 = x_146_phi;
+  if (!(x_146)) {
+    return 0;
+  }
+  float x_151 = p.x;
+  float x_153 = c.x;
+  float x_156 = p.y;
+  float x_158 = c.y;
+  float x_162 = a_1.x;
+  float x_164 = c.x;
+  float x_167 = a_1.y;
+  float x_169 = c.y;
+  param_4 = vec2((x_151 - x_153), (x_156 - x_158));
+  param_5 = vec2((x_162 - x_164), (x_167 - x_169));
+  float x_172 = cross2d_vf2_vf2_(param_4, param_5);
+  pca = x_172;
+  float x_173 = pab;
+  float x_175 = pca;
+  bool x_177 = ((x_173 < 0.0f) & (x_175 < 0.0f));
+  x_186_phi = x_177;
+  if (!(x_177)) {
+    float x_181 = pab;
+    float x_183 = pca;
+    x_185 = ((x_181 >= 0.0f) & (x_183 >= 0.0f));
+    x_186_phi = x_185;
+  }
+  bool x_186 = x_186_phi;
+  if (!(x_186)) {
+    return 0;
+  }
+  return 1;
+}
+void main_1() {
+  vec2 pos = vec2(0.0f);
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  vec4 x_63 = tint_symbol;
+  vec2 x_66 = x_24.resolution;
+  pos = (vec2(x_63[0u], x_63[1u]) / x_66);
+  vec2 x_68 = pos;
+  param_6 = x_68;
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_69 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_69 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.spvasm.expected.ir.glsl
index 4a20bc7..c318a5b 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.spvasm.expected.ir.glsl
@@ -1,11 +1,107 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_17;
+vec4 x_GLF_color = vec4(0.0f);
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a, inout vec2 b, inout vec2 c) {
+  float x_66 = 0.0f;
+  float x_67 = 0.0f;
+  float x_68 = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_135 = false;
+  bool x_136 = false;
+  bool x_172 = false;
+  bool x_173 = false;
+  float x_81 = b.x;
+  float x_82 = a.x;
+  float x_85 = b.y;
+  float x_86 = a.y;
+  param = vec2((p.x - a.x), (p.y - a.y));
+  param_1 = vec2((x_81 - x_82), (x_85 - x_86));
+  float x_99 = ((param.x * param_1.y) - (param_1.x * param.y));
+  x_68 = x_99;
+  float x_108 = c.x;
+  float x_109 = b.x;
+  float x_112 = c.y;
+  float x_113 = b.y;
+  param_2 = vec2((p.x - b.x), (p.y - b.y));
+  param_3 = vec2((x_108 - x_109), (x_112 - x_113));
+  float x_126 = ((param_2.x * param_3.y) - (param_3.x * param_2.y));
+  x_67 = x_126;
+  bool x_127 = (x_99 < 0.0f);
+  bool x_129 = (x_127 & (x_126 < 0.0f));
+  x_136 = x_129;
+  if (!(x_129)) {
+    x_135 = ((x_99 >= 0.0f) & (x_126 >= 0.0f));
+    x_136 = x_135;
+  }
+  if (!(x_136)) {
+    return 0;
+  }
+  float x_147 = a.x;
+  float x_148 = c.x;
+  float x_150 = a.y;
+  float x_151 = c.y;
+  param_4 = vec2((p.x - c.x), (p.y - c.y));
+  param_5 = vec2((x_147 - x_148), (x_150 - x_151));
+  float x_164 = ((param_4.x * param_5.y) - (param_5.x * param_4.y));
+  x_66 = x_164;
+  bool x_166 = (x_127 & (x_164 < 0.0f));
+  x_173 = x_166;
+  if (!(x_166)) {
+    x_172 = ((x_99 >= 0.0f) & (x_164 >= 0.0f));
+    x_173 = x_172;
+  }
+  if (!(x_173)) {
+    return 0;
+  }
+  return 1;
+}
+void main_1() {
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  param_6 = (tint_symbol.xy / x_17.resolution);
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_60 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_60 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.wgsl.expected.ir.glsl
index 4a20bc7..ef27b50 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/0.wgsl.expected.ir.glsl
@@ -1,11 +1,135 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 resolution;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 tint_symbol = vec4(0.0f);
+uniform buf0 x_17;
+vec4 x_GLF_color = vec4(0.0f);
+int pointInTriangle_vf2_vf2_vf2_vf2_(inout vec2 p, inout vec2 a, inout vec2 b, inout vec2 c) {
+  float x_66 = 0.0f;
+  float x_67 = 0.0f;
+  float x_68 = 0.0f;
+  vec2 param = vec2(0.0f);
+  vec2 param_1 = vec2(0.0f);
+  vec2 param_2 = vec2(0.0f);
+  vec2 param_3 = vec2(0.0f);
+  vec2 param_4 = vec2(0.0f);
+  vec2 param_5 = vec2(0.0f);
+  bool x_135 = false;
+  bool x_172 = false;
+  bool x_136_phi = false;
+  bool x_173_phi = false;
+  float x_70 = p.x;
+  float x_72 = a.x;
+  float x_75 = p.y;
+  float x_77 = a.y;
+  float x_81 = b.x;
+  float x_82 = a.x;
+  float x_85 = b.y;
+  float x_86 = a.y;
+  param = vec2((x_70 - x_72), (x_75 - x_77));
+  param_1 = vec2((x_81 - x_82), (x_85 - x_86));
+  float x_90 = param.x;
+  float x_92 = param_1.y;
+  float x_95 = param_1.x;
+  float x_97 = param.y;
+  float x_99 = ((x_90 * x_92) - (x_95 * x_97));
+  x_68 = x_99;
+  float x_100 = p.x;
+  float x_101 = b.x;
+  float x_103 = p.y;
+  float x_104 = b.y;
+  float x_108 = c.x;
+  float x_109 = b.x;
+  float x_112 = c.y;
+  float x_113 = b.y;
+  param_2 = vec2((x_100 - x_101), (x_103 - x_104));
+  param_3 = vec2((x_108 - x_109), (x_112 - x_113));
+  float x_117 = param_2.x;
+  float x_119 = param_3.y;
+  float x_122 = param_3.x;
+  float x_124 = param_2.y;
+  float x_126 = ((x_117 * x_119) - (x_122 * x_124));
+  x_67 = x_126;
+  bool x_127 = (x_99 < 0.0f);
+  bool x_129 = (x_127 & (x_126 < 0.0f));
+  x_136_phi = x_129;
+  if (!(x_129)) {
+    x_135 = ((x_99 >= 0.0f) & (x_126 >= 0.0f));
+    x_136_phi = x_135;
+  }
+  bool x_136 = x_136_phi;
+  if (!(x_136)) {
+    return 0;
+  }
+  float x_140 = p.x;
+  float x_141 = c.x;
+  float x_143 = p.y;
+  float x_144 = c.y;
+  float x_147 = a.x;
+  float x_148 = c.x;
+  float x_150 = a.y;
+  float x_151 = c.y;
+  param_4 = vec2((x_140 - x_141), (x_143 - x_144));
+  param_5 = vec2((x_147 - x_148), (x_150 - x_151));
+  float x_155 = param_4.x;
+  float x_157 = param_5.y;
+  float x_160 = param_5.x;
+  float x_162 = param_4.y;
+  float x_164 = ((x_155 * x_157) - (x_160 * x_162));
+  x_66 = x_164;
+  bool x_166 = (x_127 & (x_164 < 0.0f));
+  x_173_phi = x_166;
+  if (!(x_166)) {
+    x_172 = ((x_99 >= 0.0f) & (x_164 >= 0.0f));
+    x_173_phi = x_172;
+  }
+  bool x_173 = x_173_phi;
+  if (!(x_173)) {
+    return 0;
+  }
+  return 1;
+}
+void main_1() {
+  vec2 param_6 = vec2(0.0f);
+  vec2 param_7 = vec2(0.0f);
+  vec2 param_8 = vec2(0.0f);
+  vec2 param_9 = vec2(0.0f);
+  vec4 x_55 = tint_symbol;
+  vec2 x_58 = x_17.resolution;
+  param_6 = (vec2(x_55[0u], x_55[1u]) / x_58);
+  param_7 = vec2(0.69999998807907104492f, 0.30000001192092895508f);
+  param_8 = vec2(0.5f, 0.89999997615814208984f);
+  param_9 = vec2(0.10000000149011611938f, 0.40000000596046447754f);
+  int x_60 = pointInTriangle_vf2_vf2_vf2_vf2_(param_6, param_7, param_8, param_9);
+  if ((x_60 == 1)) {
+    x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  } else {
+    x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 1.0f);
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.spvasm.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/stable-triangle-nested-for-loop-and-true-if/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/struct-array-index/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/struct-array-index/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/struct-array-index/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/struct-array-index/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/struct-array-index/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/struct-array-index/0.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/struct-array-index/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/struct-array-index/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/struct-controlled-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/struct-controlled-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/struct-controlled-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/struct-controlled-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/struct-controlled-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/struct-controlled-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/struct-controlled-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/struct-controlled-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/struct-used-as-temporary/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/struct-used-as-temporary/0-opt.spvasm.expected.ir.glsl
index 72ca17c..903ed43 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/struct-used-as-temporary/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/struct-used-as-temporary/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  vec4 field0;
+};
+
+struct S_1 {
+  vec4 field0;
+};
+
+struct main_out {
+  vec4 x_3_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_3 = vec4(0.0f);
+uniform S x_5;
+void main_1() {
+  vec4 x_20 = x_5.field0;
+  S_1 x_21_1 = S_1(vec4(0.0f));
+  x_21_1.field0 = x_20;
+  x_3 = x_21_1.field0;
+}
+main_out main() {
+  main_1();
+  return main_out(x_3);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/struct-used-as-temporary/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/struct-used-as-temporary/0-opt.wgsl.expected.ir.glsl
index 72ca17c..9137585 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/struct-used-as-temporary/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/struct-used-as-temporary/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,41 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct S {
+  vec4 field0;
+};
+
+struct S_1 {
+  vec4 field0;
+};
+
+struct main_out {
+  vec4 x_3_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_3 = vec4(0.0f);
+uniform S x_5;
+void main_1() {
+  vec4 x_20 = x_5.field0;
+  S_1 x_21_1 = S_1(vec4(0.0f));
+  x_21_1.field0 = x_20;
+  S_1 x_21 = x_21_1;
+  x_3 = x_21.field0;
+}
+main_out main() {
+  main_1();
+  return main_out(x_3);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/switch-if-discard/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/switch-if-discard/0-opt.spvasm.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/switch-if-discard/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/switch-if-discard/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/switch-if-discard/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/switch-if-discard/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/switch-if-discard/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/switch-if-discard/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/switch-inside-while-always-return/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/switch-inside-while-always-return/0-opt.spvasm.expected.ir.glsl
index e1168e3..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/switch-inside-while-always-return/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/switch-inside-while-always-return/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/switch-inside-while-always-return/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/switch-inside-while-always-return/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/switch-inside-while-always-return/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/switch-inside-while-always-return/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/switch-with-empty-if-false/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/switch-with-empty-if-false/0.spvasm.expected.ir.glsl
index af9ca24..98f5aa8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/switch-with-empty-if-false/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/switch-with-empty-if-false/0.spvasm.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Switch
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  switch(0) {
+    case 0:
+    {
+      if (false) {
+      }
+      break;
+    }
+    default:
+    {
+      break;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/switch-with-empty-if-false/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/switch-with-empty-if-false/0.wgsl.expected.ir.glsl
index af9ca24..98f5aa8 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/switch-with-empty-if-false/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/switch-with-empty-if-false/0.wgsl.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Switch
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  switch(0) {
+    case 0:
+    {
+      if (false) {
+      }
+      break;
+    }
+    default:
+    {
+      break;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/transpose-rectangular-matrix/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/transpose-rectangular-matrix/0.spvasm.expected.ir.glsl
index e1168e3..e2b9dbf 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/transpose-rectangular-matrix/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/transpose-rectangular-matrix/0.spvasm.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  mat4x3 x_37 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  mat4x3 x_38 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  vec3 x_48 = vec3(0.0f);
+  if ((tint_symbol.y < 1.0f)) {
+    x_38 = mat4x3(vec3(1.0f, 0.0f, 0.0f), vec3(0.0f, 1.0f, 0.0f), vec3(0.0f, 0.0f, 1.0f), vec3(0.0f));
+  } else {
+    x_37 = mat4x3(vec3(1.0f, 0.0f, 0.0f), vec3(0.0f, 1.0f, 0.0f), vec3(0.0f, 0.0f, 1.0f), vec3(0.0f));
+    x_38 = x_37;
+  }
+  float x_40 = transpose(x_38)[0u][1u];
+  {
+    while(true) {
+      if ((x_40 > 1.0f)) {
+        x_48 = vec3(0.0f);
+        break;
+      }
+      x_48 = vec3(1.0f, 0.0f, 0.0f);
+      break;
+    }
+  }
+  x_GLF_color = vec4(x_48.x, x_48.y, x_48.z, 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/transpose-rectangular-matrix/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/transpose-rectangular-matrix/0.wgsl.expected.ir.glsl
index 4a20bc7..a7989cd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/transpose-rectangular-matrix/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/transpose-rectangular-matrix/0.wgsl.expected.ir.glsl
@@ -1,11 +1,53 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  mat4x3 x_37 = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  mat4x3 x_38_phi = mat4x3(vec3(0.0f), vec3(0.0f), vec3(0.0f), vec3(0.0f));
+  vec3 x_48_phi = vec3(0.0f);
+  float x_32 = tint_symbol.y;
+  if ((x_32 < 1.0f)) {
+    x_38_phi = mat4x3(vec3(1.0f, 0.0f, 0.0f), vec3(0.0f, 1.0f, 0.0f), vec3(0.0f, 0.0f, 1.0f), vec3(0.0f));
+  } else {
+    x_37 = mat4x3(vec3(1.0f, 0.0f, 0.0f), vec3(0.0f, 1.0f, 0.0f), vec3(0.0f, 0.0f, 1.0f), vec3(0.0f));
+    x_38_phi = x_37;
+  }
+  mat4x3 x_38 = x_38_phi;
+  float x_40 = transpose(x_38)[0u][1u];
+  {
+    while(true) {
+      if ((x_40 > 1.0f)) {
+        x_48_phi = vec3(0.0f);
+        break;
+      }
+      x_48_phi = vec3(1.0f, 0.0f, 0.0f);
+      break;
+    }
+  }
+  vec3 x_48 = x_48_phi;
+  x_GLF_color = vec4(x_48[0u], x_48[1u], x_48[2u], 1.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-2-iteration-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-2-iteration-loops/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-2-iteration-loops/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-2-iteration-loops/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-2-iteration-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-2-iteration-loops/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..1ea6360 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-2-iteration-loops/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-2-iteration-loops/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-matrix/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-matrix/0.spvasm.expected.ir.glsl
index d4bb1c9..5517c2e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-matrix/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-matrix/0.spvasm.expected.ir.glsl
@@ -1,11 +1,73 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  mat4 matrix_a_uni;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x = 0;
+  vec4 matrix_u = vec4(0.0f);
+  int b = 0;
+  vec4 matrix_b = vec4(0.0f);
+  vec4 x_42 = vec4(0.0f);
+  x = 4;
+  {
+    while(true) {
+      if ((x >= 1)) {
+      } else {
+        break;
+      }
+      int x_11 = x;
+      matrix_u[x_11] = 1.0f;
+      {
+        x = (x - 1);
+      }
+      continue;
+    }
+  }
+  b = 4;
+  {
+    while(true) {
+      if ((x_8.matrix_a_uni[0].x < -1.0f)) {
+      } else {
+        break;
+      }
+      int x_14 = b;
+      if ((b > 1)) {
+        x_42 = min(matrix_b, matrix_b);
+      } else {
+        x_42 = matrix_u;
+      }
+      matrix_b[x_14] = x_42.y;
+      {
+        b = (b - 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-matrix/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-matrix/0.wgsl.expected.ir.glsl
index d4bb1c9..fd28e3c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-matrix/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-matrix/0.wgsl.expected.ir.glsl
@@ -1,11 +1,82 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  mat4 matrix_a_uni;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_8;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  int x = 0;
+  vec4 matrix_u = vec4(0.0f);
+  int b = 0;
+  vec4 matrix_b = vec4(0.0f);
+  vec4 x_42 = vec4(0.0f);
+  x = 4;
+  {
+    while(true) {
+      int x_10 = x;
+      if ((x_10 >= 1)) {
+      } else {
+        break;
+      }
+      int x_11 = x;
+      matrix_u[x_11] = 1.0f;
+      {
+        int x_12 = x;
+        x = (x_12 - 1);
+      }
+      continue;
+    }
+  }
+  b = 4;
+  {
+    while(true) {
+      float x_55 = x_8.matrix_a_uni[0].x;
+      if ((x_55 < -1.0f)) {
+      } else {
+        break;
+      }
+      int x_14 = b;
+      int x_15 = b;
+      if ((x_15 > 1)) {
+        vec4 x_62 = matrix_b;
+        vec4 x_63 = matrix_b;
+        x_42 = min(x_62, x_63);
+      } else {
+        vec4 x_65 = matrix_u;
+        x_42 = x_65;
+      }
+      float x_67 = x_42.y;
+      matrix_b[x_14] = x_67;
+      {
+        int x_16 = b;
+        b = (x_16 - 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-set-struct/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-set-struct/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-set-struct/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-set-struct/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-set-struct/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-set-struct/0.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-set-struct/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-set-struct/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-with-break/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-with-break/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..da73193 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-with-break/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-with-break/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,74 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 GLF_live15c = vec4(0.0f);
+  int GLF_live15i = 0;
+  vec4 GLF_live15d = vec4(0.0f);
+  int GLF_live15i_1 = 0;
+  GLF_live15c = vec4(0.0f);
+  GLF_live15i = 0;
+  {
+    while(true) {
+      if ((GLF_live15i < 4)) {
+      } else {
+        break;
+      }
+      if ((GLF_live15i >= 3)) {
+        break;
+      }
+      if ((GLF_live15c.y >= 1.0f)) {
+        int x_10 = GLF_live15i;
+        GLF_live15c[x_10] = 1.0f;
+      }
+      {
+        GLF_live15i = (GLF_live15i + 1);
+      }
+      continue;
+    }
+  }
+  GLF_live15d = vec4(0.0f);
+  GLF_live15i_1 = 0;
+  {
+    while(true) {
+      if ((GLF_live15i_1 < 4)) {
+      } else {
+        break;
+      }
+      if ((GLF_live15i_1 >= 3)) {
+        break;
+      }
+      if ((GLF_live15d.y >= 1.0f)) {
+        int x_15 = GLF_live15i_1;
+        GLF_live15d[x_15] = 1.0f;
+      }
+      {
+        GLF_live15i_1 = (GLF_live15i_1 + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-with-break/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-with-break/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..76c435c 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-loops-with-break/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-loops-with-break/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,82 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  vec4 GLF_live15c = vec4(0.0f);
+  int GLF_live15i = 0;
+  vec4 GLF_live15d = vec4(0.0f);
+  int GLF_live15i_1 = 0;
+  GLF_live15c = vec4(0.0f);
+  GLF_live15i = 0;
+  {
+    while(true) {
+      int x_8 = GLF_live15i;
+      if ((x_8 < 4)) {
+      } else {
+        break;
+      }
+      int x_9 = GLF_live15i;
+      if ((x_9 >= 3)) {
+        break;
+      }
+      float x_49 = GLF_live15c.y;
+      if ((x_49 >= 1.0f)) {
+        int x_10 = GLF_live15i;
+        GLF_live15c[x_10] = 1.0f;
+      }
+      {
+        int x_11 = GLF_live15i;
+        GLF_live15i = (x_11 + 1);
+      }
+      continue;
+    }
+  }
+  GLF_live15d = vec4(0.0f);
+  GLF_live15i_1 = 0;
+  {
+    while(true) {
+      int x_13 = GLF_live15i_1;
+      if ((x_13 < 4)) {
+      } else {
+        break;
+      }
+      int x_14 = GLF_live15i_1;
+      if ((x_14 >= 3)) {
+        break;
+      }
+      float x_64 = GLF_live15d.y;
+      if ((x_64 >= 1.0f)) {
+        int x_15 = GLF_live15i_1;
+        GLF_live15d[x_15] = 1.0f;
+      }
+      {
+        int x_16 = GLF_live15i_1;
+        GLF_live15i_1 = (x_16 + 1);
+      }
+      continue;
+    }
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-nested-do-whiles/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-nested-do-whiles/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..942a7a1 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-nested-do-whiles/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-nested-do-whiles/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,95 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_7;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  i = 0;
+  if ((x_7.injectionSwitch.y < 0.0f)) {
+  } else {
+    bool x_42 = false;
+    x_42 = (tint_symbol.y < -1.0f);
+    if (x_42) {
+    } else {
+      {
+        while(true) {
+          if ((i >= 256)) {
+            break;
+          }
+          {
+            while(true) {
+              i_1 = 0;
+              {
+                while(true) {
+                  if ((i_1 < 1)) {
+                  } else {
+                    break;
+                  }
+                  if (x_42) {
+                    i_2 = 0;
+                    {
+                      while(true) {
+                        if ((i_2 < 1)) {
+                        } else {
+                          break;
+                        }
+                        {
+                          i_2 = (i_2 + 1);
+                        }
+                        continue;
+                      }
+                    }
+                    {
+                      i_1 = (i_1 + 1);
+                    }
+                    continue;
+                  }
+                  return;
+                }
+              }
+              {
+                if (true) { break; }
+              }
+              continue;
+            }
+          }
+          {
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-nested-do-whiles/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-nested-do-whiles/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..4c634c2 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-nested-do-whiles/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-nested-do-whiles/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,102 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_7;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  int i = 0;
+  int i_1 = 0;
+  int i_2 = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  i = 0;
+  float x_35 = x_7.injectionSwitch.y;
+  if ((x_35 < 0.0f)) {
+  } else {
+    bool x_42 = false;
+    float x_41 = tint_symbol.y;
+    x_42 = (x_41 < -1.0f);
+    if (x_42) {
+    } else {
+      {
+        while(true) {
+          int x_50 = i;
+          if ((x_50 >= 256)) {
+            break;
+          }
+          {
+            while(true) {
+              i_1 = 0;
+              {
+                while(true) {
+                  int x_58 = i_1;
+                  if ((x_58 < 1)) {
+                  } else {
+                    break;
+                  }
+                  if (x_42) {
+                    i_2 = 0;
+                    {
+                      while(true) {
+                        int x_66 = i_2;
+                        if ((x_66 < 1)) {
+                        } else {
+                          break;
+                        }
+                        {
+                          int x_70 = i_2;
+                          i_2 = (x_70 + 1);
+                        }
+                        continue;
+                      }
+                    }
+                    {
+                      int x_72 = i_1;
+                      i_1 = (x_72 + 1);
+                    }
+                    continue;
+                  }
+                  return;
+                }
+              }
+              {
+                if (true) { break; }
+              }
+              continue;
+            }
+          }
+          {
+            if (true) { break; }
+          }
+          continue;
+        }
+      }
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.spvasm.expected.ir.glsl
index 319c6ad..981619a 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.spvasm.expected.ir.glsl
@@ -1,31 +1,69 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767581==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x563edf5094d3 bp 0x7ffd9d68f700 sp 0x7ffd9d68f520 T0)
-==1767581==The signal is caused by a READ memory access.
-==1767581==Hint: address points to the zero page.
-    #0 0x563edf5094d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x563edf51c17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x563edf51bfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x563edf51b72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x563edf506704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x563edf505a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x563edf50393a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x563edf502b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x563edf50202b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x563edf04eebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x563ede86a455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x563ede852d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x563ede83a861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f312cd64b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f312cd64c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x563ede75f000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767581==ABORTING
+struct doesNotMatter {
+  float x_compute_data[];
+};
+
+doesNotMatter x_9;
+float nb_mod_() {
+  float s = 0.0f;
+  int i = 0;
+  int GLF_live1i = 0;
+  int GLF_live1_looplimiter2 = 0;
+  float x_51 = 0.0f;
+  float x_56 = 0.0f;
+  s = 0.0f;
+  i = 5;
+  {
+    while(true) {
+      float x_50 = 0.0f;
+      x_56 = 0.0f;
+      if (true) {
+      } else {
+        break;
+      }
+      GLF_live1i = 0;
+      {
+        while(true) {
+          x_51 = 0.0f;
+          if (true) {
+          } else {
+            break;
+          }
+          if (false) {
+            x_50 = 1.0f;
+            s = x_50;
+            x_51 = x_50;
+            break;
+          }
+          return 42.0f;
+        }
+      }
+      if ((5.0f <= x_51)) {
+        x_56 = x_51;
+        break;
+      }
+      return 42.0f;
+    }
+  }
+  return x_56;
+}
+void main_1() {
+  float x_32 = nb_mod_();
+  x_9.x_compute_data[0] = x_32;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: '' : array size required 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.wgsl.expected.ir.glsl
index d601f11..3ed382e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/two-nested-for-loops-with-returns/0-opt.wgsl.expected.ir.glsl
@@ -1,31 +1,72 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767582==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5625b4dcb4d3 bp 0x7ffe233152e0 sp 0x7ffe23315100 T0)
-==1767582==The signal is caused by a READ memory access.
-==1767582==Hint: address points to the zero page.
-    #0 0x5625b4dcb4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5625b4dde17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5625b4dddfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5625b4ddd72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5625b4dc8704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5625b4dc7a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5625b4dc593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5625b4dc4b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5625b4dc402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5625b4910ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5625b412c455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5625b4114d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5625b40fc861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f42d0564b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f42d0564c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5625b4021000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767582==ABORTING
+struct doesNotMatter {
+  float x_compute_data[];
+};
+
+doesNotMatter x_9;
+float nb_mod_() {
+  float s = 0.0f;
+  int i = 0;
+  int GLF_live1i = 0;
+  int GLF_live1_looplimiter2 = 0;
+  float x_51 = 0.0f;
+  float x_56_phi = 0.0f;
+  s = 0.0f;
+  i = 5;
+  {
+    while(true) {
+      float x_50 = 0.0f;
+      float x_51_phi = 0.0f;
+      x_56_phi = 0.0f;
+      if (true) {
+      } else {
+        break;
+      }
+      GLF_live1i = 0;
+      {
+        while(true) {
+          x_51_phi = 0.0f;
+          if (true) {
+          } else {
+            break;
+          }
+          if (false) {
+            x_50 = 1.0f;
+            s = x_50;
+            x_51_phi = x_50;
+            break;
+          }
+          return 42.0f;
+        }
+      }
+      x_51 = x_51_phi;
+      if ((5.0f <= x_51)) {
+        x_56_phi = x_51;
+        break;
+      }
+      return 42.0f;
+    }
+  }
+  float x_56 = x_56_phi;
+  return x_56;
+}
+void main_1() {
+  float x_32 = nb_mod_();
+  x_9.x_compute_data[0] = x_32;
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: '' : array size required 
+ERROR: 0:5: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/undefined-assign-in-infinite-loop/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/undefined-assign-in-infinite-loop/0.spvasm.expected.ir.glsl
index d4bb1c9..285be1e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/undefined-assign-in-infinite-loop/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/undefined-assign-in-infinite-loop/0.spvasm.expected.ir.glsl
@@ -1,11 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  int GLF_dead6index = 0;
+  int GLF_dead6currentNode = 0;
+  int donor_replacementGLF_dead6tree[1] = int[1](0);
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  GLF_dead6index = 0;
+  if ((x_6.injectionSwitch.y < 0.0f)) {
+    {
+      while(true) {
+        if (true) {
+        } else {
+          break;
+        }
+        GLF_dead6currentNode = donor_replacementGLF_dead6tree[GLF_dead6index];
+        GLF_dead6index = GLF_dead6currentNode;
+        {
+        }
+        continue;
+      }
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/undefined-assign-in-infinite-loop/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/undefined-assign-in-infinite-loop/0.wgsl.expected.ir.glsl
index d4bb1c9..ecb717f 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/undefined-assign-in-infinite-loop/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/undefined-assign-in-infinite-loop/0.wgsl.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+void main_1() {
+  int GLF_dead6index = 0;
+  int GLF_dead6currentNode = 0;
+  int donor_replacementGLF_dead6tree[1] = int[1](0);
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  GLF_dead6index = 0;
+  float x_34 = x_6.injectionSwitch.y;
+  if ((x_34 < 0.0f)) {
+    {
+      while(true) {
+        if (true) {
+        } else {
+          break;
+        }
+        int x_9 = GLF_dead6index;
+        int x_10 = donor_replacementGLF_dead6tree[x_9];
+        GLF_dead6currentNode = x_10;
+        int x_11 = GLF_dead6currentNode;
+        GLF_dead6index = x_11;
+        {
+        }
+        continue;
+      }
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/undefined-integer-in-function/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/undefined-integer-in-function/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..450cb84 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/undefined-integer-in-function/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/undefined-integer-in-function/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,81 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+int performPartition_() {
+  int GLF_live0i = 0;
+  int i = 0;
+  int x_10 = 0;
+  int x_11 = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  x_10 = 0;
+  {
+    while(true) {
+      bool x_42 = false;
+      x_42 = (x_6.injectionSwitch.y < 0.0f);
+      if (x_42) {
+        x_11 = x_10;
+        {
+          x_10 = x_11;
+          if (true) { break; }
+        }
+        continue;
+      } else {
+        GLF_live0i = 0;
+        {
+          while(true) {
+            bool x_47 = true;
+            if (x_42) {
+              break;
+            }
+            return 1;
+          }
+        }
+        if (x_42) {
+          {
+            while(true) {
+              return 1;
+            }
+          }
+        }
+        x_11 = x_10;
+        {
+          x_10 = x_11;
+          if (true) { break; }
+        }
+        continue;
+      }
+      /* unreachable */
+    }
+  }
+  return x_11;
+}
+void main_1() {
+  int x_9 = performPartition_();
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/undefined-integer-in-function/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/undefined-integer-in-function/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..8efe49e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/undefined-integer-in-function/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/undefined-integer-in-function/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,86 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_6;
+int performPartition_() {
+  int GLF_live0i = 0;
+  int i = 0;
+  int x_11 = 0;
+  int x_10_phi = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  x_10_phi = 0;
+  {
+    while(true) {
+      int x_11_phi = 0;
+      int x_10 = x_10_phi;
+      bool x_42 = false;
+      float x_41 = x_6.injectionSwitch.y;
+      x_42 = (x_41 < 0.0f);
+      if (x_42) {
+        x_11_phi = x_10;
+        {
+          x_11 = x_11_phi;
+          x_10_phi = x_11;
+          if (true) { break; }
+        }
+        continue;
+      } else {
+        GLF_live0i = 0;
+        {
+          while(true) {
+            bool x_47 = true;
+            if (x_42) {
+              break;
+            }
+            return 1;
+          }
+        }
+        if (x_42) {
+          {
+            while(true) {
+              return 1;
+            }
+          }
+        }
+        x_11_phi = x_10;
+        {
+          x_11 = x_11_phi;
+          x_10_phi = x_11;
+          if (true) { break; }
+        }
+        continue;
+      }
+      /* unreachable */
+    }
+  }
+  return x_11;
+}
+void main_1() {
+  int x_9 = performPartition_();
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/uninit-element-cast-in-loop/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/uninit-element-cast-in-loop/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f7bee08 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/uninit-element-cast-in-loop/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/uninit-element-cast-in-loop/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_30 = 0.0f;
+  float x_32 = 0.0f;
+  x_32 = 0.0f;
+  {
+    while(true) {
+      float x_33 = 0.0f;
+      x_33 = x_32;
+      if ((x_5.injectionSwitch.x < x_5.injectionSwitch.y)) {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+        return;
+      } else {
+        {
+          x_32 = x_33;
+        }
+        continue;
+      }
+      /* unreachable */
+    }
+  }
+  /* unreachable */
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/uninit-element-cast-in-loop/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/uninit-element-cast-in-loop/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..74bd379 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/uninit-element-cast-in-loop/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/uninit-element-cast-in-loop/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_5;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float x_30 = 0.0f;
+  float x_32_phi = 0.0f;
+  x_32_phi = 0.0f;
+  {
+    while(true) {
+      float x_33_phi = 0.0f;
+      float x_32 = x_32_phi;
+      x_33_phi = x_32;
+      float x_33 = x_33_phi;
+      float x_39 = x_5.injectionSwitch.x;
+      float x_41 = x_5.injectionSwitch.y;
+      if ((x_39 < x_41)) {
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+        return;
+      } else {
+        {
+          x_32_phi = x_33;
+        }
+        continue;
+      }
+      /* unreachable */
+    }
+  }
+  /* unreachable */
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/uninitialized-var-decrement-and-add/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/uninitialized-var-decrement-and-add/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..0c0cb90 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/uninitialized-var-decrement-and-add/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/uninitialized-var-decrement-and-add/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  float x_30 = 0.0f;
+  uint foo = 0u;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  if ((tint_symbol.x > -1.0f)) {
+    x_30 = x_GLF_color.x;
+  } else {
+    uint x_7 = (foo - 1u);
+    foo = x_7;
+    x_30 = float((178493u + x_7));
+  }
+  x_GLF_color[0u] = x_30;
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/uninitialized-var-decrement-and-add/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/uninitialized-var-decrement-and-add/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..c059660 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/uninitialized-var-decrement-and-add/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/uninitialized-var-decrement-and-add/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,44 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  float x_30 = 0.0f;
+  uint foo = 0u;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  float x_32 = tint_symbol.x;
+  if ((x_32 > -1.0f)) {
+    float x_38 = x_GLF_color.x;
+    x_30 = x_38;
+  } else {
+    uint x_6 = foo;
+    uint x_7 = (x_6 - 1u);
+    foo = x_7;
+    x_30 = float((178493u + x_7));
+  }
+  float x_40 = x_30;
+  x_GLF_color[0u] = x_40;
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-continue-statement/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-continue-statement/0.spvasm.expected.ir.glsl
index d4bb1c9..7709606 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-continue-statement/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-continue-statement/0.spvasm.expected.ir.glsl
@@ -1,11 +1,55 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_7;
+vec3 computeColor_() {
+  int x_injected_loop_counter = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  x_injected_loop_counter = 1;
+  {
+    while(true) {
+      if ((x_7.injectionSwitch.x > 1.0f)) {
+        if ((x_7.injectionSwitch.x > 1.0f)) {
+          {
+          }
+          continue;
+        } else {
+          {
+          }
+          continue;
+        }
+      }
+      return vec3(1.0f);
+    }
+  }
+  /* unreachable */
+}
+void main_1() {
+  vec3 x_31 = computeColor_();
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-continue-statement/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-continue-statement/0.wgsl.expected.ir.glsl
index d4bb1c9..6a64839 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-continue-statement/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-continue-statement/0.wgsl.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_7;
+vec3 computeColor_() {
+  int x_injected_loop_counter = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  x_injected_loop_counter = 1;
+  {
+    while(true) {
+      float x_38 = x_7.injectionSwitch.x;
+      if ((x_38 > 1.0f)) {
+        float x_43 = x_7.injectionSwitch.x;
+        if ((x_43 > 1.0f)) {
+          {
+          }
+          continue;
+        } else {
+          {
+          }
+          continue;
+        }
+      }
+      return vec3(1.0f);
+    }
+  }
+  /* unreachable */
+}
+void main_1() {
+  vec3 x_31 = computeColor_();
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-discard-statement-in-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-discard-statement-in-if/0-opt.spvasm.expected.ir.glsl
index e1168e3..8cbbdff 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-discard-statement-in-if/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-discard-statement-in-if/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,59 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::If
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+vec3 computePoint_() {
+  if ((x_7.injectionSwitch.x > x_7.injectionSwitch.y)) {
+    continue_execution = false;
+  }
+  return vec3(0.0f);
+}
+void main_1() {
+  bool x_34 = false;
+  {
+    while(true) {
+      vec3 x_36 = computePoint_();
+      if ((tint_symbol.x < 0.0f)) {
+        x_34 = true;
+        break;
+      }
+      vec3 x_45 = computePoint_();
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      x_34 = true;
+      break;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-discard-statement-in-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-discard-statement-in-if/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..ab481c4 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-discard-statement-in-if/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-discard-statement-in-if/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,62 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_7;
+vec4 tint_symbol = vec4(0.0f);
+vec4 x_GLF_color = vec4(0.0f);
+bool continue_execution = true;
+vec3 computePoint_() {
+  float x_48 = x_7.injectionSwitch.x;
+  float x_50 = x_7.injectionSwitch.y;
+  if ((x_48 > x_50)) {
+    continue_execution = false;
+  }
+  return vec3(0.0f);
+}
+void main_1() {
+  bool x_34 = false;
+  {
+    while(true) {
+      vec3 x_36 = computePoint_();
+      float x_41 = tint_symbol.x;
+      if ((x_41 < 0.0f)) {
+        x_34 = true;
+        break;
+      }
+      vec3 x_45 = computePoint_();
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      x_34 = true;
+      break;
+    }
+  }
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  main_out v = main_out(x_GLF_color);
+  if (!(continue_execution)) {
+    discard;
+  }
+  return v;
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-loops/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-loops/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..40dcb43 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-loops/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-loops/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,57 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injected;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  int m = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  if ((x_5.injected.x > x_5.injected.y)) {
+    {
+      while(true) {
+        {
+          if (true) { break; }
+        }
+        continue;
+      }
+    }
+    m = 1;
+    {
+      while(true) {
+        if (true) {
+        } else {
+          break;
+        }
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+        {
+        }
+        continue;
+      }
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-loops/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-loops/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..d187bfd 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-loops/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-loops/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,59 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injected;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+uniform buf0 x_5;
+void main_1() {
+  int m = 0;
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  float x_30 = x_5.injected.x;
+  float x_32 = x_5.injected.y;
+  if ((x_30 > x_32)) {
+    {
+      while(true) {
+        {
+          if (true) { break; }
+        }
+        continue;
+      }
+    }
+    m = 1;
+    {
+      while(true) {
+        if (true) {
+        } else {
+          break;
+        }
+        x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+        {
+        }
+        continue;
+      }
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-return-in-loop/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-return-in-loop/0.spvasm.expected.ir.glsl
index d4bb1c9..b45503e 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-return-in-loop/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-return-in-loop/0.spvasm.expected.ir.glsl
@@ -1,11 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_21 = false;
+  x_21 = false;
+  {
+    while(true) {
+      bool x_25 = false;
+      bool x_30 = false;
+      x_25 = x_21;
+      {
+        while(true) {
+          x_30 = x_25;
+          if (false) {
+          } else {
+            break;
+          }
+          x_30 = true;
+          break;
+        }
+      }
+      if (x_30) {
+        break;
+      }
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-return-in-loop/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-return-in-loop/0.wgsl.expected.ir.glsl
index d4bb1c9..8e9ff22 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/unreachable-return-in-loop/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/unreachable-return-in-loop/0.wgsl.expected.ir.glsl
@@ -1,11 +1,56 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool x_21_phi = false;
+  x_21_phi = false;
+  {
+    while(true) {
+      bool x_25 = false;
+      bool x_25_phi = false;
+      bool x_30_phi = false;
+      bool x_21 = x_21_phi;
+      x_25_phi = x_21;
+      {
+        while(true) {
+          x_25 = x_25_phi;
+          x_30_phi = x_25;
+          if (false) {
+          } else {
+            break;
+          }
+          x_30_phi = true;
+          break;
+        }
+      }
+      bool x_30 = x_30_phi;
+      if (x_30) {
+        break;
+      }
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      break;
+    }
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/uv-value-comparison-as-boolean/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/uv-value-comparison-as-boolean/0.spvasm.expected.ir.glsl
index ae9b6d0..eee2a19 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/uv-value-comparison-as-boolean/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/uv-value-comparison-as-boolean/0.spvasm.expected.ir.glsl
@@ -1,11 +1,50 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool c1 = false;
+  vec2 uv = vec2(0.0f);
+  int i = 0;
+  bool x_37 = false;
+  int x_9 = 0;
+  bool x_35 = (uv.y < 0.25f);
+  c1 = x_35;
+  i = 0;
+  x_37 = x_35;
+  x_9 = 0;
+  {
+    while(true) {
+      if ((x_9 < 1)) {
+      } else {
+        break;
+      }
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      return;
+    }
+  }
+  if (x_37) {
+    return;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/uv-value-comparison-as-boolean/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/uv-value-comparison-as-boolean/0.wgsl.expected.ir.glsl
index 4a20bc7..d8849a0 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/uv-value-comparison-as-boolean/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/uv-value-comparison-as-boolean/0.wgsl.expected.ir.glsl
@@ -1,11 +1,54 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  bool c1 = false;
+  vec2 uv = vec2(0.0f);
+  int i = 0;
+  bool x_37 = false;
+  bool x_37_phi = false;
+  int x_9_phi = 0;
+  float x_34 = uv.y;
+  bool x_35 = (x_34 < 0.25f);
+  c1 = x_35;
+  i = 0;
+  x_37_phi = x_35;
+  x_9_phi = 0;
+  {
+    while(true) {
+      x_37 = x_37_phi;
+      int x_9 = x_9_phi;
+      if ((x_9 < 1)) {
+      } else {
+        break;
+      }
+      x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+      return;
+    }
+  }
+  if (x_37) {
+    return;
+  }
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/vector-values-multiplied-by-fragcoord/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/vector-values-multiplied-by-fragcoord/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/vector-values-multiplied-by-fragcoord/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/vector-values-multiplied-by-fragcoord/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/vector-values-multiplied-by-fragcoord/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/vector-values-multiplied-by-fragcoord/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/vector-values-multiplied-by-fragcoord/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/vector-values-multiplied-by-fragcoord/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/vectors-and-discard-in-function/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/vectors-and-discard-in-function/0.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/vectors-and-discard-in-function/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/vectors-and-discard-in-function/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/vectors-and-discard-in-function/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/vectors-and-discard-in-function/0.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/vectors-and-discard-in-function/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/vectors-and-discard-in-function/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/while-function-always-false/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/while-function-always-false/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/while-function-always-false/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/while-function-always-false/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/while-function-always-false/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/while-function-always-false/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/while-function-always-false/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/while-function-always-false/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/write-before-break/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/write-red-after-search/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/write-red-in-loop-nest/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/write-red-in-loop-nest/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/write-red-in-loop-nest/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/write-red-in-loop-nest/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/write-red-in-loop-nest/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/write-red-in-loop-nest/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/write-red-in-loop-nest/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/write-red-in-loop-nest/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/wrong-color-in-always-false-if/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/wrong-color-in-always-false-if/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..6a1fc15 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/wrong-color-in-always-false-if/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/wrong-color-in-always-false-if/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,38 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float height = 0.0f;
+  height = 256.0f;
+  if ((x_6.injectionSwitch.y < 0.0f)) {
+    x_GLF_color = mix(vec4(30.18000030517578125f, 8840.0f, 469.970001220703125f, 18.2399997711181640625f), vec4(9.8999996185302734375f, 0.10000000149011611938f, 1169.5386962890625f, 55.79000091552734375f), vec4(7612.9453125f, 797.010986328125f, height, 9.0f));
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/graphicsfuzz/wrong-color-in-always-false-if/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/graphicsfuzz/wrong-color-in-always-false-if/0-opt.wgsl.expected.ir.glsl
index d4bb1c9..1c5a5ab 100644
--- a/test/tint/vk-gl-cts/graphicsfuzz/wrong-color-in-always-false-if/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/graphicsfuzz/wrong-color-in-always-false-if/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,40 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct buf0 {
+  vec2 injectionSwitch;
+};
+
+struct main_out {
+  vec4 x_GLF_color_1;
+};
+precision highp float;
+precision highp int;
+
+
+uniform buf0 x_6;
+vec4 x_GLF_color = vec4(0.0f);
+void main_1() {
+  float height = 0.0f;
+  height = 256.0f;
+  float x_40 = x_6.injectionSwitch.y;
+  if ((x_40 < 0.0f)) {
+    float x_44 = height;
+    x_GLF_color = mix(vec4(30.18000030517578125f, 8840.0f, 469.970001220703125f, 18.2399997711181640625f), vec4(9.8999996185302734375f, 0.10000000149011611938f, 1169.5386962890625f, 55.79000091552734375f), vec4(7612.9453125f, 797.010986328125f, x_44, 9.0f));
+  }
+  x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(x_GLF_color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_overflow/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_overflow/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_overflow/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_overflow/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_overflow/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_overflow/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..1ea6360 100644
--- a/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_overflow/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_overflow/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_underflow/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_underflow/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..4687334 100644
--- a/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_underflow/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_underflow/0-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:489 internal compiler error: TINT_ASSERT(!l->Result(0)->Type()->Is<core::type::Pointer>())
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_underflow/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_underflow/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..1ea6360 100644
--- a/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_underflow/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/non_robust_buffer_access/unexecuted_oob_underflow/0-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/0.spvasm.expected.ir.glsl
index d4bb1c9..c0e5c57 100644
--- a/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/0.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color = vec4(0.0f);
+void main_1() {
+  color = vec4(1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/0.wgsl.expected.ir.glsl
index d4bb1c9..c0e5c57 100644
--- a/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/0.wgsl.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color = vec4(0.0f);
+void main_1() {
+  color = vec4(1.0f);
+}
+main_out main() {
+  main_1();
+  return main_out(color);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/1.spvasm.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/1.wgsl.expected.ir.glsl
index 8fef837..f297654 100644
--- a/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/rasterization/line_continuity/line-strip/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::SampledTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.spvasm.expected.ir.glsl
index 2836982..38c14cf 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.spvasm.expected.ir.glsl
@@ -1,31 +1,47 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767625==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55dff62aa4d3 bp 0x7ffca3dc4700 sp 0x7ffca3dc4520 T0)
-==1767625==The signal is caused by a READ memory access.
-==1767625==Hint: address points to the zero page.
-    #0 0x55dff62aa4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55dff62bd17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55dff62bcfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55dff62bc72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55dff62a7704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55dff62a6a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55dff62a493a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55dff62a3b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55dff62a302b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55dff5defebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55dff560b455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55dff55f3d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55dff55db861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fcd1e764b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fcd1e764c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55dff5500000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767625==ABORTING
+struct Buf1 {
+  int result;
+};
+
+struct Buf0 {
+  uint values[];
+};
+
+Buf1 x_4;
+Buf0 x_7;
+void main_1() {
+  uint i = 0u;
+  x_4.result = 1;
+  i = 0u;
+  {
+    while(true) {
+      if ((i < 512u)) {
+      } else {
+        break;
+      }
+      if ((x_7.values[(i * 2u)] != i)) {
+        x_4.result = 0;
+      }
+      {
+        i = (i + 1u);
+      }
+      continue;
+    }
+  }
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '' : array size required 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.wgsl.expected.ir.glsl
index 2cd246d..94c496f8 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/arraylength/array-stride-larger-than-element-size/1.wgsl.expected.ir.glsl
@@ -1,31 +1,52 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767626==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x561cd0a4b4d3 bp 0x7ffde516eb20 sp 0x7ffde516e940 T0)
-==1767626==The signal is caused by a READ memory access.
-==1767626==Hint: address points to the zero page.
-    #0 0x561cd0a4b4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x561cd0a5e17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x561cd0a5dfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x561cd0a5d72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x561cd0a48704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x561cd0a47a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x561cd0a4593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x561cd0a44b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x561cd0a4402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x561cd0590ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x561ccfdac455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x561ccfd94d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x561ccfd7c861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f9d16043b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f9d16043c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x561ccfca1000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+#version 310 es
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767626==ABORTING
+struct Buf1 {
+  int result;
+};
+
+struct Buf0 {
+  uint values[];
+};
+
+Buf1 x_4;
+Buf0 x_7;
+void main_1() {
+  uint i = 0u;
+  x_4.result = 1;
+  i = 0u;
+  {
+    while(true) {
+      uint x_33 = i;
+      if ((x_33 < 512u)) {
+      } else {
+        break;
+      }
+      uint x_36 = i;
+      uint x_39 = x_7.values[(x_36 * 2u)];
+      uint x_40 = i;
+      if ((x_39 != x_40)) {
+        x_4.result = 0;
+      }
+      {
+        uint x_45 = i;
+        i = (x_45 + 1u);
+      }
+      continue;
+    }
+  }
+}
+layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
+void main() {
+  main_1();
+}
+error: Error parsing GLSL shader:
+ERROR: 0:8: '' : array size required 
+ERROR: 0:9: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
 
 tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.spvasm.expected.ir.glsl
index 19d528f..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767627==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55e2c25244d3 bp 0x7ffd332d5f40 sp 0x7ffd332d5d60 T0)
-==1767627==The signal is caused by a READ memory access.
-==1767627==Hint: address points to the zero page.
-    #0 0x55e2c25244d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55e2c253717c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55e2c2536fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55e2c253672f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55e2c2521704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55e2c2520a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55e2c251e93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55e2c251db21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55e2c251d02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55e2c2069ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55e2c1885455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55e2c186dd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55e2c1855861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fc7e8b37b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fc7e8b37c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55e2c177a000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767627==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.wgsl.expected.ir.glsl
index 551736d..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthan/0.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767628==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55869d8954d3 bp 0x7ffda6c67da0 sp 0x7ffda6c67bc0 T0)
-==1767628==The signal is caused by a READ memory access.
-==1767628==Hint: address points to the zero page.
-    #0 0x55869d8954d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55869d8a817c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55869d8a7fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55869d8a772f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55869d892704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55869d891a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55869d88f93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55869d88eb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55869d88e02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55869d3daebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55869cbf6455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55869cbded35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55869cbc6861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f3685e05b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f3685e05c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55869caeb000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767628==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.spvasm.expected.ir.glsl
index a33f6db..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767629==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5605231914d3 bp 0x7fff4f93c6a0 sp 0x7fff4f93c4c0 T0)
-==1767629==The signal is caused by a READ memory access.
-==1767629==Hint: address points to the zero page.
-    #0 0x5605231914d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5605231a417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5605231a3fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5605231a372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x56052318e704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x56052318da63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x56052318b93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x56052318ab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x56052318a02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x560522cd6ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5605224f2455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5605224dad35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5605224c2861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f1dbda43b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f1dbda43c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5605223e7000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767629==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.wgsl.expected.ir.glsl
index 8d8b639..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_sgreaterthanequal/0.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767630==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55632310b4d3 bp 0x7ffc1f10f8c0 sp 0x7ffc1f10f6e0 T0)
-==1767630==The signal is caused by a READ memory access.
-==1767630==Hint: address points to the zero page.
-    #0 0x55632310b4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55632311e17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55632311dfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55632311d72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x556323108704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x556323107a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55632310593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x556323104b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55632310402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x556322c50ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55632246c455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x556322454d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55632243c861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fe5a1043b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fe5a1043c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x556322361000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767630==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.spvasm.expected.ir.glsl
index 9a476a3..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767631==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55fa16fa44d3 bp 0x7ffcae6db1c0 sp 0x7ffcae6dafe0 T0)
-==1767631==The signal is caused by a READ memory access.
-==1767631==Hint: address points to the zero page.
-    #0 0x55fa16fa44d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55fa16fb717c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55fa16fb6fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55fa16fb672f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55fa16fa1704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55fa16fa0a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55fa16f9e93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55fa16f9db21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55fa16f9d02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55fa16ae9ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55fa16305455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55fa162edd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55fa162d5861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fc92a043b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fc92a043c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55fa161fa000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767631==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.wgsl.expected.ir.glsl
index b75d0ef..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthan/0.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767632==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x555c6263a4d3 bp 0x7ffc4f112b40 sp 0x7ffc4f112960 T0)
-==1767632==The signal is caused by a READ memory access.
-==1767632==Hint: address points to the zero page.
-    #0 0x555c6263a4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x555c6264d17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x555c6264cfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x555c6264c72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x555c62637704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x555c62636a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x555c6263493a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x555c62633b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x555c6263302b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x555c6217febb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x555c6199b455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x555c61983d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x555c6196b861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f815ae16b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f815ae16c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x555c61890000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767632==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.spvasm.expected.ir.glsl
index fb541c4..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767633==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5557d6b904d3 bp 0x7fff1f2d1520 sp 0x7fff1f2d1340 T0)
-==1767633==The signal is caused by a READ memory access.
-==1767633==Hint: address points to the zero page.
-    #0 0x5557d6b904d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5557d6ba317c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5557d6ba2fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5557d6ba272f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5557d6b8d704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5557d6b8ca63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5557d6b8a93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5557d6b89b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5557d6b8902b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5557d66d5ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5557d5ef1455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5557d5ed9d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5557d5ec1861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fdb12164b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fdb12164c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5557d5de6000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767633==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.wgsl.expected.ir.glsl
index 536b543..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_int_compare/uint_slessthanequal/0.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767634==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55f3e38944d3 bp 0x7ffdd36cbac0 sp 0x7ffdd36cb8e0 T0)
-==1767634==The signal is caused by a READ memory access.
-==1767634==Hint: address points to the zero page.
-    #0 0x55f3e38944d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55f3e38a717c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55f3e38a6fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55f3e38a672f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55f3e3891704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55f3e3890a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55f3e388e93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55f3e388db21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55f3e388d02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55f3e33d9ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55f3e2bf5455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55f3e2bddd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55f3e2bc5861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fa987443b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fa987443c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55f3e2aea000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767634==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.spvasm.expected.ir.glsl
index 38c285c..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767635==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55c22fba64d3 bp 0x7ffc60f08ac0 sp 0x7ffc60f088e0 T0)
-==1767635==The signal is caused by a READ memory access.
-==1767635==Hint: address points to the zero page.
-    #0 0x55c22fba64d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55c22fbb917c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55c22fbb8fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55c22fbb872f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55c22fba3704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55c22fba2a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55c22fba093a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55c22fb9fb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55c22fb9f02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55c22f6ebebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55c22ef07455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55c22eeefd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55c22eed7861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f5860364b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f5860364c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55c22edfc000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767635==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.wgsl.expected.ir.glsl
index a629019..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_int_uclamp/0-opt.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767636==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55d14d0c24d3 bp 0x7ffd27318440 sp 0x7ffd27318260 T0)
-==1767636==The signal is caused by a READ memory access.
-==1767636==Hint: address points to the zero page.
-    #0 0x55d14d0c24d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55d14d0d517c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55d14d0d4fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55d14d0d472f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55d14d0bf704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55d14d0bea63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55d14d0bc93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55d14d0bbb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55d14d0bb02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55d14cc07ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55d14c423455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55d14c40bd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55d14c3f3861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f44d2364b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f44d2364c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55d14c318000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767636==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.spvasm.expected.ir.glsl
index 4ab17cf..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767637==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x560523a814d3 bp 0x7fff009028a0 sp 0x7fff009026c0 T0)
-==1767637==The signal is caused by a READ memory access.
-==1767637==Hint: address points to the zero page.
-    #0 0x560523a814d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x560523a9417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x560523a93fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x560523a9372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x560523a7e704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x560523a7da63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x560523a7b93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x560523a7ab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x560523a7a02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5605235c6ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x560522de2455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x560522dcad35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x560522db2861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f3181b37b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f3181b37c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x560522cd7000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767637==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.wgsl.expected.ir.glsl
index 6a98fce..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sabs/0-opt.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767638==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x560c138fa4d3 bp 0x7ffcc652dea0 sp 0x7ffcc652dcc0 T0)
-==1767638==The signal is caused by a READ memory access.
-==1767638==Hint: address points to the zero page.
-    #0 0x560c138fa4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x560c1390d17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x560c1390cfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x560c1390c72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x560c138f7704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x560c138f6a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x560c138f493a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x560c138f3b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x560c138f302b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x560c1343febb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x560c12c5b455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x560c12c43d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x560c12c2b861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f455a643b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f455a643c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x560c12b50000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767638==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.spvasm.expected.ir.glsl
index 7e97c60..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767639==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55b51fe424d3 bp 0x7fff4eb988a0 sp 0x7fff4eb986c0 T0)
-==1767639==The signal is caused by a READ memory access.
-==1767639==Hint: address points to the zero page.
-    #0 0x55b51fe424d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55b51fe5517c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55b51fe54fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55b51fe5472f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55b51fe3f704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55b51fe3ea63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55b51fe3c93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55b51fe3bb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55b51fe3b02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55b51f987ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55b51f1a3455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55b51f18bd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55b51f173861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fa673764b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fa673764c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55b51f098000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767639==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.wgsl.expected.ir.glsl
index d7a668e..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_sclamp/0-opt.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767640==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x562b17ecd4d3 bp 0x7fffb403b200 sp 0x7fffb403b020 T0)
-==1767640==The signal is caused by a READ memory access.
-==1767640==Hint: address points to the zero page.
-    #0 0x562b17ecd4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x562b17ee017c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x562b17edffd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x562b17edf72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x562b17eca704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x562b17ec9a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x562b17ec793a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x562b17ec6b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x562b17ec602b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x562b17a12ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x562b1722e455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x562b17216d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x562b171fe861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f8aaf843b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f8aaf843c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x562b17123000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767640==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.spvasm.expected.ir.glsl
index 7e21e95..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767641==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x56164292c4d3 bp 0x7ffd605cd440 sp 0x7ffd605cd260 T0)
-==1767641==The signal is caused by a READ memory access.
-==1767641==Hint: address points to the zero page.
-    #0 0x56164292c4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x56164293f17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x56164293efd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x56164293e72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x561642929704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x561642928a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x56164292693a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x561642925b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x56164292502b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x561642471ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x561641c8d455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x561641c75d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x561641c5d861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fe758d64b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fe758d64c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x561641b82000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767641==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.wgsl.expected.ir.glsl
index 8b673de..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smax/0-opt.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767642==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55ddfb7dc4d3 bp 0x7ffc3fb24240 sp 0x7ffc3fb24060 T0)
-==1767642==The signal is caused by a READ memory access.
-==1767642==Hint: address points to the zero page.
-    #0 0x55ddfb7dc4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55ddfb7ef17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55ddfb7eefd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55ddfb7ee72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55ddfb7d9704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55ddfb7d8a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55ddfb7d693a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55ddfb7d5b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55ddfb7d502b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55ddfb321ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55ddfab3d455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55ddfab25d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55ddfab0d861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fa14af64b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fa14af64c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55ddfaa32000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767642==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.spvasm.expected.ir.glsl
index d6b1d02..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767643==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55c0c4ae84d3 bp 0x7ffc69d9ace0 sp 0x7ffc69d9ab00 T0)
-==1767643==The signal is caused by a READ memory access.
-==1767643==Hint: address points to the zero page.
-    #0 0x55c0c4ae84d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55c0c4afb17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55c0c4afafd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55c0c4afa72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55c0c4ae5704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55c0c4ae4a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55c0c4ae293a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55c0c4ae1b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55c0c4ae102b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55c0c462debb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55c0c3e49455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55c0c3e31d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55c0c3e19861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f37ae243b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f37ae243c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55c0c3d3e000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767643==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.wgsl.expected.ir.glsl
index ea748a1..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/glsl_uint_smin/0-opt.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767644==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55ffe94244d3 bp 0x7fffa2b7eaa0 sp 0x7fffa2b7e8c0 T0)
-==1767644==The signal is caused by a READ memory access.
-==1767644==Hint: address points to the zero page.
-    #0 0x55ffe94244d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55ffe943717c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55ffe9436fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55ffe943672f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55ffe9421704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55ffe9420a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55ffe941e93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55ffe941db21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55ffe941d02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55ffe8f69ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55ffe8785455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55ffe876dd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55ffe8755861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f2537616b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f2537616c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55ffe867a000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767644==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.spvasm.expected.ir.glsl
index 78ca470..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767645==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55d8d1ef24d3 bp 0x7ffcbc99a260 sp 0x7ffcbc99a080 T0)
-==1767645==The signal is caused by a READ memory access.
-==1767645==Hint: address points to the zero page.
-    #0 0x55d8d1ef24d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55d8d1f0517c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55d8d1f04fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55d8d1f0472f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55d8d1eef704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55d8d1eeea63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55d8d1eec93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55d8d1eebb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55d8d1eeb02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55d8d1a37ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55d8d1253455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55d8d123bd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55d8d1223861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fbca7243b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fbca7243c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55d8d1148000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767645==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.wgsl.expected.ir.glsl
index 1db5797..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_sdiv/0-opt.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767646==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55b0deb874d3 bp 0x7ffdeb7ed9e0 sp 0x7ffdeb7ed800 T0)
-==1767646==The signal is caused by a READ memory access.
-==1767646==Hint: address points to the zero page.
-    #0 0x55b0deb874d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55b0deb9a17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55b0deb99fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55b0deb9972f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55b0deb84704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55b0deb83a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55b0deb8193a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55b0deb80b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55b0deb8002b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55b0de6ccebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55b0ddee8455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55b0dded0d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55b0ddeb8861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fa9aa764b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fa9aa764c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55b0ddddd000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767646==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.spvasm.expected.ir.glsl
index cbd8536..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767647==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55ddfd8814d3 bp 0x7ffdac05b340 sp 0x7ffdac05b160 T0)
-==1767647==The signal is caused by a READ memory access.
-==1767647==Hint: address points to the zero page.
-    #0 0x55ddfd8814d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55ddfd89417c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55ddfd893fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55ddfd89372f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55ddfd87e704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55ddfd87da63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55ddfd87b93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55ddfd87ab21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55ddfd87a02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55ddfd3c6ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55ddfcbe2455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55ddfcbcad35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55ddfcbb2861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f04ea564b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f04ea564c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55ddfcad7000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767647==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.wgsl.expected.ir.glsl
index 03d5bb0..1ea6360 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/compute/signed_op/uint_snegate/0-opt.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767648==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55d0e0a0a4d3 bp 0x7ffe767edb20 sp 0x7ffe767ed940 T0)
-==1767648==The signal is caused by a READ memory access.
-==1767648==Hint: address points to the zero page.
-    #0 0x55d0e0a0a4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55d0e0a1d17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55d0e0a1cfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55d0e0a1c72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55d0e0a07704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55d0e0a06a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55d0e0a0493a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55d0e0a03b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55d0e0a0302b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55d0e054febb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55d0dfd6b455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55d0dfd53d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55d0dfd3b861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fa071205b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fa071205c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55d0dfc60000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:819 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Bitcast
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767648==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/float32/comparison/frexpstruct_1_frag/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/float32/comparison/frexpstruct_1_frag/0.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/float32/comparison/frexpstruct_1_frag/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/float32/comparison/frexpstruct_1_frag/0.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/float32/comparison/frexpstruct_1_frag/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/float32/comparison/frexpstruct_1_frag/0.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/float32/comparison/frexpstruct_1_frag/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/float32/comparison/frexpstruct_1_frag/0.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/0-opt.spvasm.expected.ir.glsl
index a1254f2..8982bd8 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Swizzle
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 position_1 = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec2 x_23 = position_1.xy;
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.5f, 1.0f);
+}
+main_out main(vec4 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/0-opt.wgsl.expected.ir.glsl
index 72ca17c..f6adef5 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 pos = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 x_22 = pos;
+  vec2 x_23 = vec2(x_22[0u], x_22[1u]);
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.5f, 1.0f);
+}
+main_out main(vec4 position_param) {
+  pos = position_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'main' : function cannot take any parameter(s) 
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/1.spvasm.expected.ir.glsl
index d4bb1c9..fbd8b66 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/1.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  color_out = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  tint_symbol = 0.30000001192092895508f;
+}
+main_out main() {
+  main_1();
+  return main_out(color_out, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/1.wgsl.expected.ir.glsl
index d4bb1c9..fbd8b66 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_equal/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  color_out = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  tint_symbol = 0.30000001192092895508f;
+}
+main_out main() {
+  main_1();
+  return main_out(color_out, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/0-opt.spvasm.expected.ir.glsl
index a1254f2..91b880a 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Swizzle
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 position_1 = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec2 x_23 = position_1.xy;
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.60000002384185791016f, 1.0f);
+}
+main_out main(vec4 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/0-opt.wgsl.expected.ir.glsl
index 72ca17c..aaa1d80 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 pos = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 x_22 = pos;
+  vec2 x_23 = vec2(x_22[0u], x_22[1u]);
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.60000002384185791016f, 1.0f);
+}
+main_out main(vec4 position_param) {
+  pos = position_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'main' : function cannot take any parameter(s) 
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/1.spvasm.expected.ir.glsl
index d4bb1c9..dbd2b52 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/1.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  color_out = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  tint_symbol = 0.40000000596046447754f;
+}
+main_out main() {
+  main_1();
+  return main_out(color_out, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/1.wgsl.expected.ir.glsl
index d4bb1c9..dbd2b52 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_greater/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  color_out = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  tint_symbol = 0.40000000596046447754f;
+}
+main_out main() {
+  main_1();
+  return main_out(color_out, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less/0-opt.spvasm.expected.ir.glsl
index a1254f2..519a2fb 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Swizzle
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 position_1 = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec2 x_23 = position_1.xy;
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.40000000596046447754f, 1.0f);
+}
+main_out main(vec4 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less/0-opt.wgsl.expected.ir.glsl
index 72ca17c..de7b3c6 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 pos = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 x_22 = pos;
+  vec2 x_23 = vec2(x_22[0u], x_22[1u]);
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.40000000596046447754f, 1.0f);
+}
+main_out main(vec4 position_param) {
+  pos = position_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'main' : function cannot take any parameter(s) 
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less_or_equal/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less_or_equal/1.spvasm.expected.ir.glsl
index d4bb1c9..9c8b12e 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less_or_equal/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less_or_equal/1.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  color_out = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  tint_symbol = 0.69999998807907104492f;
+}
+main_out main() {
+  main_1();
+  return main_out(color_out, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less_or_equal/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less_or_equal/1.wgsl.expected.ir.glsl
index d4bb1c9..9c8b12e 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less_or_equal/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_less_or_equal/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  color_out = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  tint_symbol = 0.69999998807907104492f;
+}
+main_out main() {
+  main_1();
+  return main_out(color_out, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/0-opt.spvasm.expected.ir.glsl
index a1254f2..41e7088 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Swizzle
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 position_1 = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec2 x_23 = position_1.xy;
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.30000001192092895508f, 1.0f);
+}
+main_out main(vec4 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/0-opt.wgsl.expected.ir.glsl
index 72ca17c..2416c18 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 pos = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 x_22 = pos;
+  vec2 x_23 = vec2(x_22[0u], x_22[1u]);
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.30000001192092895508f, 1.0f);
+}
+main_out main(vec4 position_param) {
+  pos = position_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'main' : function cannot take any parameter(s) 
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/1.spvasm.expected.ir.glsl
index d4bb1c9..5802d19 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/1.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  color_out = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  tint_symbol = 0.5f;
+}
+main_out main() {
+  main_1();
+  return main_out(color_out, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/1.wgsl.expected.ir.glsl
index d4bb1c9..5802d19 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/early_fragment/depth_not_equal/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  color_out = vec4(1.0f, 0.0f, 0.0f, 1.0f);
+  tint_symbol = 0.5f;
+}
+main_out main() {
+  main_1();
+  return main_out(color_out, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_1/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_1/0-opt.spvasm.expected.ir.glsl
index a1254f2..0d9f954 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_1/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_1/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Swizzle
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 position_1 = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec2 x_23 = position_1.xy;
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.69999998807907104492f, 1.0f);
+}
+main_out main(vec4 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_1/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_1/0-opt.wgsl.expected.ir.glsl
index 72ca17c..5397e48 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_1/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_1/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 pos = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 x_22 = pos;
+  vec2 x_23 = vec2(x_22[0u], x_22[1u]);
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.69999998807907104492f, 1.0f);
+}
+main_out main(vec4 position_param) {
+  pos = position_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'main' : function cannot take any parameter(s) 
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/0-opt.spvasm.expected.ir.glsl
index a1254f2..f40b476 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Swizzle
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 position_1 = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec2 x_23 = position_1.xy;
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.20000000298023223877f, 1.0f);
+}
+main_out main(vec4 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/0-opt.wgsl.expected.ir.glsl
index 72ca17c..e92e80b 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec4 pos = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 x_22 = pos;
+  vec2 x_23 = vec2(x_22[0u], x_22[1u]);
+  tint_symbol = vec4(x_23[0u], x_23[1u], 0.20000000298023223877f, 1.0f);
+}
+main_out main(vec4 position_param) {
+  pos = position_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:14: 'main' : function cannot take any parameter(s) 
+ERROR: 0:14: 'structure' :  entry point cannot return a value
+ERROR: 0:14: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/1.spvasm.expected.ir.glsl
index d4bb1c9..9beb67a 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/1.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.30000001192092895508f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/1.wgsl.expected.ir.glsl
index d4bb1c9..9beb67a 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthgreater_2/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.30000001192092895508f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_0/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_0/1.spvasm.expected.ir.glsl
index d4bb1c9..ae0ee66 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_0/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_0/1.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.10000000149011611938f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_0/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_0/1.wgsl.expected.ir.glsl
index d4bb1c9..ae0ee66 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_0/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_0/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.10000000149011611938f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_2/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_2/1.spvasm.expected.ir.glsl
index d4bb1c9..09a5a86 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_2/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_2/1.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.60000002384185791016f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_2/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_2/1.wgsl.expected.ir.glsl
index d4bb1c9..09a5a86 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_2/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthless_2/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.60000002384185791016f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_0/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_0/1.spvasm.expected.ir.glsl
index d4bb1c9..0e4584e 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_0/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_0/1.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_2;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+vec4 tint_symbol_1 = vec4(0.0f);
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = tint_symbol_1.z;
+}
+main_out main(vec4 tint_symbol_4) {
+  tint_symbol_1 = tint_symbol_4;
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_0/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_0/1.wgsl.expected.ir.glsl
index d4bb1c9..f74d17d 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_0/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_0/1.wgsl.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_2;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+vec4 tint_symbol_1 = vec4(0.0f);
+void main_1() {
+  outColor = vec4(0.0f);
+  float x_20 = tint_symbol_1.z;
+  tint_symbol = x_20;
+}
+main_out main(vec4 tint_symbol_4) {
+  tint_symbol_1 = tint_symbol_4;
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_2/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_2/1.spvasm.expected.ir.glsl
index d4bb1c9..0ea515f 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_2/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_2/1.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.69999998807907104492f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_2/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_2/1.wgsl.expected.ir.glsl
index d4bb1c9..0ea515f 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_2/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_2/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.69999998807907104492f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_3/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_3/1.spvasm.expected.ir.glsl
index d4bb1c9..d965cfc 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_3/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_3/1.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.40000000596046447754f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_3/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_3/1.wgsl.expected.ir.glsl
index d4bb1c9..d965cfc 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_3/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/graphics/execution_mode/depthunchanged_3/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 outColor_1;
+  float tint_symbol_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 outColor = vec4(0.0f);
+float tint_symbol = 0.0f;
+void main_1() {
+  outColor = vec4(0.0f);
+  tint_symbol = 0.40000000596046447754f;
+}
+main_out main() {
+  main_1();
+  return main_out(outColor, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/spirv1p4/hlsl_functionality1/decorate_string/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/spirv1p4/hlsl_functionality1/decorate_string/0.spvasm.expected.ir.glsl
index d4bb1c9..c2522fd 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/spirv1p4/hlsl_functionality1/decorate_string/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/spirv1p4/hlsl_functionality1/decorate_string/0.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+  uint pos_1;
+};
+
+vec4 position_1 = vec4(0.0f);
+uint pos = 0u;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol = position_1;
+  pos = 0u;
+}
+main_out main(vec4 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol, pos);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:15: 'main' : function cannot take any parameter(s) 
+ERROR: 0:15: 'structure' :  entry point cannot return a value
+ERROR: 0:15: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/spirv1p4/hlsl_functionality1/decorate_string/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/spirv1p4/hlsl_functionality1/decorate_string/0.wgsl.expected.ir.glsl
index 72ca17c..277f903 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/spirv1p4/hlsl_functionality1/decorate_string/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/spirv1p4/hlsl_functionality1/decorate_string/0.wgsl.expected.ir.glsl
@@ -1,11 +1,32 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+  uint pos_1;
+};
+
+vec4 vert_pos = vec4(0.0f);
+uint pos = 0u;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec4 x_22 = vert_pos;
+  tint_symbol = x_22;
+  pos = 0u;
+}
+main_out main(vec4 position_param) {
+  vert_pos = position_param;
+  main_1();
+  return main_out(tint_symbol, pos);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'main' : function cannot take any parameter(s) 
+ERROR: 0:16: 'structure' :  entry point cannot return a value
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_atomic/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_atomic/0-opt.spvasm.expected.ir.glsl
index d4bb1c9..2960f1c 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_atomic/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_atomic/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,33 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  int x_4_1;
+  vec4 tint_symbol;
+};
+
+vec3 x_2 = vec3(0.0f);
+int x_3 = 0;
+int x_4 = 0;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol = vec4(x_2, 1.0f);
+  x_4 = x_3;
+}
+main_out main(vec3 x_2_param, int x_3_param) {
+  x_2 = x_2_param;
+  x_3 = x_3_param;
+  main_1();
+  return main_out(x_4, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:16: 'main' : function cannot take any parameter(s) 
+ERROR: 0:16: 'structure' :  entry point cannot return a value
+ERROR: 0:16: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_atomic/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_atomic/0-opt.wgsl.expected.ir.glsl
index 72ca17c..09f13aa 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_atomic/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_atomic/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,34 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  int x_4_1;
+  vec4 tint_symbol;
+};
+
+vec3 x_2 = vec3(0.0f);
+int x_3 = 0;
+int x_4 = 0;
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec3 x_22 = x_2;
+  tint_symbol = vec4(x_22, 1.0f);
+  x_4 = x_3;
+}
+main_out main(vec3 x_2_param, int x_3_param) {
+  x_2 = x_2_param;
+  x_3 = x_3_param;
+  main_1();
+  return main_out(x_4, tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:17: 'main' : function cannot take any parameter(s) 
+ERROR: 0:17: 'structure' :  entry point cannot return a value
+ERROR: 0:17: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.spvasm.expected.ir.glsl
index 8dee2cd..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.wgsl.expected.ir.glsl
index 8dee2cd..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_image_store/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:350 internal compiler error: Switch() matched no cases. Type: tint::core::type::StorageTexture
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/2-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/2-opt.spvasm.expected.ir.glsl
index d4bb1c9..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/2-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/2-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/2-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/2-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/2-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write/2-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.spvasm.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_output_write_before_terminate/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.spvasm.expected.ir.glsl
index 35474f9..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767719==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5620e0d4f4d3 bp 0x7ffe849a7000 sp 0x7ffe849a6e20 T0)
-==1767719==The signal is caused by a READ memory access.
-==1767719==Hint: address points to the zero page.
-    #0 0x5620e0d4f4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x5620e0d6217c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x5620e0d61fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x5620e0d6172f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x5620e0d4c704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x5620e0d4ba63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x5620e0d4993a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x5620e0d48b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x5620e0d4802b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x5620e0894ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x5620e00b0455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x5620e0098d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x5620e0080861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fa66d243b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fa66d243c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x5620dffa5000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767719==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl.expected.ir.glsl
index 25d607f..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/no_ssbo_store/1.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767720==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55d8156364d3 bp 0x7ffe6bf2e400 sp 0x7ffe6bf2e220 T0)
-==1767720==The signal is caused by a READ memory access.
-==1767720==Hint: address points to the zero page.
-    #0 0x55d8156364d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x55d81564917c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x55d815648fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x55d81564872f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x55d815633704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x55d815632a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x55d81563093a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x55d81562fb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x55d81562f02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x55d81517bebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x55d814997455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x55d81497fd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x55d814967861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f1701043b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f1701043c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x55d81488c000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767720==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.spvasm.expected.ir.glsl
index 82a7120..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.spvasm.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767721==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x564938ccb4d3 bp 0x7ffc7b1b0a60 sp 0x7ffc7b1b0880 T0)
-==1767721==The signal is caused by a READ memory access.
-==1767721==Hint: address points to the zero page.
-    #0 0x564938ccb4d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x564938cde17c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x564938cddfd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x564938cdd72f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x564938cc8704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x564938cc7a63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x564938cc593a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x564938cc4b21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x564938cc402b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x564938810ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x56493802c455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x564938014d35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x564937ffc861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7fdb03764b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7fdb03764c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x564937f21000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767721==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.wgsl.expected.ir.glsl
index 1144e3e..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/ssbo_store_before_terminate/1.wgsl.expected.ir.glsl
@@ -1,31 +1,11 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16: runtime error: member call on null pointer of type 'tint::core::constant::Value'
-SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in 
-AddressSanitizer:DEADLYSIGNAL
-=================================================================
-==1767722==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x560c437734d3 bp 0x7ffd9e8eb580 sp 0x7ffd9e8eb3a0 T0)
-==1767722==The signal is caused by a READ memory access.
-==1767722==Hint: address points to the zero page.
-    #0 0x560c437734d3 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16
-    #1 0x560c4378617c in tint::glsl::writer::(anonymous namespace)::Printer::EmitZeroValue(tint::StringStream&, tint::core::type::Type const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:470:9
-    #2 0x560c43785fd1 in tint::glsl::writer::(anonymous namespace)::Printer::EmitVar(tint::StringStream&, tint::core::ir::Var const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:461:13
-    #3 0x560c4378572f in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)::operator()(tint::core::ir::Var const*) const <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:239:47
-    #4 0x560c43770704 in auto auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&)::'lambda'(auto&&)::operator()<tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)>(auto&&) const <dawn>/src/tint/utils/rtti/switch.h:347:25
-    #5 0x560c4376fa63 in auto tint::Switch<tint::detail::Infer, tint::core::ir::Instruction const, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*), tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*), tint::SwitchMustMatchCase>(tint::core::ir::Instruction const*, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Call const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Let const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Return const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Unreachable const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Var const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::NextIteration const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::ExitIf const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Access const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Bitcast const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Construct const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreBinary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::CoreUnary const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Load const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::LoadVectorElement const*)&&, tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*)::'lambda'(tint::core::ir::Swizzle const*)&&, tint::SwitchMustMatchCase&&) <dawn>/src/tint/utils/rtti/switch.h:358:22
-    #6 0x560c4376d93a in tint::glsl::writer::(anonymous namespace)::Printer::EmitBlock(tint::core::ir::Block const*) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:233:13
-    #7 0x560c4376cb21 in tint::glsl::writer::(anonymous namespace)::Printer::Generate[abi:cxx11](tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:105:9
-    #8 0x560c4376c02b in tint::glsl::writer::Print[abi:cxx11](tint::core::ir::Module&, tint::glsl::writer::Version const&) <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:596:28
-    #9 0x560c432b8ebb in tint::glsl::writer::Generate(tint::core::ir::Module&, tint::glsl::writer::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) <dawn>/src/tint/lang/glsl/writer/writer.cc:48:19
-    #10 0x560c42ad4455 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&)::$_0::operator()(tint::Program const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tint::ast::PipelineStage) const <dawn>/src/tint/cmd/tint/main.cc:1100:22
-    #11 0x560c42abcd35 in (anonymous namespace)::GenerateGlsl(tint::Program const&, (anonymous namespace)::Options const&) <dawn>/src/tint/cmd/tint/main.cc:1157:20
-    #12 0x560c42aa4861 in main <dawn>/src/tint/cmd/tint/main.cc:1434:23
-    #13 0x7f5a11337b89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
-    #14 0x7f5a11337c44 in __libc_start_main csu/../csu/libc-start.c:360:3
-    #15 0x560c429c9000 in _start (<dawn>/out/Debug/tint+0x2b08000) (BuildId: e8af56752221240d6aa5bbe38e8d6c485d94acd9)
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
+********************************************************************
+*  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.  *
+********************************************************************
 
-AddressSanitizer can not provide additional info.
-SUMMARY: AddressSanitizer: SEGV <dawn>/src/tint/lang/glsl/writer/printer/printer.cc:509:16 in tint::glsl::writer::(anonymous namespace)::Printer::EmitConstant(tint::StringStream&, tint::core::constant::Value const*)
-==1767722==ABORTING
-
-tint executable returned error: exit status 1
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.spvasm.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.wgsl.expected.ir.glsl
index 72ca17c..f297654 100644
--- a/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/spirv_assembly/instruction/terminate_invocation/terminate_loop/1.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/0.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/0.spvasm.expected.ir.glsl
index d4bb1c9..bbb2fc9 100644
--- a/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/0.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/0.spvasm.expected.ir.glsl
@@ -1,11 +1,28 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec3 position_1 = vec3(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  tint_symbol = vec4(position_1.x, position_1.y, position_1.z, 1.0f);
+}
+main_out main(vec3 position_1_param) {
+  position_1 = position_1_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:12: 'main' : function cannot take any parameter(s) 
+ERROR: 0:12: 'structure' :  entry point cannot return a value
+ERROR: 0:12: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/0.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/0.wgsl.expected.ir.glsl
index 72ca17c..174fa14 100644
--- a/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/0.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/0.wgsl.expected.ir.glsl
@@ -1,11 +1,29 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 tint_symbol;
+};
+
+vec3 pos = vec3(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  vec3 x_21 = pos;
+  tint_symbol = vec4(x_21[0u], x_21[1u], x_21[2u], 1.0f);
+}
+main_out main(vec3 position_param) {
+  pos = position_param;
+  main_1();
+  return main_out(tint_symbol);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:13: 'main' : function cannot take any parameter(s) 
+ERROR: 0:13: 'structure' :  entry point cannot return a value
+ERROR: 0:13: '' : compilation terminated 
+ERROR: 3 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/2-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/2-opt.spvasm.expected.ir.glsl
index ae9b6d0..f297654 100644
--- a/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/2-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/2-opt.spvasm.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/2-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/2-opt.wgsl.expected.ir.glsl
index 4a20bc7..f297654 100644
--- a/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/2-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/subgroup_uniform_control_flow/discard/subgroup_reconverge_discard00/2-opt.wgsl.expected.ir.glsl
@@ -1,6 +1,6 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
+<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:1116 internal compiler error: TINT_UNREACHABLE unhandled core builtin: select
 ********************************************************************
 *  The tint shader compiler has encountered an unexpected error.   *
 *                                                                  *
@@ -8,4 +8,4 @@
 *  crbug.com/tint with the source program that triggered the bug.  *
 ********************************************************************
 
-tint executable returned error: signal: illegal instruction
+tint executable returned error: signal: trace/BPT trap
diff --git a/test/tint/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.spvasm.expected.ir.glsl
index d4bb1c9..6276e93 100644
--- a/test/tint/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.spvasm.expected.ir.glsl
@@ -1,11 +1,30 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:252 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Store
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+vec4 color_in = vec4(0.0f);
+void main_1() {
+  color_out = color_in;
+}
+main_out main(vec4 color_in_param) {
+  color_in = color_in_param;
+  main_1();
+  return main_out(color_out);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.wgsl.expected.ir.glsl
index 72ca17c..68b0fea 100644
--- a/test/tint/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/texture/subgroup_lod/texel_fetch/1.wgsl.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::Load
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 color_out_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 color_out = vec4(0.0f);
+vec4 color_in = vec4(0.0f);
+void main_1() {
+  vec4 x_12 = color_in;
+  color_out = x_12;
+}
+main_out main(vec4 color_in_param) {
+  color_in = color_in_param;
+  main_1();
+  return main_out(color_out);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/texture/texel_offset/texel_offset/0-opt.spvasm.expected.ir.glsl b/test/tint/vk-gl-cts/texture/texel_offset/texel_offset/0-opt.spvasm.expected.ir.glsl
index ae9b6d0..dca8156 100644
--- a/test/tint/vk-gl-cts/texture/texel_offset/texel_offset/0-opt.spvasm.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/texture/texel_offset/texel_offset/0-opt.spvasm.expected.ir.glsl
@@ -1,11 +1,31 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::CoreBinary
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 result_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 result = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  float v = (floor(tint_symbol.x) / 255.0f);
+  result = vec4(v, (floor(tint_symbol.y) / 255.0f), 0.0f, 0.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(result);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1
diff --git a/test/tint/vk-gl-cts/texture/texel_offset/texel_offset/0-opt.wgsl.expected.ir.glsl b/test/tint/vk-gl-cts/texture/texel_offset/texel_offset/0-opt.wgsl.expected.ir.glsl
index 4a20bc7..4823336 100644
--- a/test/tint/vk-gl-cts/texture/texel_offset/texel_offset/0-opt.wgsl.expected.ir.glsl
+++ b/test/tint/vk-gl-cts/texture/texel_offset/texel_offset/0-opt.wgsl.expected.ir.glsl
@@ -1,11 +1,33 @@
 SKIP: FAILED
 
-<dawn>/src/tint/lang/glsl/writer/printer/printer.cc:482 internal compiler error: Switch() matched no cases. Type: tint::core::ir::LoadVectorElement
-********************************************************************
-*  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.  *
-********************************************************************
+#version 310 es
 
-tint executable returned error: signal: illegal instruction
+struct main_out {
+  vec4 result_1;
+};
+precision highp float;
+precision highp int;
+
+
+vec4 result = vec4(0.0f);
+vec4 tint_symbol = vec4(0.0f);
+void main_1() {
+  float x_19 = tint_symbol.x;
+  float x_23 = tint_symbol.y;
+  float v = (floor(x_19) / 255.0f);
+  result = vec4(v, (floor(x_23) / 255.0f), 0.0f, 0.0f);
+}
+main_out main(vec4 tint_symbol_2) {
+  tint_symbol = tint_symbol_2;
+  main_1();
+  return main_out(result);
+}
+error: Error parsing GLSL shader:
+ERROR: 0:4: 'float' : type requires declaration of default precision qualifier 
+ERROR: 0:4: '' : compilation terminated 
+ERROR: 2 compilation errors.  No code generated.
+
+
+
+
+tint executable returned error: exit status 1